14 references to Length
BuildValidator (1)
PEReaderExtensions.cs (1)
83BlobReader nameReader = peImage.GetReader(nameOffset, peImage.Length - nameOffset);
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
182using (var stream = new ReadOnlyUnmanagedMemoryStream(_peReader, (IntPtr)block.Pointer, block.Length))
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (2)
Module.cs (2)
38length = block.Length; 50return new MetadataReader(block.Pointer, block.Length);
Microsoft.CodeAnalysis.Rebuild (1)
CompilationFactory.cs (1)
108? new UnmanagedMemoryStream(win32Resources.Pointer, win32Resources.Length)
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\DynamicAnalysisDataReader.cs (2)
176if (start >= peImage.Length - resourcesDir.Size) 182BlobReader tmpresource = peImage.GetReader(start, peImage.Length - start);
System.Reflection.Metadata (6)
System\Reflection\Metadata\PEReaderExtensions.cs (2)
32if (block.Length == 0) 87return new MetadataReader(metadata.Pointer, metadata.Length, options, utf8Decoder, memoryOwner: peReader);
System\Reflection\PortableExecutable\PEMemoryBlock.cs (4)
41return new BlobReader(Pointer, Length); 50BlobUtilities.ValidateRange(Length, start, length, nameof(length)); 59return _block?.GetContentUnchecked(_offset, Length) ?? ImmutableArray<byte>.Empty; 68BlobUtilities.ValidateRange(Length, start, length, nameof(length));
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
35BlobReader blobReader = resourceDirectory.GetReader((int)resource.Offset, resourceDirectory.Length - (int)resource.Offset);