14 references to PublicConstructors
ILLink.RoslynAnalyzer (14)
DataFlow\DynamicallyAccessedMembersBinder.cs (1)
38
if (memberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicConstructors
)) {
src\tools\illink\src\ILLink.Shared\Annotations.cs (4)
45
if (requiredMemberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicConstructors
) &&
46
!availableMemberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicConstructors
))
47
missingMemberTypes |= DynamicallyAccessedMemberTypes.
PublicConstructors
;
63
if (memberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicConstructors
))
src\tools\illink\src\ILLink.Shared\DynamicallyAccessedMemberTypesEx.cs (1)
43
public const DynamicallyAccessedMemberTypes PublicConstructorsWithInherited = DynamicallyAccessedMemberTypes.
PublicConstructors
| (DynamicallyAccessedMemberTypes) 0x100000;
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (8)
325
IntrinsicId.Type_GetConstructors__BindingFlags => DynamicallyAccessedMemberTypes.
PublicConstructors
| DynamicallyAccessedMemberTypes.NonPublicConstructors,
331
IntrinsicId.Type_GetMembers__BindingFlags => DynamicallyAccessedMemberTypes.
PublicConstructors
| DynamicallyAccessedMemberTypes.NonPublicConstructors |
446
requiredMemberTypes = DynamicallyAccessedMemberTypes.
PublicConstructors
| DynamicallyAccessedMemberTypes.NonPublicConstructors |
1061
if (requiredMemberTypes == DynamicallyAccessedMemberTypes.
PublicConstructors
&& ctorParameterCount == 0)
1159
if (ctorParameterCount == 0 && requiredMemberTypes.HasFlag (DynamicallyAccessedMemberTypes.
PublicConstructors
)) {
1160
requiredMemberTypes &= ~DynamicallyAccessedMemberTypes.
PublicConstructors
;
1450
(HasBindingFlag (bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.
PublicConstructors
: DynamicallyAccessedMemberTypes.None) |
1452
(BindingFlagsAreUnsupported (bindingFlags) ? DynamicallyAccessedMemberTypes.
PublicConstructors
| DynamicallyAccessedMemberTypes.NonPublicConstructors : DynamicallyAccessedMemberTypes.None);