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