1 write to Value
System.Reflection.Metadata (1)
System\Reflection\Metadata\Signatures\CustomAttributeNamedArgument.cs (1)
18
Value
= value;
26 references to Value
ILCompiler.Compiler (12)
Compiler\Dataflow\AttributeDataFlow.cs (2)
77
ProcessAttributeDataflow(field, namedArgument.
Value
, ref result);
89
ProcessAttributeDataflow(setter, ImmutableArray.Create(namedArgument.
Value
), ref result);
Compiler\Dataflow\DiagnosticUtilities.cs (2)
83
return (string)attribute.NamedArguments[0].
Value
;
194
namedArgument.
Value
is bool excludeStatics &&
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
186
if (!AddDependenciesFromCustomAttributeArgument(dependencies, factory, decodedArgument.Type, decodedArgument.
Value
))
Compiler\Logging\UnconditionalSuppressMessageAttributeState.cs (3)
202
case ScopeProperty when p.
Value
is string scope:
205
case TargetProperty when p.
Value
is string target:
208
case MessageIdProperty when p.
Value
is string messageId:
src\runtime\src\coreclr\tools\Common\Compiler\MethodExtensions.cs (3)
57
return (string)argument.
Value
;
74
return (string)argument.
Value
;
91
return (TypeDesc)argument.
Value
;
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
164
callConvArray = (ImmutableArray<CustomAttributeTypedArgument<TypeDesc>>)arg.
Value
;
ILCompiler.ReadyToRun (4)
src\runtime\src\coreclr\tools\Common\Compiler\MethodExtensions.cs (3)
57
return (string)argument.
Value
;
74
return (string)argument.
Value
;
91
return (TypeDesc)argument.
Value
;
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
164
callConvArray = (ImmutableArray<CustomAttributeTypedArgument<TypeDesc>>)arg.
Value
;
ILCompiler.TypeSystem (9)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (2)
547
if (!(namedArg.
Value
is bool))
549
if ((bool)namedArg.
Value
)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs (2)
815
if (!(arg.
Value
is bool))
817
_isWrapNonExceptionThrows = (bool)arg.
Value
;
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (4)
260
flags.CharSet = (CharSet)namedArgument.
Value
;
264
flags.BestFitMapping = (bool)namedArgument.
Value
;
268
flags.SetLastError = (bool)namedArgument.
Value
;
272
flags.ThrowOnUnmappableChar = (bool)namedArgument.
Value
;
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
192
nameMaybe = (string)argument.
Value
;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
170
return new CustomAttributeNamedArgument(member!, ToApiForm(cang.Type, cang.
Value
));