1 instantiation of FieldValue
illink (1)
Linker.Dataflow\FlowAnnotations.cs (1)
759
_ => new
FieldValue
(field, GetFieldAnnotation (field), _context)
19 references to FieldValue
illink (19)
Linker.Dataflow\MethodBodyScanner.cs (5)
869
when GetFieldValue (fieldReference.Field).AsSingleValue () is
FieldValue
fieldValue:
880
case
FieldValue
fieldValue:
931
protected virtual void HandleStoreField (MethodDefinition method,
FieldValue
field, Instruction operation, MultiValue valueToStore, int? parameterIndex)
965
if (value is not
FieldValue
fieldValue)
1037
case
FieldValue
fieldValue:
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
106
protected override void HandleStoreField (MethodDefinition method,
FieldValue
field, Instruction operation, MultiValue valueToStore, int? parameterIndex)
src\tools\illink\src\ILLink.Shared\Annotations.cs (12)
94
NullableValueWithDynamicallyAccessedMembers { UnderlyingTypeValue:
FieldValue
or MethodReturnValue } nullable => nullable.UnderlyingTypeValue,
101
(MethodParameterValue maybeThis,
FieldValue
) when maybeThis.IsThisParameter () => DiagnosticId.DynamicallyAccessedMembersMismatchThisParameterTargetsField,
106
(MethodParameterValue,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchParameterTargetsField,
111
(MethodReturnValue,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchMethodReturnTypeTargetsField,
113
(
FieldValue
, MethodParameterValue maybeThis) when maybeThis.IsThisParameter () => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsThisParameter,
114
(
FieldValue
, MethodParameterValue) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsParameter,
115
(
FieldValue
, MethodReturnValue) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsMethodReturnType,
116
(
FieldValue
,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsField,
117
(
FieldValue
, GenericParameterValue) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsGenericParameter,
121
(GenericParameterValue,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchTypeArgumentTargetsField,
126
(NullableValueWithDynamicallyAccessedMembers,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchTypeArgumentTargetsField,
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
62
FieldValue
=> DiagnosticId.FieldValueCannotBeStaticallyDetermined,