1 instantiation of CustomAttributeTypedArgument
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
377return new CustomAttributeTypedArgument<TType>(info.Type, value);
27 references to CustomAttributeTypedArgument
ILCompiler.Compiler (9)
Compiler\Dataflow\AttributeDataFlow.cs (1)
58foreach (var argument in arguments.FixedArguments)
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (3)
164foreach (CustomAttributeTypedArgument<TypeDesc> decodedArgument in value.FixedArguments) 278foreach (CustomAttributeTypedArgument<TypeDesc> arrayElement in (ImmutableArray<CustomAttributeTypedArgument<TypeDesc>>)value)
Compiler\SubstitutionProvider.cs (2)
63if (featureSwitchDefinitionAttribute.FixedArguments is not [CustomAttributeTypedArgument<TypeDesc> { Value: string switchName }]) 73if (featureGuardAttribute.FixedArguments is not [CustomAttributeTypedArgument<TypeDesc> { Value: EcmaType featureType }])
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (3)
159ImmutableArray<CustomAttributeTypedArgument<TypeDesc>> callConvArray = default; 164callConvArray = (ImmutableArray<CustomAttributeTypedArgument<TypeDesc>>)arg.Value; 172foreach (CustomAttributeTypedArgument<TypeDesc> type in callConvArray)
ILCompiler.ReadyToRun (3)
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (3)
159ImmutableArray<CustomAttributeTypedArgument<TypeDesc>> callConvArray = default; 164callConvArray = (ImmutableArray<CustomAttributeTypedArgument<TypeDesc>>)arg.Value; 172foreach (CustomAttributeTypedArgument<TypeDesc> type in callConvArray)
System.Reflection.Metadata (11)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (9)
97ImmutableArray<CustomAttributeTypedArgument<TType>> fixedArguments = DecodeFixedArguments(ref signatureReader, ref valueReader, parameterCount, genericContextReader); 102private ImmutableArray<CustomAttributeTypedArgument<TType>> DecodeFixedArguments(ref BlobReader signatureReader, ref BlobReader valueReader, int count, BlobReader genericContextReader) 106return ImmutableArray<CustomAttributeTypedArgument<TType>>.Empty; 109var arguments = ImmutableArray.CreateBuilder<CustomAttributeTypedArgument<TType>>(count); 139CustomAttributeTypedArgument<TType> argument = DecodeArgument(ref valueReader, info); 300private CustomAttributeTypedArgument<TType> DecodeArgument(ref BlobReader valueReader, ArgumentTypeInfo info) 380private ImmutableArray<CustomAttributeTypedArgument<TType>>? DecodeArrayArgument(ref BlobReader blobReader, ArgumentTypeInfo info) 390return ImmutableArray<CustomAttributeTypedArgument<TType>>.Empty; 404var array = ImmutableArray.CreateBuilder<CustomAttributeTypedArgument<TType>>(count);
System\Reflection\Metadata\Signatures\CustomAttributeValue.cs (2)
10public ImmutableArray<CustomAttributeTypedArgument<TType>> FixedArguments { get; } 13public CustomAttributeValue(ImmutableArray<CustomAttributeTypedArgument<TType>> fixedArguments, ImmutableArray<CustomAttributeNamedArgument<TType>> namedArguments)
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (1)
16private IList<CustomAttributeTypedArgument<RoType>>? _lazyFixedArguments;
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (3)
106public static IList<CustomAttributeTypedArgument> ToApiForm(this IList<CustomAttributeTypedArgument<RoType>> catgs) 121public static CustomAttributeTypedArgument ToApiForm(this CustomAttributeTypedArgument<RoType> catg) => ToApiForm(catg.Type, catg.Value); 125if (!(value is IList<CustomAttributeTypedArgument<RoType>> catgs))