6 references to InvalidArgument
System.Reflection.Metadata (6)
System\Reflection\Metadata\Ecma335\MetadataRootBuilder.cs (1)
66
Throw.
InvalidArgument
(SR.MetadataVersionTooLong, nameof(metadataVersion));
System\Reflection\Metadata\MetadataReader.cs (1)
93
Throw.
InvalidArgument
(SR.MetadataStringDecoderEncodingMustBeUtf8, nameof(utf8Decoder));
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (1)
119
Throw.
InvalidArgument
(SR.ExpectedNonEmptyString, nameof(pdbPath));
System\Reflection\PortableExecutable\PEReader.cs (2)
610
Throw.
InvalidArgument
(SR.Format(SR.UnexpectedDebugDirectoryType, nameof(DebugDirectoryEntryType.CodeView)), nameof(entry));
650
Throw.
InvalidArgument
(SR.Format(SR.UnexpectedDebugDirectoryType, nameof(DebugDirectoryEntryType.PdbChecksum)), nameof(entry));
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (1)
38
Throw.
InvalidArgument
(SR.Format(SR.UnexpectedDebugDirectoryType, nameof(DebugDirectoryEntryType.EmbeddedPortablePdb)), nameof(entry));