13 references to PortablePdbVersions
System.Reflection.Metadata (13)
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (2)
15
public string MetadataVersion =>
PortablePdbVersions
.DefaultMetadataVersion;
16
public ushort FormatVersion =>
PortablePdbVersions
.DefaultFormatVersion;
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (2)
122
if (portablePdbVersion > 0 && portablePdbVersion <
PortablePdbVersions
.MinFormatVersion)
131
version: (portablePdbVersion == 0) ? 0 :
PortablePdbVersions
.DebugDirectoryEntryVersion(portablePdbVersion),
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (3)
27
if (portablePdbVersion <
PortablePdbVersions
.MinFormatVersion)
36
version:
PortablePdbVersions
.DebugDirectoryEmbeddedVersion(portablePdbVersion),
46
builder.WriteUInt32(
PortablePdbVersions
.DebugDirectoryEmbeddedSignature);
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryEntry.cs (1)
65
public bool IsPortableCodeView => MinorVersion ==
PortablePdbVersions
.PortableCodeViewVersionMagic;
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (5)
56
if (formatVersion <
PortablePdbVersions
.MinFormatVersion)
58
throw new BadImageFormatException(SR.Format(SR.UnsupportedFormatVersion,
PortablePdbVersions
.Format(formatVersion)));
62
if (embeddedBlobVersion !=
PortablePdbVersions
.DefaultEmbeddedVersion)
64
throw new BadImageFormatException(SR.Format(SR.UnsupportedFormatVersion,
PortablePdbVersions
.Format(embeddedBlobVersion)));
74
if (headerReader.ReadUInt32() !=
PortablePdbVersions
.DebugDirectoryEmbeddedSignature)