2 instantiations of CustomAttributeEncodedArgument
System.Private.CoreLib (2)
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (2)
281
CustomAttributeEncodedArgument argument = new
CustomAttributeEncodedArgument
(attributeType);
521
=> new
CustomAttributeEncodedArgument
(type) { PrimitiveValue = value };
55 references to CustomAttributeEncodedArgument
System.Private.CoreLib (55)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (6)
267
CustomAttributeEncodedArgument
.ParseAttributeArguments(blob, m_ctorParams, m_namedParams, m_scope);
405
CustomAttributeEncodedArgument
encodedArg = m_ctorParams[i].EncodedArgument!;
526
internal CustomAttributeTypedArgument(ResolutionScope scope,
CustomAttributeEncodedArgument
encodedArg)
678
public
CustomAttributeEncodedArgument
[]? ArrayValue { get; set; }
780
public
CustomAttributeEncodedArgument
? EncodedArgument { get; set; }
788
public
CustomAttributeEncodedArgument
? EncodedArgument { get; set; }
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (49)
140
internal static object? ConvertToRuntimeValue(
CustomAttributeEncodedArgument
encodedArg)
185
private static
CustomAttributeEncodedArgument
ParseCustomAttributeValue(
206
CustomAttributeEncodedArgument
encodedArgument = parser.ParseValue(value, new CustomAttributeType(argumentType));
260
public
CustomAttributeEncodedArgument
ParseArgument(CustomAttributeType type)
271
public
CustomAttributeEncodedArgument
ParseValue(Handle value, CustomAttributeType type)
281
CustomAttributeEncodedArgument
argument = new CustomAttributeEncodedArgument(attributeType);
342
CustomAttributeEncodedArgument
argument)
377
private
CustomAttributeEncodedArgument
[] ToEncodedArguments(HandleCollection values, CustomAttributeType elementType)
379
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
388
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(BooleanCollection values, CustomAttributeType elementType)
390
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
399
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(CharCollection values, CustomAttributeType elementType)
401
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
410
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(ByteCollection values, CustomAttributeType elementType)
412
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
421
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(SByteCollection values, CustomAttributeType elementType)
423
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
432
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(Int16Collection values, CustomAttributeType elementType)
434
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
443
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(UInt16Collection values, CustomAttributeType elementType)
445
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
454
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(Int32Collection values, CustomAttributeType elementType)
456
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
465
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(UInt32Collection values, CustomAttributeType elementType)
467
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
476
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(Int64Collection values, CustomAttributeType elementType)
478
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
487
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(UInt64Collection values, CustomAttributeType elementType)
489
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
498
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(SingleCollection values, CustomAttributeType elementType)
500
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
509
private static
CustomAttributeEncodedArgument
[] ToEncodedArguments(DoubleCollection values, CustomAttributeType elementType)
511
CustomAttributeEncodedArgument
[] result = new
CustomAttributeEncodedArgument
[values.Count];
520
private static
CustomAttributeEncodedArgument
CreatePrimitiveArgument(CustomAttributeType type, PrimitiveValue value)
692
invokeArguments[index] =
CustomAttributeEncodedArgument
.ParseValue(
708
object? value =
CustomAttributeEncodedArgument
.ParseValue(reader, namedArgument.Value, type);