32 references to ReadUInt16
BuildValidator (3)
PEReaderExtensions.cs (3)
43exportTableHeader.ReadUInt16(); 45exportTableHeader.ReadUInt16(); 72ushort ordinalIndex = ordinalTableReader.ReadUInt16();
Microsoft.CodeAnalysis (9)
MetadataReader\MetadataDecoder.cs (3)
1083return ConstantValue.Create(sigReader.ReadUInt16()); 1503return CreateTypedConstant(type, GetPrimitiveOrEnumTypedConstantKind(type), argReader.ReadUInt16()); 1639uint prolog = argsReader.ReadUInt16();
MetadataReader\PEModule.cs (6)
1316var numNamed = sig.ReadUInt16(); 1361var numNamedArgs = sigReader.ReadUInt16(); 1414var numNamed = sigReader.ReadUInt16(); 1519var numNamedArgs = sigReader.ReadUInt16(); 2150var numNamed = sig.ReadUInt16(); 3724return ConstantValue.Create(reader.ReadUInt16());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_Tuples.cs (2)
883Assert.Equal(1, argsReader.ReadUInt16()); 980Assert.Equal(1, argsReader.ReadUInt16());
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\DynamicAnalysisDataReader.cs (1)
194return smallRefSize ? reader.ReadUInt16() : reader.ReadInt32();
Metadata\MetadataReaderUtils.cs (1)
185blobReader.ReadUInt16();
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
309if (valueReader.ReadUInt16() == Prolog)
System.Reflection.Metadata (14)
System\Reflection\Metadata\BlobReader.cs (1)
674return ReadUInt16();
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (3)
52ushort prolog = valueReader.ReadUInt16(); 122int count = valueReader.ReadUInt16(); 349value = valueReader.ReadUInt16();
System\Reflection\Metadata\IL\MethodBodyBlock.cs (5)
134ushort maxStack = reader.ReadUInt16(); 169dataSize += reader.ReadUInt16() << 8; 197var kind = (ExceptionRegionKind)memReader.ReadUInt16(); 198var tryOffset = memReader.ReadUInt16(); 200var handlerOffset = memReader.ReadUInt16();
System\Reflection\Metadata\MetadataReader.cs (3)
192memReader.ReadUInt16(); 195memReader.ReadUInt16(); 238memReader.ReadUInt16();
System\Reflection\PortableExecutable\PEReader.cs (2)
578ushort majorVersion = reader.ReadUInt16(); 579ushort minorVersion = reader.ReadUInt16();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
50return reader.ReadUInt16();