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