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