4 references to FirstTextEncodingKind
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (1)
243
return Microsoft.CodeAnalysis.EncodingExtensions.
FirstTextEncodingKind
+ (byte)(code - TypeCode.FirstWellKnownTextEncoding);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (2)
518
Debug.Assert(kind is >= EncodingExtensions.
FirstTextEncodingKind
and <= EncodingExtensions.LastTextEncodingKind);
519
return TypeCode.FirstWellKnownTextEncoding + (byte)(kind - EncodingExtensions.
FirstTextEncodingKind
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.TypeCode.cs (1)
284
LastWellKnownTextEncoding = FirstWellKnownTextEncoding + EncodingExtensions.LastTextEncodingKind - EncodingExtensions.
FirstTextEncodingKind
,