111 references to ArgumentNull
System.Reflection.Metadata (111)
System\Reflection\Internal\Utilities\MemoryBlock.cs (1)
35Throw.ArgumentNull(nameof(buffer));
System\Reflection\Metadata\BlobBuilder.cs (15)
340Throw.ArgumentNull(nameof(destination)); 355Throw.ArgumentNull(nameof(destination)); 370Throw.ArgumentNull(nameof(destination)); 385Throw.ArgumentNull(nameof(prefix)); 446Throw.ArgumentNull(nameof(suffix)); 656Throw.ArgumentNull(nameof(buffer)); 698Throw.ArgumentNull(nameof(source)); 744Throw.ArgumentNull(nameof(buffer)); 757Throw.ArgumentNull(nameof(buffer)); 771Throw.ArgumentNull(nameof(buffer)); 784Throw.ArgumentNull(nameof(buffer)); 963Throw.ArgumentNull(nameof(value)); 983Throw.ArgumentNull(nameof(value)); 1048Throw.ArgumentNull(nameof(value)); 1069Throw.ArgumentNull(nameof(value));
System\Reflection\Metadata\BlobContentId.cs (4)
31Throw.ArgumentNull(nameof(id)); 41Throw.ArgumentNull(nameof(id)); 68Throw.ArgumentNull(nameof(hashCode)); 78Throw.ArgumentNull(nameof(hashCode));
System\Reflection\Metadata\BlobWriter.cs (11)
139Throw.ArgumentNull(nameof(buffer)); 161Throw.ArgumentNull(nameof(source)); 173Throw.ArgumentNull(nameof(source)); 192Throw.ArgumentNull(nameof(buffer)); 204Throw.ArgumentNull(nameof(buffer)); 217Throw.ArgumentNull(nameof(buffer)); 229Throw.ArgumentNull(nameof(buffer)); 376Throw.ArgumentNull(nameof(value)); 390Throw.ArgumentNull(nameof(value)); 445Throw.ArgumentNull(nameof(value)); 461Throw.ArgumentNull(nameof(value));
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (21)
19Throw.ArgumentNull(nameof(builder)); 133Throw.ArgumentNull(nameof(fixedArguments)); 137Throw.ArgumentNull(nameof(namedArguments)); 253Throw.ArgumentNull(nameof(returnType)); 257Throw.ArgumentNull(nameof(parameters)); 361Throw.ArgumentNull(nameof(typeName)); 366Throw.ArgumentNull(nameof(encodedArguments)); 384Throw.ArgumentNull(nameof(typeName)); 388Throw.ArgumentNull(nameof(encodedArguments)); 499Throw.ArgumentNull(nameof(arrayType)); 503Throw.ArgumentNull(nameof(vector)); 544Throw.ArgumentNull(nameof(type)); 548Throw.ArgumentNull(nameof(scalar)); 680Throw.ArgumentNull(nameof(name)); 747Throw.ArgumentNull(nameof(type)); 751Throw.ArgumentNull(nameof(name)); 755Throw.ArgumentNull(nameof(literal)); 878Throw.ArgumentNull(nameof(enumTypeName)); 1045Throw.ArgumentNull(nameof(elementType)); 1049Throw.ArgumentNull(nameof(arrayShape)); 1283Throw.ArgumentNull(nameof(sizes));
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (1)
162Throw.ArgumentNull(parameterName);
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (1)
183Throw.ArgumentNull(nameof(instructionEncoder));
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (2)
58Throw.ArgumentNull(nameof(baseReader)); 78Throw.ArgumentNull(nameof(baseHeapSizes));
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (7)
191Throw.ArgumentNull(nameof(value)); 212Throw.ArgumentNull(nameof(value)); 240Throw.ArgumentNull(nameof(value)); 276Throw.ArgumentNull(nameof(value)); 322Throw.ArgumentNull(nameof(value)); 445Throw.ArgumentNull(nameof(value)); 501Throw.ArgumentNull(nameof(value));
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (2)
397Throw.ArgumentNull(nameof(version)); 428Throw.ArgumentNull(nameof(version));
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (13)
24Throw.ArgumentNull(nameof(reader)); 44Throw.ArgumentNull(nameof(reader)); 118Throw.ArgumentNull(nameof(reader)); 199Throw.ArgumentNull(nameof(reader)); 214Throw.ArgumentNull(nameof(reader)); 247Throw.ArgumentNull(nameof(reader)); 261Throw.ArgumentNull(nameof(reader)); 275Throw.ArgumentNull(nameof(reader)); 289Throw.ArgumentNull(nameof(reader)); 313Throw.ArgumentNull(nameof(reader)); 338Throw.ArgumentNull(nameof(reader)); 363Throw.ArgumentNull(nameof(reader)); 384Throw.ArgumentNull(nameof(reader));
System\Reflection\Metadata\Ecma335\MetadataRootBuilder.cs (2)
58Throw.ArgumentNull(nameof(tablesAndHeaps)); 101Throw.ArgumentNull(nameof(builder));
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (3)
55Throw.ArgumentNull(nameof(tablesAndHeaps)); 73Throw.ArgumentNull(nameof(typeSystemRowCounts)); 129Throw.ArgumentNull(nameof(builder));
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (1)
36Throw.ArgumentNull(nameof(provider));
System\Reflection\Metadata\MetadataReader.cs (1)
86Throw.ArgumentNull(nameof(metadata));
System\Reflection\Metadata\MetadataReader.netstandard.cs (1)
61Throw.ArgumentNull(nameof(assemblyFile));
System\Reflection\Metadata\MetadataReaderProvider.cs (3)
75Throw.ArgumentNull(nameof(start)); 108Throw.ArgumentNull(nameof(image)); 167Throw.ArgumentNull(nameof(stream));
System\Reflection\Metadata\MetadataStringDecoder.cs (1)
48Throw.ArgumentNull(nameof(encoding));
System\Reflection\Metadata\PEReaderExtensions.cs (2)
28Throw.ArgumentNull(nameof(peReader)); 83Throw.ArgumentNull(nameof(peReader));
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (4)
62Throw.ArgumentNull(nameof(dataSerializer)); 108Throw.ArgumentNull(nameof(pdbPath)); 175Throw.ArgumentNull(nameof(algorithmName)); 185Throw.ArgumentNull(nameof(checksum));
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (1)
24Throw.ArgumentNull(nameof(debugMetadata));
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (5)
53Throw.ArgumentNull(nameof(header)); 57Throw.ArgumentNull(nameof(metadataRootBuilder)); 61Throw.ArgumentNull(nameof(ilStream)); 232Throw.ArgumentNull(nameof(peImage)); 236Throw.ArgumentNull(nameof(signatureProvider));
System\Reflection\PortableExecutable\PEBuilder.cs (2)
30Throw.ArgumentNull(nameof(name)); 65Throw.ArgumentNull(nameof(header));
System\Reflection\PortableExecutable\PEHeaders.cs (1)
77Throw.ArgumentNull(nameof(peStream));
System\Reflection\PortableExecutable\PEReader.cs (6)
78Throw.ArgumentNull(nameof(peImage)); 159Throw.ArgumentNull(nameof(peStream)); 234Throw.ArgumentNull(nameof(peImage)); 519Throw.ArgumentNull(nameof(sectionName)); 716Throw.ArgumentNull(nameof(peImagePath)); 720Throw.ArgumentNull(nameof(pdbFileStreamProvider));