16 instantiations of NamedArgument
ILAssembler (16)
PseudoCustomAttributes.KnownAttributes.cs (16)
72
new
(name, SerializationTypeCode.Enum, SerializationTypeCode.Int32, enumName);
103
new
(DllImportEntryPoint, SerializationTypeCode.String),
104
new
(DllImportExactSpelling, SerializationTypeCode.Boolean),
105
new
(DllImportSetLastError, SerializationTypeCode.Boolean),
106
new
(DllImportPreserveSig, SerializationTypeCode.Boolean),
107
new
(DllImportBestFitMapping, SerializationTypeCode.Boolean),
108
new
(DllImportThrowOnUnmappableChar, SerializationTypeCode.Boolean),
120
new
(MarshalSafeArrayUserDefinedSubType, SerializationTypeCode.Type),
121
new
(MarshalSizeParamIndex, SerializationTypeCode.Int16),
122
new
(MarshalSizeConst, SerializationTypeCode.Int32),
123
new
(MarshalType, SerializationTypeCode.String),
124
new
(MarshalTypeRef, SerializationTypeCode.Type),
125
new
(MarshalCookie, SerializationTypeCode.String),
126
new
(MarshalIidParameterIndex, SerializationTypeCode.Int32),
131
new
(StructLayoutPack, SerializationTypeCode.Int32),
132
new
(StructLayoutSize, SerializationTypeCode.Int32),
8 references to NamedArgument
ILAssembler (8)
PseudoCustomAttributes.Decoding.cs (1)
157
NamedArgument
descriptor = known.NamedArguments[candidate];
PseudoCustomAttributes.KnownAttributes.cs (7)
61
NamedArgument
[]? NamedArgumentDescriptors = null,
65
public
NamedArgument
[] NamedArguments { get; } = NamedArgumentDescriptors ?? [];
71
private static
NamedArgument
Enum4(string name, string enumName) =>
99
private static readonly
NamedArgument
[] s_dllImportNamedArguments =
111
private static readonly
NamedArgument
[] s_methodImplNamedArguments =
116
private static readonly
NamedArgument
[] s_marshalAsNamedArguments =
129
private static readonly
NamedArgument
[] s_structLayoutNamedArguments =