122 references to ConversionOperatorDeclaration
Microsoft.CodeAnalysis.CSharp (18)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
470
case SyntaxKind.
ConversionOperatorDeclaration
:
Compilation\MemberSemanticModel.cs (1)
2175
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
:
1686
case SyntaxKind.
ConversionOperatorDeclaration
:
Declarations\DeclarationTreeBuilder.cs (3)
1103
case SyntaxKind.
ConversionOperatorDeclaration
:
1211
case SyntaxKind.
ConversionOperatorDeclaration
:
1240
case SyntaxKind.
ConversionOperatorDeclaration
:
Parser\LanguageParser.cs (2)
552
or SyntaxKind.
ConversionOperatorDeclaration
2414
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
273
case SyntaxKind.
ConversionOperatorDeclaration
:
394
case SyntaxKind.
ConversionOperatorDeclaration
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5169
case SyntaxKind.
ConversionOperatorDeclaration
:
Syntax\SyntaxExtensions.cs (2)
33
case SyntaxKind.
ConversionOperatorDeclaration
:
244
case SyntaxKind.
ConversionOperatorDeclaration
:
Syntax\SyntaxFacts.cs (1)
175
case
ConversionOperatorDeclaration
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForConversionOperatorsHelper.cs (1)
25
[SyntaxKind.
ConversionOperatorDeclaration
])
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
130
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
439
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
77
=> token.IsOpenParenInParameterList() && token.Parent.IsParentKind(SyntaxKind.
ConversionOperatorDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
66
case SyntaxKind.
ConversionOperatorDeclaration
:
174
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
844
if (memberDeclaration.Kind() == SyntaxKind.
ConversionOperatorDeclaration
)
1288
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 (14)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
145
case SyntaxKind.
ConversionOperatorDeclaration
:
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProvider.cs (1)
89
case SyntaxKind.
ConversionOperatorDeclaration
:
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
70
case SyntaxKind.
ConversionOperatorDeclaration
:
EditAndContinue\BreakpointSpans.cs (1)
175
case SyntaxKind.
ConversionOperatorDeclaration
:
EditAndContinue\SyntaxComparer.cs (3)
616
case SyntaxKind.
ConversionOperatorDeclaration
:
713
case SyntaxKind.
ConversionOperatorDeclaration
:
1449
case SyntaxKind.
ConversionOperatorDeclaration
:
InheritanceMargin\CSharpInheritanceMarginService.cs (1)
48
SyntaxKind.
ConversionOperatorDeclaration
)
LineSeparators\CSharpLineSeparatorService.cs (1)
87
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)
273
case SyntaxKind.
ConversionOperatorDeclaration
:
394
case SyntaxKind.
ConversionOperatorDeclaration
:
Structure\Providers\ConversionOperatorDeclarationStructureProvider.cs (1)
40
&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.
ConversionOperatorDeclaration
));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (51)
Parsing\AsyncParsingTests.cs (4)
1652
N(SyntaxKind.
ConversionOperatorDeclaration
);
1709
N(SyntaxKind.
ConversionOperatorDeclaration
);
1763
N(SyntaxKind.
ConversionOperatorDeclaration
);
1821
N(SyntaxKind.
ConversionOperatorDeclaration
);
Parsing\DeclarationParsingTests.cs (2)
5552
Assert.Equal(SyntaxKind.
ConversionOperatorDeclaration
, cs.Members[0].Kind());
5600
Assert.Equal(SyntaxKind.
ConversionOperatorDeclaration
, cs.Members[0].Kind());
Parsing\MemberDeclarationParsingTests.cs (45)
329
N(SyntaxKind.
ConversionOperatorDeclaration
);
1607
N(SyntaxKind.
ConversionOperatorDeclaration
);
1669
N(SyntaxKind.
ConversionOperatorDeclaration
);
6298
N(SyntaxKind.
ConversionOperatorDeclaration
);
6398
N(SyntaxKind.
ConversionOperatorDeclaration
);
6465
N(SyntaxKind.
ConversionOperatorDeclaration
);
6549
N(SyntaxKind.
ConversionOperatorDeclaration
);
6649
N(SyntaxKind.
ConversionOperatorDeclaration
);
6704
N(SyntaxKind.
ConversionOperatorDeclaration
);
6766
N(SyntaxKind.
ConversionOperatorDeclaration
);
6816
N(SyntaxKind.
ConversionOperatorDeclaration
);
6866
N(SyntaxKind.
ConversionOperatorDeclaration
);
6929
N(SyntaxKind.
ConversionOperatorDeclaration
);
7025
N(SyntaxKind.
ConversionOperatorDeclaration
);
7138
N(SyntaxKind.
ConversionOperatorDeclaration
);
7242
N(SyntaxKind.
ConversionOperatorDeclaration
);
7346
N(SyntaxKind.
ConversionOperatorDeclaration
);
7450
N(SyntaxKind.
ConversionOperatorDeclaration
);
7509
N(SyntaxKind.
ConversionOperatorDeclaration
);
7575
N(SyntaxKind.
ConversionOperatorDeclaration
);
7629
N(SyntaxKind.
ConversionOperatorDeclaration
);
7683
N(SyntaxKind.
ConversionOperatorDeclaration
);
7750
N(SyntaxKind.
ConversionOperatorDeclaration
);
7821
N(SyntaxKind.
ConversionOperatorDeclaration
);
7883
N(SyntaxKind.
ConversionOperatorDeclaration
);
7948
N(SyntaxKind.
ConversionOperatorDeclaration
);
8002
N(SyntaxKind.
ConversionOperatorDeclaration
);
8056
N(SyntaxKind.
ConversionOperatorDeclaration
);
8110
N(SyntaxKind.
ConversionOperatorDeclaration
);
8169
N(SyntaxKind.
ConversionOperatorDeclaration
);
8218
N(SyntaxKind.
ConversionOperatorDeclaration
);
8283
N(SyntaxKind.
ConversionOperatorDeclaration
);
8335
N(SyntaxKind.
ConversionOperatorDeclaration
);
8393
N(SyntaxKind.
ConversionOperatorDeclaration
);
8449
N(SyntaxKind.
ConversionOperatorDeclaration
);
8498
N(SyntaxKind.
ConversionOperatorDeclaration
);
8552
N(SyntaxKind.
ConversionOperatorDeclaration
);
8631
N(SyntaxKind.
ConversionOperatorDeclaration
);
9909
N(SyntaxKind.
ConversionOperatorDeclaration
);
9951
N(SyntaxKind.
ConversionOperatorDeclaration
);
10130
N(SyntaxKind.
ConversionOperatorDeclaration
);
11555
N(SyntaxKind.
ConversionOperatorDeclaration
);
11673
N(SyntaxKind.
ConversionOperatorDeclaration
);
19153
N(SyntaxKind.
ConversionOperatorDeclaration
);
19225
N(SyntaxKind.
ConversionOperatorDeclaration
);
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
CodeGeneration\CSharpSyntaxGenerator.cs (6)
629
SyntaxKind.
ConversionOperatorDeclaration
=> ((ConversionOperatorDeclarationSyntax)declaration).WithExplicitInterfaceSpecifier(specifier),
648
case SyntaxKind.
ConversionOperatorDeclaration
:
1057
case SyntaxKind.
ConversionOperatorDeclaration
:
1559
case SyntaxKind.
ConversionOperatorDeclaration
:
2213
case SyntaxKind.
ConversionOperatorDeclaration
:
2461
SyntaxKind.
ConversionOperatorDeclaration
=> ((ConversionOperatorDeclarationSyntax)declaration).Body?.Statements,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
130
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
439
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
77
=> token.IsOpenParenInParameterList() && token.Parent.IsParentKind(SyntaxKind.
ConversionOperatorDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
66
case SyntaxKind.
ConversionOperatorDeclaration
:
174
case SyntaxKind.
ConversionOperatorDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
844
if (memberDeclaration.Kind() == SyntaxKind.
ConversionOperatorDeclaration
)
1288
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)
215
case SyntaxKind.
ConversionOperatorDeclaration
: