122 references to ConversionOperatorDeclaration
Microsoft.CodeAnalysis.CSharp (18)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
470case SyntaxKind.ConversionOperatorDeclaration:
Compilation\MemberSemanticModel.cs (1)
2175case SyntaxKind.ConversionOperatorDeclaration:
Compilation\MethodBodySemanticModel.cs (1)
89case SyntaxKind.ConversionOperatorDeclaration:
Compilation\SyntaxTreeSemanticModel.cs (4)
818case SyntaxKind.ConversionOperatorDeclaration: 853case SyntaxKind.ConversionOperatorDeclaration: 1080case SyntaxKind.ConversionOperatorDeclaration: 1686case SyntaxKind.ConversionOperatorDeclaration:
Declarations\DeclarationTreeBuilder.cs (3)
1103case SyntaxKind.ConversionOperatorDeclaration: 1211case SyntaxKind.ConversionOperatorDeclaration: 1240case SyntaxKind.ConversionOperatorDeclaration:
Parser\LanguageParser.cs (2)
551or SyntaxKind.ConversionOperatorDeclaration 2395case SyntaxKind.ConversionOperatorDeclaration:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
273case SyntaxKind.ConversionOperatorDeclaration: 394case SyntaxKind.ConversionOperatorDeclaration:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5155case SyntaxKind.ConversionOperatorDeclaration:
Syntax\SyntaxExtensions.cs (2)
33case SyntaxKind.ConversionOperatorDeclaration: 244case SyntaxKind.ConversionOperatorDeclaration:
Syntax\SyntaxFacts.cs (1)
175case 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)
130case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
439case 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)
66case SyntaxKind.ConversionOperatorDeclaration: 174case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
836if (memberDeclaration.Kind() == SyntaxKind.ConversionOperatorDeclaration) 1284case SyntaxKind.ConversionOperatorDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
786case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
26{ SyntaxKind.ConversionOperatorDeclaration, 9 }, 142case SyntaxKind.ConversionOperatorDeclaration:
Microsoft.CodeAnalysis.CSharp.Features (13)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
145case SyntaxKind.ConversionOperatorDeclaration:
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
70case SyntaxKind.ConversionOperatorDeclaration:
EditAndContinue\BreakpointSpans.cs (1)
175case SyntaxKind.ConversionOperatorDeclaration:
EditAndContinue\SyntaxComparer.cs (3)
616case SyntaxKind.ConversionOperatorDeclaration: 713case SyntaxKind.ConversionOperatorDeclaration: 1449case SyntaxKind.ConversionOperatorDeclaration:
InheritanceMargin\CSharpInheritanceMarginService.cs (1)
48SyntaxKind.ConversionOperatorDeclaration)
LineSeparators\CSharpLineSeparatorService.cs (1)
87case SyntaxKind.ConversionOperatorDeclaration:
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (1)
164case SyntaxKind.ConversionOperatorDeclaration:
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForConversionOperatorsHelper.cs (1)
25[SyntaxKind.ConversionOperatorDeclaration])
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
273case SyntaxKind.ConversionOperatorDeclaration: 394case SyntaxKind.ConversionOperatorDeclaration:
Structure\Providers\ConversionOperatorDeclarationStructureProvider.cs (1)
40&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.ConversionOperatorDeclaration));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (51)
Parsing\AsyncParsingTests.cs (4)
1652N(SyntaxKind.ConversionOperatorDeclaration); 1709N(SyntaxKind.ConversionOperatorDeclaration); 1763N(SyntaxKind.ConversionOperatorDeclaration); 1821N(SyntaxKind.ConversionOperatorDeclaration);
Parsing\DeclarationParsingTests.cs (2)
5552Assert.Equal(SyntaxKind.ConversionOperatorDeclaration, cs.Members[0].Kind()); 5600Assert.Equal(SyntaxKind.ConversionOperatorDeclaration, cs.Members[0].Kind());
Parsing\MemberDeclarationParsingTests.cs (45)
329N(SyntaxKind.ConversionOperatorDeclaration); 1607N(SyntaxKind.ConversionOperatorDeclaration); 1669N(SyntaxKind.ConversionOperatorDeclaration); 6298N(SyntaxKind.ConversionOperatorDeclaration); 6398N(SyntaxKind.ConversionOperatorDeclaration); 6465N(SyntaxKind.ConversionOperatorDeclaration); 6549N(SyntaxKind.ConversionOperatorDeclaration); 6649N(SyntaxKind.ConversionOperatorDeclaration); 6704N(SyntaxKind.ConversionOperatorDeclaration); 6766N(SyntaxKind.ConversionOperatorDeclaration); 6816N(SyntaxKind.ConversionOperatorDeclaration); 6866N(SyntaxKind.ConversionOperatorDeclaration); 6929N(SyntaxKind.ConversionOperatorDeclaration); 7025N(SyntaxKind.ConversionOperatorDeclaration); 7138N(SyntaxKind.ConversionOperatorDeclaration); 7242N(SyntaxKind.ConversionOperatorDeclaration); 7346N(SyntaxKind.ConversionOperatorDeclaration); 7450N(SyntaxKind.ConversionOperatorDeclaration); 7509N(SyntaxKind.ConversionOperatorDeclaration); 7575N(SyntaxKind.ConversionOperatorDeclaration); 7629N(SyntaxKind.ConversionOperatorDeclaration); 7683N(SyntaxKind.ConversionOperatorDeclaration); 7750N(SyntaxKind.ConversionOperatorDeclaration); 7821N(SyntaxKind.ConversionOperatorDeclaration); 7883N(SyntaxKind.ConversionOperatorDeclaration); 7948N(SyntaxKind.ConversionOperatorDeclaration); 8002N(SyntaxKind.ConversionOperatorDeclaration); 8056N(SyntaxKind.ConversionOperatorDeclaration); 8110N(SyntaxKind.ConversionOperatorDeclaration); 8169N(SyntaxKind.ConversionOperatorDeclaration); 8218N(SyntaxKind.ConversionOperatorDeclaration); 8283N(SyntaxKind.ConversionOperatorDeclaration); 8335N(SyntaxKind.ConversionOperatorDeclaration); 8393N(SyntaxKind.ConversionOperatorDeclaration); 8449N(SyntaxKind.ConversionOperatorDeclaration); 8498N(SyntaxKind.ConversionOperatorDeclaration); 8552N(SyntaxKind.ConversionOperatorDeclaration); 8631N(SyntaxKind.ConversionOperatorDeclaration); 9909N(SyntaxKind.ConversionOperatorDeclaration); 9951N(SyntaxKind.ConversionOperatorDeclaration); 10130N(SyntaxKind.ConversionOperatorDeclaration); 11555N(SyntaxKind.ConversionOperatorDeclaration); 11673N(SyntaxKind.ConversionOperatorDeclaration); 19153N(SyntaxKind.ConversionOperatorDeclaration); 19225N(SyntaxKind.ConversionOperatorDeclaration);
Microsoft.CodeAnalysis.CSharp.Workspaces (17)
CodeGeneration\CSharpSyntaxGenerator.cs (7)
631SyntaxKind.ConversionOperatorDeclaration => ((ConversionOperatorDeclarationSyntax)declaration).WithExplicitInterfaceSpecifier(specifier), 650case SyntaxKind.ConversionOperatorDeclaration: 1059case SyntaxKind.ConversionOperatorDeclaration: 1561case SyntaxKind.ConversionOperatorDeclaration: 2236case SyntaxKind.ConversionOperatorDeclaration: 2484SyntaxKind.ConversionOperatorDeclaration => ((ConversionOperatorDeclarationSyntax)declaration).Body?.Statements, 2512case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
130case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
439case 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)
66case SyntaxKind.ConversionOperatorDeclaration: 174case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
836if (memberDeclaration.Kind() == SyntaxKind.ConversionOperatorDeclaration) 1284case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
786case SyntaxKind.ConversionOperatorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
26{ SyntaxKind.ConversionOperatorDeclaration, 9 }, 142case SyntaxKind.ConversionOperatorDeclaration:
Microsoft.VisualStudio.LanguageServices.CSharp (12)
CodeModel\CSharpCodeModelService.cs (7)
96case SyntaxKind.ConversionOperatorDeclaration: 161case SyntaxKind.ConversionOperatorDeclaration: 560case SyntaxKind.ConversionOperatorDeclaration: 613case SyntaxKind.ConversionOperatorDeclaration: 833case SyntaxKind.ConversionOperatorDeclaration: 861SyntaxKind.ConversionOperatorDeclaration) 3498case SyntaxKind.ConversionOperatorDeclaration:
CodeModel\CSharpCodeModelService.NodeLocator.cs (4)
54case SyntaxKind.ConversionOperatorDeclaration: 105case SyntaxKind.ConversionOperatorDeclaration: 403case SyntaxKind.ConversionOperatorDeclaration: 966case SyntaxKind.ConversionOperatorDeclaration:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
215case SyntaxKind.ConversionOperatorDeclaration: