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)
101
case PropertyDeclarationSyntax when targets.HasFlag (
AttributeableParentTargets
.Property):
102
case EventDeclarationSyntax when targets.HasFlag (
AttributeableParentTargets
.Event):
109
if (targets.HasFlag (
AttributeableParentTargets
.MethodOrConstructor))
114
case LocalFunctionStatementSyntax or BaseMethodDeclarationSyntax or AccessorDeclarationSyntax when targets.HasFlag (
AttributeableParentTargets
.MethodOrConstructor):
115
case FieldDeclarationSyntax when targets.HasFlag (
AttributeableParentTargets
.Field):
116
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;