1 instantiation of FieldValue
illink (1)
Linker.Dataflow\FlowAnnotations.cs (1)
759
_ => new
FieldValue
(field, GetFieldAnnotation (field), _context)
18 references to FieldValue
illink (18)
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 (11)
92
(MethodParameterValue maybeThis,
FieldValue
) when maybeThis.IsThisParameter () => DiagnosticId.DynamicallyAccessedMembersMismatchThisParameterTargetsField,
97
(MethodParameterValue,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchParameterTargetsField,
102
(MethodReturnValue,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchMethodReturnTypeTargetsField,
104
(
FieldValue
, MethodParameterValue maybeThis) when maybeThis.IsThisParameter () => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsThisParameter,
105
(
FieldValue
, MethodParameterValue) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsParameter,
106
(
FieldValue
, MethodReturnValue) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsMethodReturnType,
107
(
FieldValue
,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsField,
108
(
FieldValue
, GenericParameterValue) => DiagnosticId.DynamicallyAccessedMembersMismatchFieldTargetsGenericParameter,
112
(GenericParameterValue,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchTypeArgumentTargetsField,
117
(NullableValueWithDynamicallyAccessedMembers,
FieldValue
) => DiagnosticId.DynamicallyAccessedMembersMismatchTypeArgumentTargetsField,
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
62
FieldValue
=> DiagnosticId.FieldValueCannotBeStaticallyDetermined,