25 references to Length
BuildValidator (1)
PEReaderExtensions.cs (1)
33if (exportTableHeader.Length == 0)
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
919ReadOnlySpan<byte> actual = new ReadOnlySpan<byte>(blob.CurrentPointer, blob.Length);
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalyzerFileReference.cs (2)
297if (argsReader.Length == 4) 313if (argsReader.Length > 4)
MetadataReader\PEModule.cs (4)
1797if (blobReader.Length >= 4) 2009if (reader.Length > 4) 2107if (reader.Length > 4) 3739return ConstantValue.Create(reader.ReadUTF16(reader.Length));
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
PDB\MethodDebugInfo.Portable.cs (2)
451var builder = ImmutableArray.CreateBuilder<bool>(reader.Length * 8); 496return reader.ReadUTF8(reader.Length);
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\DocumentDebugInfoReader.cs (1)
76var sourceLinkJson = blobReader.ReadUTF8(blobReader.Length);
Microsoft.CodeAnalysis.Rebuild (2)
CompilationOptionsReader.cs (2)
129_sourceLinkUtf8 = optionsBlob.ReadBytes(optionsBlob.Length); 256return reader.ReadBytes(reader.Length);
Microsoft.CodeAnalysis.Test.Utilities (3)
Metadata\DynamicAnalysisDataReader.cs (3)
133if (reader.Length != blobHeapOffset + blobHeapSize) 287return reader.ReadBytes(reader.Length); 323builder.Append(partReader.ReadUTF8(partReader.Length));
System.Reflection.Metadata (5)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
214if (genericContextReader.Length == 0)
System\Reflection\Metadata\Internal\BlobHeap.cs (1)
208builder.Append(partReader.ReadUTF8(partReader.Length));
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
621if (sig.Length < 2 ||
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
151if (rawBlobReader.Length != 8)
System\Reflection\PortableExecutable\PEReader.cs (1)
566int entryCount = reader.Length / DebugDirectoryEntry.Size;
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
65return reader.ReadUTF16(reader.Length);
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
115return new ReadOnlySpan<byte>(br.CurrentPointer, br.Length);
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
87ReadOnlySpan<byte> actual = new ReadOnlySpan<byte>(br.CurrentPointer, br.Length);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
40if (length + sizeof(int) > blobReader.Length)