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