51 references to RemoveAccessorDeclaration
Microsoft.CodeAnalysis.CSharp (14)
Compilation\MemberSemanticModel.cs (1)
2170case SyntaxKind.RemoveAccessorDeclaration:
Compilation\MethodBodySemanticModel.cs (1)
97case SyntaxKind.RemoveAccessorDeclaration:
Compilation\SyntaxTreeSemanticModel.cs (3)
789case SyntaxKind.RemoveAccessorDeclaration: 893case SyntaxKind.RemoveAccessorDeclaration: 1107case SyntaxKind.RemoveAccessorDeclaration:
Parser\LanguageParser.cs (2)
4482SyntaxKind.RemoveKeyword => SyntaxKind.RemoveAccessorDeclaration, 5089case SyntaxKind.RemoveAccessorDeclaration:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
256case SyntaxKind.RemoveAccessorDeclaration:
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
38Debug.Assert(syntax.Kind() == SyntaxKind.AddAccessorDeclaration || syntax.Kind() == SyntaxKind.RemoveAccessorDeclaration);
Symbols\Source\SourceCustomEventSymbol.cs (1)
98case SyntaxKind.RemoveAccessorDeclaration:
Symbols\Source\SourcePropertySymbol.cs (1)
267case SyntaxKind.RemoveAccessorDeclaration:
Syntax\SyntaxExtensions.cs (1)
42case SyntaxKind.RemoveAccessorDeclaration:
Syntax\SyntaxKindFacts.cs (2)
777return SyntaxKind.RemoveAccessorDeclaration; 791case SyntaxKind.RemoveAccessorDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForAccessorsHelper.cs (1)
30SyntaxKind.RemoveAccessorDeclaration,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (1)
160case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
441case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
45case SyntaxKind.RemoveAccessorDeclaration: 301case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1281case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
377SyntaxKind.RemoveAccessorDeclaration;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
146GenerateAccessorDeclaration(@event, @event.RemoveMethod, SyntaxKind.RemoveAccessorDeclaration, destination, info),
Microsoft.CodeAnalysis.CSharp.Features (6)
Debugging\CSharpProximityExpressionsService.Worker.cs (1)
60SyntaxKind.RemoveAccessorDeclaration))
EditAndContinue\BreakpointSpans.cs (1)
318case SyntaxKind.RemoveAccessorDeclaration:
EditAndContinue\SyntaxComparer.cs (2)
652case SyntaxKind.RemoveAccessorDeclaration: 721case SyntaxKind.RemoveAccessorDeclaration:
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForAccessorsHelper.cs (1)
30SyntaxKind.RemoveAccessorDeclaration,
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
256case SyntaxKind.RemoveAccessorDeclaration:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
IncrementalParsing\TypeChanges.cs (1)
126Assert.Equal(SyntaxKind.RemoveAccessorDeclaration, propertyType.AccessorList.Accessors[0].Kind());
Parsing\DeclarationParsingTests.cs (1)
4474TestClassEventWithValue(SyntaxKind.RemoveAccessorDeclaration, SyntaxKind.RemoveKeyword, SyntaxKind.IdentifierToken);
Parsing\FieldKeywordParsingTests.cs (1)
629N(useRemove ? SyntaxKind.RemoveAccessorDeclaration : SyntaxKind.AddAccessorDeclaration);
Parsing\MemberDeclarationParsingTests.cs (1)
11726N(SyntaxKind.RemoveAccessorDeclaration);
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
CodeGeneration\CSharpSyntaxGenerator.cs (5)
568accessors.Add(AccessorDeclaration(SyntaxKind.RemoveAccessorDeclaration, removeAccessorStatements)); 1588case SyntaxKind.RemoveAccessorDeclaration: 2494SyntaxKind.RemoveAccessorDeclaration => ((AccessorDeclarationSyntax)declaration).Body?.Statements, 2529case SyntaxKind.RemoveAccessorDeclaration: 2603case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (1)
160case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
441case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
45case SyntaxKind.RemoveAccessorDeclaration: 301case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1281case SyntaxKind.RemoveAccessorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
377SyntaxKind.RemoveAccessorDeclaration;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
146GenerateAccessorDeclaration(@event, @event.RemoveMethod, SyntaxKind.RemoveAccessorDeclaration, destination, info),
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
1456SyntaxKind.RemoveAccessorDeclaration)
Microsoft.VisualStudio.LanguageServices.CSharp (6)
CodeModel\CSharpCodeModelService.cs (4)
165case SyntaxKind.RemoveAccessorDeclaration: 1484case SyntaxKind.RemoveAccessorDeclaration: 1497SyntaxKind.RemoveAccessorDeclaration => MethodKind.EventRemove, 1507MethodKind.EventRemove => SyntaxKind.RemoveAccessorDeclaration,
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
63case SyntaxKind.RemoveAccessorDeclaration: 114case SyntaxKind.RemoveAccessorDeclaration: