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