24 references to ReadByte
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Serialization\CSharpOptionsSerializationService.cs (1)
56var nullableContextOptions = (NullableContextOptions)reader.ReadByte();
Microsoft.CodeAnalysis.Remote.Workspaces (1)
RemoteHostAssetReader.cs (1)
88var kind = (WellKnownSynchronizationKind)objectReader.ReadByte();
Microsoft.CodeAnalysis.Workspaces (19)
Serialization\AbstractOptionsSerializationService.cs (1)
155var metadataImportOptions = (MetadataImportOptions)reader.ReadByte();
Shared\Utilities\BloomFilter_Serialization.cs (1)
77bytes[i] = reader.ReadByte();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (15)
112var b = this.ReadByte(); 116b = this.ReadByte(); 157var code = (TypeCode)ReadByte(); 164case TypeCode.UInt8: return ReadByte(); 168case TypeCode.Int32_1Byte: return (int)ReadByte(); 183case TypeCode.UInt32_1Byte: return (uint)ReadByte(); 221var code = (TypeCode)ReadByte(); 279var info = ReadByte(); 290var byte1 = ReadByte(); 296var byte1 = ReadByte(); 297var byte2 = ReadByte(); 298var byte3 = ReadByte(); 308var kind = (TypeCode)ReadByte(); 316TypeCode.StringRef_1Byte => _stringReferenceMap.GetValue(ReadByte()), 347=> (TypeCode)ReadByte() switch
Workspace\Solution\DocumentInfo.cs (1)
250var sourceCodeKind = (SourceCodeKind)reader.ReadByte();
Workspace\Solution\ProjectInfo.cs (1)
643var checksumAlgorithm = (SourceHashAlgorithm)reader.ReadByte();
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
ObjectSerializationTests.cs (3)
433Assert.Equal(Byte.MaxValue, reader.ReadByte()); 696Assert.Equal(1, reader.ReadByte()); 697Assert.Equal(2, reader.ReadByte());