20 references to AttributeableParentTargets
ILLink.CodeFixProvider (20)
BaseAttributeCodeFixProvider.cs (8)
25
private protected abstract
AttributeableParentTargets
AttributableParentTargets { get; }
93
private static CSharpSyntaxNode? FindAttributableParent(SyntaxNode node,
AttributeableParentTargets
targets)
103
case PropertyDeclarationSyntax when targets.HasFlag(
AttributeableParentTargets
.Property):
104
case EventDeclarationSyntax when targets.HasFlag(
AttributeableParentTargets
.Event):
111
if (targets.HasFlag(
AttributeableParentTargets
.MethodOrConstructor))
116
case LocalFunctionStatementSyntax or BaseMethodDeclarationSyntax or AccessorDeclarationSyntax when targets.HasFlag(
AttributeableParentTargets
.MethodOrConstructor):
117
case FieldDeclarationSyntax when targets.HasFlag(
AttributeableParentTargets
.Field):
118
case ClassDeclarationSyntax when targets.HasFlag(
AttributeableParentTargets
.Class):
RequiresAssemblyFilesCodeFixProvider.cs (4)
31
private protected override
AttributeableParentTargets
AttributableParentTargets =>
AttributeableParentTargets
.MethodOrConstructor |
AttributeableParentTargets
.Property |
AttributeableParentTargets
.Event;
RequiresDynamicCodeCodeFixProvider.cs (3)
28
private protected override
AttributeableParentTargets
AttributableParentTargets =>
AttributeableParentTargets
.MethodOrConstructor |
AttributeableParentTargets
.Class;
RequiresUnreferencedCodeCodeFixProvider.cs (3)
28
private protected override
AttributeableParentTargets
AttributableParentTargets =>
AttributeableParentTargets
.MethodOrConstructor |
AttributeableParentTargets
.Class;
UnconditionalSuppressMessageCodeFixProvider.cs (2)
36
private protected override
AttributeableParentTargets
AttributableParentTargets =>
AttributeableParentTargets
.All;