63 references to ReadByte
BuildValidator (1)
PEReaderExtensions.cs (1)
85for (byte ascii; (ascii = nameReader.ReadByte()) != 0;)
Microsoft.CodeAnalysis (18)
DiagnosticAnalyzer\AnalyzerFileReference.cs (2)
316if (argsReader.ReadByte() == 1 && argsReader.ReadByte() == 0)
Emit\EditAndContinueMethodDebugInformation.cs (1)
111byte b = blobReader.ReadByte();
MetadataReader\MetadataDecoder.cs (4)
887signatureReader.ReadByte(); 1075return ConstantValue.Create(sigReader.ReadByte()); 1114if (sigReader.ReadByte() != 0xff) 1497return CreateTypedConstant(type, GetPrimitiveOrEnumTypedConstantKind(type), argReader.ReadByte());
MetadataReader\PEModule.cs (11)
2012if (reader.ReadByte() == 1 && reader.ReadByte() == 0) 2239return sig.RemainingBytes >= 1 && sig.ReadByte() == 0xFF; 2347value = sig.ReadByte(); 2431boolArrayBuilder.Add(sig.ReadByte() == 1); 2460byteArrayBuilder.Add(sig.ReadByte()); 2933sig.ReadByte() == targetSignature[0] && 2934sig.ReadByte() == targetSignature[1] && 2935sig.ReadByte() == targetSignature[2]) 3647byte firstByte = MetadataReader.GetBlobReader(blob).ReadByte(); 3721return ConstantValue.Create(reader.ReadByte());
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
PDB\MethodDebugInfo.Portable.cs (2)
254var b = reader.ReadByte(); 455int b = reader.ReadByte();
Microsoft.CodeAnalysis.Features (2)
PdbSourceDocument\DocumentDebugInfoReader.cs (2)
124blobReader.ReadByte(); 132blobReader.ReadByte();
Microsoft.CodeAnalysis.Rebuild (2)
CompilationOptionsReader.cs (1)
378var embedInteropTypesAndKind = blobReader.ReadByte();
Extensions.cs (1)
17var b = blobReader.ReadByte();
Microsoft.CodeAnalysis.Test.Utilities (12)
Metadata\DynamicAnalysisDataReader.cs (7)
78if (reader.ReadByte() != 'D' || reader.ReadByte() != 'A' || reader.ReadByte() != 'M' || reader.ReadByte() != 'D') 84byte major = reader.ReadByte(); 85byte minor = reader.ReadByte(); 304int separator = blobReader.ReadByte();
Metadata\MetadataReaderUtils.cs (1)
198return ReadArray(reader, blobHandle, (ref BlobReader blobReader) => blobReader.ReadByte());
PDB\DeterministicBuildCompilationTestHelpers.cs (4)
121blobReader.ReadByte(); 128blobReader.ReadByte(); 130var embedInteropTypesAndKind = blobReader.ReadByte(); 169blobReader.ReadByte();
System.Reflection.Metadata (24)
System\Reflection\Metadata\BlobReader.cs (4)
226return ReadByte() != 0; 370return new SignatureHeader(ReadByte()); 594if (ReadByte() != 0xFF) 671return ReadByte();
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
317value = valueReader.ReadByte();
System\Reflection\Metadata\IL\MethodBodyBlock.cs (6)
100byte headByte = reader.ReadByte(); 125byte headByte2 = reader.ReadByte(); 159byte sehHeader = reader.ReadByte(); 166int dataSize = reader.ReadByte(); 199var tryLength = memReader.ReadByte(); 201var handlerLength = memReader.ReadByte();
System\Reflection\Metadata\Internal\BlobHeap.cs (2)
190int separator = blobReader.ReadByte(); 220int separator = blobReader.ReadByte();
System\Reflection\Metadata\MetadataReader.cs (4)
443reader.ReadByte(); 446reader.ReadByte(); 449heapSizes = (HeapSizes)reader.ReadByte(); 452reader.ReadByte();
System\Reflection\Metadata\MetadataReader.WinMD.cs (2)
622sig.ReadByte() != (byte)CorElementType.ELEMENT_TYPE_GENERICINST || 623sig.ReadByte() != (byte)CorElementType.ELEMENT_TYPE_CLASS)
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
55var kind = (ImportDefinitionKind)_reader.ReadByte();
System\Reflection\PortableExecutable\PEReader.cs (4)
624if (reader.ReadByte() != (byte)'R' || 625reader.ReadByte() != (byte)'S' || 626reader.ReadByte() != (byte)'D' || 627reader.ReadByte() != (byte)'S')
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
182UnmanagedType unmgdType = (UnmanagedType)br.ReadByte();
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
47return reader.ReadByte();