134 references to ConversionOperatorDeclaration
Microsoft.CodeAnalysis.CSharp (21)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
470
case SyntaxKind.
ConversionOperatorDeclaration
:
Compilation\MemberSemanticModel.cs (1)
2214
case SyntaxKind.
ConversionOperatorDeclaration
:
Compilation\MethodBodySemanticModel.cs (1)
89
case SyntaxKind.
ConversionOperatorDeclaration
:
Compilation\SyntaxTreeSemanticModel.cs (4)
818
case SyntaxKind.
ConversionOperatorDeclaration
:
853
case SyntaxKind.
ConversionOperatorDeclaration
:
1080
case SyntaxKind.
ConversionOperatorDeclaration
:
1713
case SyntaxKind.
ConversionOperatorDeclaration
:
Declarations\DeclarationTreeBuilder.cs (3)
1122
case SyntaxKind.
ConversionOperatorDeclaration
:
1230
case SyntaxKind.
ConversionOperatorDeclaration
:
1259
case SyntaxKind.
ConversionOperatorDeclaration
:
Parser\LanguageParser.cs (2)
551
or SyntaxKind.
ConversionOperatorDeclaration
2456
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
302
case SyntaxKind.
ConversionOperatorDeclaration
:
447
case SyntaxKind.
ConversionOperatorDeclaration
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5754
case SyntaxKind.
ConversionOperatorDeclaration
:
Syntax.xml.Internal.Generated.cs (2)
32318
return new ConversionOperatorDeclarationSyntax(SyntaxKind.
ConversionOperatorDeclaration
, attributeLists.Node, modifiers.Node, implicitOrExplicitKeyword, explicitInterfaceSpecifier, operatorKeyword, checkedKeyword, type, parameterList, body, expressionBody, semicolonToken, this.context);
37685
return new ConversionOperatorDeclarationSyntax(SyntaxKind.
ConversionOperatorDeclaration
, attributeLists.Node, modifiers.Node, implicitOrExplicitKeyword, explicitInterfaceSpecifier, operatorKeyword, checkedKeyword, type, parameterList, body, expressionBody, semicolonToken);
Syntax.xml.Syntax.Generated.cs (1)
12571
/// <item><description><see cref="SyntaxKind.
ConversionOperatorDeclaration
"/></description></item>
Syntax\SyntaxExtensions.cs (2)
33
case SyntaxKind.
ConversionOperatorDeclaration
:
244
case SyntaxKind.
ConversionOperatorDeclaration
:
Syntax\SyntaxFacts.cs (1)
175
case
ConversionOperatorDeclaration
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForConversionOperatorsHelper.cs (1)
25
[SyntaxKind.
ConversionOperatorDeclaration
])
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
142
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
441
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
78
=> token.IsOpenParenInParameterList() && token.Parent.IsParentKind(SyntaxKind.
ConversionOperatorDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
61
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1193
case SyntaxKind.
ConversionOperatorDeclaration
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
810
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
26
{ SyntaxKind.
ConversionOperatorDeclaration
, 9 },
142
case SyntaxKind.
ConversionOperatorDeclaration
:
Microsoft.CodeAnalysis.CSharp.Features (17)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
145
case SyntaxKind.
ConversionOperatorDeclaration
:
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProvider.cs (1)
88
case SyntaxKind.
ConversionOperatorDeclaration
:
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
58
case SyntaxKind.
ConversionOperatorDeclaration
:
EditAndContinue\BreakpointSpans.cs (1)
176
case SyntaxKind.
ConversionOperatorDeclaration
:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
99
case SyntaxKind.
ConversionOperatorDeclaration
:
1680
case SyntaxKind.
ConversionOperatorDeclaration
:
2055
case SyntaxKind.
ConversionOperatorDeclaration
:
EditAndContinue\SyntaxComparer.cs (3)
618
case SyntaxKind.
ConversionOperatorDeclaration
:
718
case SyntaxKind.
ConversionOperatorDeclaration
:
1461
case SyntaxKind.
ConversionOperatorDeclaration
:
InheritanceMargin\CSharpInheritanceMarginService.cs (1)
48
SyntaxKind.
ConversionOperatorDeclaration
)
LineSeparators\CSharpLineSeparatorService.cs (1)
86
case SyntaxKind.
ConversionOperatorDeclaration
:
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (1)
164
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForConversionOperatorsHelper.cs (1)
25
[SyntaxKind.
ConversionOperatorDeclaration
])
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
302
case SyntaxKind.
ConversionOperatorDeclaration
:
447
case SyntaxKind.
ConversionOperatorDeclaration
:
Structure\Providers\ConversionOperatorDeclarationStructureProvider.cs (1)
40
&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.
ConversionOperatorDeclaration
));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (52)
Parsing\AsyncParsingTests.cs (4)
1643
N(SyntaxKind.
ConversionOperatorDeclaration
);
1700
N(SyntaxKind.
ConversionOperatorDeclaration
);
1754
N(SyntaxKind.
ConversionOperatorDeclaration
);
1812
N(SyntaxKind.
ConversionOperatorDeclaration
);
Parsing\DeclarationParsingTests.cs (2)
5606
Assert.Equal(SyntaxKind.
ConversionOperatorDeclaration
, cs.Members[0].Kind());
5654
Assert.Equal(SyntaxKind.
ConversionOperatorDeclaration
, cs.Members[0].Kind());
Parsing\ExtensionsParsingTests.cs (1)
3542
N(SyntaxKind.
ConversionOperatorDeclaration
);
Parsing\MemberDeclarationParsingTests.cs (45)
329
N(SyntaxKind.
ConversionOperatorDeclaration
);
1610
N(SyntaxKind.
ConversionOperatorDeclaration
);
1672
N(SyntaxKind.
ConversionOperatorDeclaration
);
6301
N(SyntaxKind.
ConversionOperatorDeclaration
);
6401
N(SyntaxKind.
ConversionOperatorDeclaration
);
6468
N(SyntaxKind.
ConversionOperatorDeclaration
);
6552
N(SyntaxKind.
ConversionOperatorDeclaration
);
6652
N(SyntaxKind.
ConversionOperatorDeclaration
);
6707
N(SyntaxKind.
ConversionOperatorDeclaration
);
6769
N(SyntaxKind.
ConversionOperatorDeclaration
);
6819
N(SyntaxKind.
ConversionOperatorDeclaration
);
6869
N(SyntaxKind.
ConversionOperatorDeclaration
);
6932
N(SyntaxKind.
ConversionOperatorDeclaration
);
7028
N(SyntaxKind.
ConversionOperatorDeclaration
);
7141
N(SyntaxKind.
ConversionOperatorDeclaration
);
7245
N(SyntaxKind.
ConversionOperatorDeclaration
);
7349
N(SyntaxKind.
ConversionOperatorDeclaration
);
7453
N(SyntaxKind.
ConversionOperatorDeclaration
);
7512
N(SyntaxKind.
ConversionOperatorDeclaration
);
7578
N(SyntaxKind.
ConversionOperatorDeclaration
);
7632
N(SyntaxKind.
ConversionOperatorDeclaration
);
7686
N(SyntaxKind.
ConversionOperatorDeclaration
);
7753
N(SyntaxKind.
ConversionOperatorDeclaration
);
7824
N(SyntaxKind.
ConversionOperatorDeclaration
);
7886
N(SyntaxKind.
ConversionOperatorDeclaration
);
7951
N(SyntaxKind.
ConversionOperatorDeclaration
);
8005
N(SyntaxKind.
ConversionOperatorDeclaration
);
8059
N(SyntaxKind.
ConversionOperatorDeclaration
);
8113
N(SyntaxKind.
ConversionOperatorDeclaration
);
8172
N(SyntaxKind.
ConversionOperatorDeclaration
);
8221
N(SyntaxKind.
ConversionOperatorDeclaration
);
8286
N(SyntaxKind.
ConversionOperatorDeclaration
);
8338
N(SyntaxKind.
ConversionOperatorDeclaration
);
8396
N(SyntaxKind.
ConversionOperatorDeclaration
);
8452
N(SyntaxKind.
ConversionOperatorDeclaration
);
8501
N(SyntaxKind.
ConversionOperatorDeclaration
);
8555
N(SyntaxKind.
ConversionOperatorDeclaration
);
8634
N(SyntaxKind.
ConversionOperatorDeclaration
);
9912
N(SyntaxKind.
ConversionOperatorDeclaration
);
9954
N(SyntaxKind.
ConversionOperatorDeclaration
);
10133
N(SyntaxKind.
ConversionOperatorDeclaration
);
11558
N(SyntaxKind.
ConversionOperatorDeclaration
);
11676
N(SyntaxKind.
ConversionOperatorDeclaration
);
20657
N(SyntaxKind.
ConversionOperatorDeclaration
);
20729
N(SyntaxKind.
ConversionOperatorDeclaration
);
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
CodeGeneration\CSharpSyntaxGenerator.cs (7)
636
SyntaxKind.
ConversionOperatorDeclaration
=> ((ConversionOperatorDeclarationSyntax)declaration).WithExplicitInterfaceSpecifier(specifier),
655
case SyntaxKind.
ConversionOperatorDeclaration
:
1058
case SyntaxKind.
ConversionOperatorDeclaration
:
1569
case SyntaxKind.
ConversionOperatorDeclaration
:
1909
case SyntaxKind.
ConversionOperatorDeclaration
:
2385
case SyntaxKind.
ConversionOperatorDeclaration
:
2633
SyntaxKind.
ConversionOperatorDeclaration
=> ((ConversionOperatorDeclarationSyntax)declaration).Body?.Statements,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
142
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
441
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
78
=> token.IsOpenParenInParameterList() && token.Parent.IsParentKind(SyntaxKind.
ConversionOperatorDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
61
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1193
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
810
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
26
{ SyntaxKind.
ConversionOperatorDeclaration
, 9 },
142
case SyntaxKind.
ConversionOperatorDeclaration
:
Microsoft.VisualStudio.LanguageServices.CSharp (12)
CodeModel\CSharpCodeModelService.cs (7)
96
case SyntaxKind.
ConversionOperatorDeclaration
:
161
case SyntaxKind.
ConversionOperatorDeclaration
:
560
case SyntaxKind.
ConversionOperatorDeclaration
:
613
case SyntaxKind.
ConversionOperatorDeclaration
:
833
case SyntaxKind.
ConversionOperatorDeclaration
:
861
SyntaxKind.
ConversionOperatorDeclaration
)
3498
case SyntaxKind.
ConversionOperatorDeclaration
:
CodeModel\CSharpCodeModelService.NodeLocator.cs (4)
54
case SyntaxKind.
ConversionOperatorDeclaration
:
105
case SyntaxKind.
ConversionOperatorDeclaration
:
403
case SyntaxKind.
ConversionOperatorDeclaration
:
966
case SyntaxKind.
ConversionOperatorDeclaration
:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
213
case SyntaxKind.
ConversionOperatorDeclaration
:
Roslyn.Diagnostics.CSharp.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
142
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
441
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
78
=> token.IsOpenParenInParameterList() && token.Parent.IsParentKind(SyntaxKind.
ConversionOperatorDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
61
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1193
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
810
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
26
{ SyntaxKind.
ConversionOperatorDeclaration
, 9 },
142
case SyntaxKind.
ConversionOperatorDeclaration
: