14 references to PublicFields
ILLink.RoslynAnalyzer (14)
DataFlow\DynamicallyAccessedMembersBinder.cs (1)
66
if (memberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicFields
)) {
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (10)
328
IntrinsicId.Type_GetFields__BindingFlags => DynamicallyAccessedMemberTypes.
PublicFields
| DynamicallyAccessedMemberTypes.NonPublicFields,
333
DynamicallyAccessedMemberTypes.
PublicFields
| DynamicallyAccessedMemberTypes.NonPublicFields |
448
DynamicallyAccessedMemberTypes.
PublicFields
| DynamicallyAccessedMemberTypes.NonPublicFields |
536
DynamicallyAccessedMemberTypes.
PublicFields
| DynamicallyAccessedMemberTypesEx.NonPublicFieldsWithInherited |
610
IntrinsicId.RuntimeReflectionExtensions_GetRuntimeField => DynamicallyAccessedMemberTypes.
PublicFields
,
716
: DynamicallyAccessedMemberTypes.
PublicFields
| DynamicallyAccessedMemberTypes.NonPublicFields;
971
if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicFields
))
972
propagatedMemberTypes |= DynamicallyAccessedMemberTypes.
PublicFields
;
1460
(HasBindingFlag (bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.
PublicFields
: DynamicallyAccessedMemberTypes.None) |
1462
(BindingFlagsAreUnsupported (bindingFlags) ? DynamicallyAccessedMemberTypes.
PublicFields
| DynamicallyAccessedMemberTypes.NonPublicFields : DynamicallyAccessedMemberTypes.None);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
31
} else if (targetValue.DynamicallyAccessedMemberTypes == DynamicallyAccessedMemberTypes.
PublicFields
TrimAnalysis\HandleCallAction.cs (2)
96
annotation = DynamicallyAccessedMemberTypes.
PublicFields
;
124
AddReturnValue (FlowAnnotations.Instance.GetMethodReturnValue (calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.
PublicFields
));