10 references to MetadataPointer
BuildValidator (4)
CompilationDiff.cs (4)
331
writeAllBytes(pdbFilePath, new Span<byte>(buildInfo.PdbMetadataReader.
MetadataPointer
, buildInfo.PdbMetadataReader.MetadataLength));
348
pdbStream: new UnmanagedMemoryStream(buildInfo.PdbMetadataReader.
MetadataPointer
, buildInfo.PdbMetadataReader.MetadataLength),
439
var originalPdbSpan = new Span<byte>(originalInfo.PdbMetadataReader.
MetadataPointer
, originalInfo.PdbMetadataReader.MetadataLength);
440
var rebuildPdbSpan = new Span<byte>(rebuildInfo.PdbMetadataReader.
MetadataPointer
, rebuildInfo.PdbMetadataReader.MetadataLength);
Microsoft.CodeAnalysis.Features (2)
Debugging\DebugInformationReaderProvider.cs (1)
54
using var metadataStream = new UnmanagedMemoryStream(reader.
MetadataPointer
, reader.MetadataLength);
EditAndContinue\DebuggingSession.cs (1)
365
var moduleMetadata = ModuleMetadata.CreateFromMetadata((IntPtr)metadataReader.
MetadataPointer
, metadataReader.MetadataLength);
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
RoundTripUtil.cs (2)
119
rebuildPdbBytes = new ReadOnlySpan<byte>(rebuildPdbReader.
MetadataPointer
, rebuildPdbReader.MetadataLength).ToArray().ToImmutableArray();
145
var pdbSpan = new ReadOnlySpan<byte>(originalPdbReader!.
MetadataPointer
, originalPdbReader.MetadataLength);
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\IRuntimeEnvironment.cs (1)
75
Marshal.Copy((IntPtr)mdReader.
MetadataPointer
, bytes, 0, length);
Microsoft.CodeAnalysis.Workspaces (1)
Serialization\SerializerService_Reference.cs (1)
482
writer.WriteSpan(new ReadOnlySpan<byte>(reader.
MetadataPointer
, reader.MetadataLength));