84 references to DelegateDeclaration
Microsoft.CodeAnalysis.CSharp (21)
_generated\1\Syntax.xml.Internal.Generated.cs (2)
32285return new DelegateDeclarationSyntax(SyntaxKind.DelegateDeclaration, attributeLists.Node, modifiers.Node, delegateKeyword, returnType, identifier, typeParameterList, parameterList, constraintClauses.Node, semicolonToken, this.context); 37712return new DelegateDeclarationSyntax(SyntaxKind.DelegateDeclaration, attributeLists.Node, modifiers.Node, delegateKeyword, returnType, identifier, typeParameterList, parameterList, constraintClauses.Node, semicolonToken);
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
11345/// <item><description><see cref="SyntaxKind.DelegateDeclaration"/></description></item>
Binder\BinderFactory.BinderFactoryVisitor.cs (2)
1317else if (memberKind == SyntaxKind.DelegateDeclaration) 1373else if (memberSyntax.Kind() == SyntaxKind.DelegateDeclaration)
Compilation\SyntaxTreeSemanticModel.cs (1)
1677case SyntaxKind.DelegateDeclaration:
Declarations\DeclarationKind.cs (1)
45case SyntaxKind.DelegateDeclaration: return DeclarationKind.Delegate;
Declarations\DeclarationTreeBuilder.cs (1)
1145case SyntaxKind.DelegateDeclaration:
Declarations\MergedTypeDeclaration.cs (1)
87case SyntaxKind.DelegateDeclaration:
Parser\LanguageParser.cs (3)
804case SyntaxKind.DelegateDeclaration: 2538case SyntaxKind.DelegateDeclaration: 5465case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
170case SyntaxKind.DelegateDeclaration:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4048case SyntaxKind.DelegateDeclaration:
Symbols\Source\SourceNamedTypeSymbol.cs (4)
120case SyntaxKind.DelegateDeclaration: 175case SyntaxKind.DelegateDeclaration: 187bool isInterfaceOrDelegate = typeKind == SyntaxKind.InterfaceDeclaration || typeKind == SyntaxKind.DelegateDeclaration; 486case SyntaxKind.DelegateDeclaration:
Syntax\SyntaxExtensions.cs (1)
246case SyntaxKind.DelegateDeclaration:
Syntax\SyntaxFacts.cs (1)
181case DelegateDeclaration:
Syntax\SyntaxKindFacts.cs (1)
384case SyntaxKind.DelegateDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
62SyntaxKind.DelegateDeclaration or
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (5)
44case SyntaxKind.DelegateDeclaration: 87case SyntaxKind.DelegateDeclaration: 115case SyntaxKind.DelegateDeclaration: 135case SyntaxKind.DelegateDeclaration: 159case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
252is SyntaxKind.DelegateDeclaration 276is SyntaxKind.DelegateDeclaration
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
30case SyntaxKind.DelegateDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
786case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
33{ SyntaxKind.DelegateDeclaration, 16 } 103case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1179token.Parent.IsKind(SyntaxKind.DelegateDeclaration))
Microsoft.CodeAnalysis.CSharp.Features (16)
ChangeSignature\CSharpChangeSignatureService.cs (5)
46SyntaxKind.DelegateDeclaration, 77SyntaxKind.DelegateDeclaration, 97SyntaxKind.DelegateDeclaration, 279case SyntaxKind.DelegateDeclaration: 304or SyntaxKind.DelegateDeclaration
Completion\KeywordRecommenders\NamespaceKeywordRecommender.cs (1)
139if (token.Parent.IsKind(SyntaxKind.DelegateDeclaration) &&
Diagnostics\Analyzers\CSharpSimplifyTypeNamesDiagnosticAnalyzer.cs (1)
47SyntaxKind.DelegateDeclaration or
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (2)
46case SyntaxKind.DelegateDeclaration: 133SyntaxKind.DelegateDeclaration or
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1658case SyntaxKind.DelegateDeclaration: 2038case SyntaxKind.DelegateDeclaration:
EditAndContinue\SyntaxComparer.cs (2)
611case SyntaxKind.DelegateDeclaration: 1444case SyntaxKind.DelegateDeclaration:
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (1)
172case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
62SyntaxKind.DelegateDeclaration or
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
170case SyntaxKind.DelegateDeclaration:
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
142case SyntaxKind.DelegateDeclaration: 932AsModifierList(accessibility, modifiers, SyntaxKind.DelegateDeclaration), 1052case SyntaxKind.DelegateDeclaration: 1550case SyntaxKind.DelegateDeclaration: 1895case SyntaxKind.DelegateDeclaration: 2111case SyntaxKind.DelegateDeclaration: 2152SyntaxKind.DelegateDeclaration => ((DelegateDeclarationSyntax)declaration).WithReturnType((TypeSyntax)type), 2372case SyntaxKind.DelegateDeclaration:
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
287case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (5)
44case SyntaxKind.DelegateDeclaration: 87case SyntaxKind.DelegateDeclaration: 115case SyntaxKind.DelegateDeclaration: 135case SyntaxKind.DelegateDeclaration: 159case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
252is SyntaxKind.DelegateDeclaration 276is SyntaxKind.DelegateDeclaration
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
30case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
786case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
33{ SyntaxKind.DelegateDeclaration, 16 } 103case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1179token.Parent.IsKind(SyntaxKind.DelegateDeclaration))
Roslyn.Diagnostics.CSharp.Analyzers (12)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (5)
44case SyntaxKind.DelegateDeclaration: 87case SyntaxKind.DelegateDeclaration: 115case SyntaxKind.DelegateDeclaration: 135case SyntaxKind.DelegateDeclaration: 159case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
252is SyntaxKind.DelegateDeclaration 276is SyntaxKind.DelegateDeclaration
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
30case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
786case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
33{ SyntaxKind.DelegateDeclaration, 16 } 103case SyntaxKind.DelegateDeclaration:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1179token.Parent.IsKind(SyntaxKind.DelegateDeclaration))
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
681case SyntaxKind.DelegateDeclaration: