2 instantiations of CustomAttributeEncodedArgument
System.Private.CoreLib (2)
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (2)
190
CustomAttributeEncodedArgument argument = new
CustomAttributeEncodedArgument
(attributeType);
430
=> new
CustomAttributeEncodedArgument
(type) { PrimitiveValue = value };
53 references to CustomAttributeEncodedArgument
System.Private.CoreLib (53)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (6)
304
CustomAttributeEncodedArgument
.ParseAttributeArguments(blob, m_ctorParams, m_namedParams, m_scope);
442
CustomAttributeEncodedArgument
encodedArg = m_ctorParams[i].EncodedArgument!;
563
internal CustomAttributeTypedArgument(ResolutionScope scope,
CustomAttributeEncodedArgument
encodedArg)
715
public
CustomAttributeEncodedArgument
[]? ArrayValue { get; set; }
856
public
CustomAttributeEncodedArgument
? EncodedArgument { get; set; }
864
public
CustomAttributeEncodedArgument
? EncodedArgument { get; set; }
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (47)
103
internal static object? ConvertToRuntimeValue(
CustomAttributeEncodedArgument
encodedArg)
153
CustomAttributeEncodedArgument
encodedArgument = parser.ParseValue(value, new CustomAttributeType(argumentType));
180
public
CustomAttributeEncodedArgument
ParseValue(Handle value, CustomAttributeType type)
190
CustomAttributeEncodedArgument
argument = new CustomAttributeEncodedArgument(attributeType);
251
CustomAttributeEncodedArgument
argument)
286
private
CustomAttributeEncodedArgument
[] ToEncodedArguments(HandleCollection values, CustomAttributeType elementType)
288
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
297
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(BooleanCollection values, CustomAttributeType elementType)
299
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
308
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(CharCollection values, CustomAttributeType elementType)
310
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
319
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(ByteCollection values, CustomAttributeType elementType)
321
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
330
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(SByteCollection values, CustomAttributeType elementType)
332
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
341
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(Int16Collection values, CustomAttributeType elementType)
343
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
352
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(UInt16Collection values, CustomAttributeType elementType)
354
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
363
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(Int32Collection values, CustomAttributeType elementType)
365
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
374
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(UInt32Collection values, CustomAttributeType elementType)
376
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
385
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(Int64Collection values, CustomAttributeType elementType)
387
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
396
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(UInt64Collection values, CustomAttributeType elementType)
398
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
407
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(SingleCollection values, CustomAttributeType elementType)
409
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
418
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(DoubleCollection values, CustomAttributeType elementType)
420
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
429
private static
CustomAttributeEncodedArgument
CreatePrimitiveArgument(CustomAttributeType type, PrimitiveValue value)
601
invokeArguments[index] =
CustomAttributeEncodedArgument
.ParseValue(
617
object? value =
CustomAttributeEncodedArgument
.ParseValue(reader, namedArgument.Value, type);