82 references to EventFieldDeclaration
Microsoft.CodeAnalysis.CSharp (20)
Binder\BinderFactory.BinderFactoryVisitor.cs (2)
298case SyntaxKind.EventFieldDeclaration: 498case SyntaxKind.EventFieldDeclaration:
Compilation\SyntaxTreeSemanticModel.cs (5)
908case SyntaxKind.EventFieldDeclaration: 1268case SyntaxKind.EventFieldDeclaration: 1456case SyntaxKind.EventFieldDeclaration: 1584case SyntaxKind.EventFieldDeclaration: 1692case SyntaxKind.EventFieldDeclaration:
Declarations\DeclarationTreeBuilder.cs (3)
1098case SyntaxKind.EventFieldDeclaration: 1143case SyntaxKind.EventFieldDeclaration: 1232case SyntaxKind.EventFieldDeclaration:
DocumentationComments\SourceDocumentationCommentUtils.cs (1)
48if (kind == SyntaxKind.FieldDeclaration || kind == SyntaxKind.EventFieldDeclaration)
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (1)
97case SyntaxKind.EventFieldDeclaration:
Parser\LanguageParser.cs (3)
555or SyntaxKind.EventFieldDeclaration 2391case SyntaxKind.EventFieldDeclaration: 5111case SyntaxKind.EventFieldDeclaration:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
184case SyntaxKind.EventFieldDeclaration:
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2804case SyntaxKind.EventFieldDeclaration: 5064case SyntaxKind.EventFieldDeclaration:
Syntax\SyntaxExtensions.cs (1)
248case SyntaxKind.EventFieldDeclaration:
Syntax\SyntaxKindFacts.cs (1)
369case SyntaxKind.EventFieldDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (2)
45case SyntaxKind.EventFieldDeclaration: 156case SyntaxKind.EventFieldDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
298variableDeclaration.IsParentKind(SyntaxKind.EventFieldDeclaration))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
217SyntaxKind.EventFieldDeclaration)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
579or SyntaxKind.EventFieldDeclaration
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (3)
40case SyntaxKind.EventFieldDeclaration: 215case SyntaxKind.EventFieldDeclaration: 326=> node?.Parent.IsKind(SyntaxKind.EventFieldDeclaration) ?? false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
1278return node.Parent?.Parent?.Kind() is SyntaxKind.FieldDeclaration or SyntaxKind.EventFieldDeclaration; 1286case SyntaxKind.EventFieldDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
22{ SyntaxKind.EventFieldDeclaration, 5 }, 107case SyntaxKind.EventFieldDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
28if (eventDeclaration.Kind() == SyntaxKind.EventFieldDeclaration)
Microsoft.CodeAnalysis.CSharp.Features (10)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
47case SyntaxKind.EventFieldDeclaration:
Debugging\LocationInfoGetter.cs (1)
40if (memberDeclaration.Kind() is SyntaxKind.FieldDeclaration or SyntaxKind.EventFieldDeclaration)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
68case SyntaxKind.EventFieldDeclaration:
EditAndContinue\BreakpointSpans.cs (2)
269case SyntaxKind.EventFieldDeclaration: 776SyntaxKind.LocalDeclarationStatement or SyntaxKind.EventFieldDeclaration or SyntaxKind.FieldDeclaration => null,
EditAndContinue\SyntaxComparer.cs (2)
613case SyntaxKind.EventFieldDeclaration: 1439case SyntaxKind.EventFieldDeclaration:
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (1)
150case SyntaxKind.EventFieldDeclaration:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
184case SyntaxKind.EventFieldDeclaration:
Structure\Providers\EventDeclarationStructureProvider.cs (1)
39&& (!nextSibling.IsNode || nextSibling.Kind() is SyntaxKind.EventDeclaration or SyntaxKind.EventFieldDeclaration);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Parsing\AsyncParsingTests.cs (3)
1075N(SyntaxKind.EventFieldDeclaration); 1122N(SyntaxKind.EventFieldDeclaration); 1167N(SyntaxKind.EventFieldDeclaration);
Parsing\DeclarationParsingTests.cs (1)
3776Assert.Equal(SyntaxKind.EventFieldDeclaration, cs.Members[0].Kind());
Parsing\DeclarationScopeParsingTests.cs (1)
14382N(SyntaxKind.EventFieldDeclaration);
Parsing\FileModifierParsingTests.cs (2)
918N(SyntaxKind.EventFieldDeclaration); 1166N(SyntaxKind.EventFieldDeclaration);
Parsing\MemberDeclarationParsingTests.cs (3)
10987N(SyntaxKind.EventFieldDeclaration); 11161N(SyntaxKind.EventFieldDeclaration); 11738N(SyntaxKind.EventFieldDeclaration);
Microsoft.CodeAnalysis.CSharp.Workspaces (25)
CodeGeneration\CSharpSyntaxGenerator.cs (11)
539AsModifierList(accessibility, modifiers, SyntaxKind.EventFieldDeclaration), 856case SyntaxKind.EventFieldDeclaration: 1277case SyntaxKind.EventFieldDeclaration: 1327SyntaxKind.EventFieldDeclaration => ((EventFieldDeclarationSyntax)declaration).Declaration.Variables.Count, 1578case SyntaxKind.EventFieldDeclaration: 1975case SyntaxKind.EventFieldDeclaration: 2011SyntaxKind.EventFieldDeclaration => ((EventFieldDeclarationSyntax)declaration).WithDeclaration(((EventFieldDeclarationSyntax)declaration).Declaration.WithType((TypeSyntax)type)), 2073SyntaxKind.EventFieldDeclaration => ((EventFieldDeclarationSyntax)declaration).Declaration, 2082SyntaxKind.EventFieldDeclaration => ((EventFieldDeclarationSyntax)declaration).WithDeclaration(variables), 2810case SyntaxKind.EventFieldDeclaration: 2964SyntaxKind.EventFieldDeclaration => ((EventFieldDeclarationSyntax)declaration).Declaration.Variables,
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
382case SyntaxKind.EventFieldDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (2)
45case SyntaxKind.EventFieldDeclaration: 156case SyntaxKind.EventFieldDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
298variableDeclaration.IsParentKind(SyntaxKind.EventFieldDeclaration))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
217SyntaxKind.EventFieldDeclaration)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
579or SyntaxKind.EventFieldDeclaration
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (3)
40case SyntaxKind.EventFieldDeclaration: 215case SyntaxKind.EventFieldDeclaration: 326=> node?.Parent.IsKind(SyntaxKind.EventFieldDeclaration) ?? false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
1278return node.Parent?.Parent?.Kind() is SyntaxKind.FieldDeclaration or SyntaxKind.EventFieldDeclaration; 1286case SyntaxKind.EventFieldDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
22{ SyntaxKind.EventFieldDeclaration, 5 }, 107case SyntaxKind.EventFieldDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
28if (eventDeclaration.Kind() == SyntaxKind.EventFieldDeclaration)
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
345if (declaration.IsKind(SyntaxKind.FieldDeclaration) || declaration.IsKind(SyntaxKind.EventFieldDeclaration))
Microsoft.ML.InternalCodeAnalyzer (1)
NameAnalyzer.cs (1)
80context.RegisterSyntaxNodeAction(AnalyzeField, SyntaxKind.EventFieldDeclaration);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.cs (2)
190case SyntaxKind.EventFieldDeclaration: 578else if (baseFieldDeclaration.Kind() == SyntaxKind.EventFieldDeclaration)