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