49 references to InitAccessorDeclaration
Microsoft.CodeAnalysis.CSharp (19)
Compilation\MemberSemanticModel.cs (1)
2141case SyntaxKind.InitAccessorDeclaration:
Compilation\MethodBodySemanticModel.cs (1)
98case SyntaxKind.InitAccessorDeclaration:
Compilation\SyntaxTreeSemanticModel.cs (3)
788case SyntaxKind.InitAccessorDeclaration: 887case SyntaxKind.InitAccessorDeclaration: 1101case SyntaxKind.InitAccessorDeclaration:
CSharpDeclarationComputer.cs (1)
259case SyntaxKind.InitAccessorDeclaration:
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
581case SyntaxKind.InitAccessorDeclaration: 607case SyntaxKind.InitAccessorDeclaration:
Parser\LanguageParser.cs (2)
4106SyntaxKind.InitKeyword => SyntaxKind.InitAccessorDeclaration, 4814case SyntaxKind.InitAccessorDeclaration:
Symbols\Source\SourceCustomEventSymbol.cs (1)
111case SyntaxKind.InitAccessorDeclaration:
Symbols\Source\SourcePropertyAccessorSymbol.cs (3)
39syntax.Kind() == SyntaxKind.InitAccessorDeclaration); 640case SyntaxKind.InitAccessorDeclaration: 711case SyntaxKind.InitAccessorDeclaration:
Symbols\Source\SourcePropertySymbol.cs (2)
198case SyntaxKind.InitAccessorDeclaration: 259case SyntaxKind.InitAccessorDeclaration:
Syntax\SyntaxExtensions.cs (1)
40case SyntaxKind.InitAccessorDeclaration:
Syntax\SyntaxKindFacts.cs (2)
745return SyntaxKind.InitAccessorDeclaration; 761case SyntaxKind.InitAccessorDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
CSharpAccessibilityFacts.cs (2)
43case SyntaxKind.InitAccessorDeclaration: 297case SyntaxKind.InitAccessorDeclaration:
FormattingRangeHelper.cs (1)
375SyntaxKind.InitAccessorDeclaration or
SyntaxNodeExtensions.cs (1)
515case SyntaxKind.InitAccessorDeclaration:
UseExpressionBodyForAccessorsHelper.cs (1)
25ImmutableArray.Create(SyntaxKind.GetAccessorDeclaration, SyntaxKind.SetAccessorDeclaration, SyntaxKind.InitAccessorDeclaration, SyntaxKind.AddAccessorDeclaration, SyntaxKind.RemoveAccessorDeclaration))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
PropertyGenerator.cs (1)
260var setAccessorKind = property.SetMethod?.IsInitOnly == true ? SyntaxKind.InitAccessorDeclaration : SyntaxKind.SetAccessorDeclaration;
Microsoft.CodeAnalysis.CSharp.Features (13)
ConvertAutoPropertyToFullProperty\CSharpConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
76a.IsKind(SyntaxKind.InitAccessorDeclaration)));
CSharpDeclarationComputer.cs (1)
259case SyntaxKind.InitAccessorDeclaration:
Debugging\CSharpProximityExpressionsService.Worker.cs (1)
64SyntaxKind.InitAccessorDeclaration or
EditAndContinue\BreakpointSpans.cs (1)
210case SyntaxKind.InitAccessorDeclaration:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
94case SyntaxKind.InitAccessorDeclaration: 1682case SyntaxKind.InitAccessorDeclaration: 2054case SyntaxKind.InitAccessorDeclaration:
EditAndContinue\SyntaxComparer.cs (3)
641case SyntaxKind.InitAccessorDeclaration: 710case SyntaxKind.InitAccessorDeclaration: 1469case SyntaxKind.InitAccessorDeclaration:
EditAndContinue\SyntaxUtilities.cs (1)
42case SyntaxKind.InitAccessorDeclaration:
Snippets\CSharpPropiSnippetProvider.cs (1)
30=> SyntaxFactory.AccessorDeclaration(SyntaxKind.InitAccessorDeclaration).WithSemicolonToken(SyntaxFactory.Token(SyntaxKind.SemicolonToken));
UseExpressionBodyForAccessorsHelper.cs (1)
25ImmutableArray.Create(SyntaxKind.GetAccessorDeclaration, SyntaxKind.SetAccessorDeclaration, SyntaxKind.InitAccessorDeclaration, SyntaxKind.AddAccessorDeclaration, SyntaxKind.RemoveAccessorDeclaration))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\InitOnlyMemberTests.cs (1)
4064Assert.True(SyntaxFacts.IsAccessorDeclaration(SyntaxKind.InitAccessorDeclaration));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Parsing\MemberDeclarationParsingTests.cs (4)
1076N(SyntaxKind.InitAccessorDeclaration); 1112N(SyntaxKind.InitAccessorDeclaration); 1153N(SyntaxKind.InitAccessorDeclaration); 1192N(SyntaxKind.InitAccessorDeclaration);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
CSharpAccessibilityFacts.cs (2)
43case SyntaxKind.InitAccessorDeclaration: 297case SyntaxKind.InitAccessorDeclaration:
FormattingRangeHelper.cs (1)
375SyntaxKind.InitAccessorDeclaration or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs\SyntaxNodeExtensions.cs (1)
515case SyntaxKind.InitAccessorDeclaration:
PropertyGenerator.cs (1)
260var setAccessorKind = property.SetMethod?.IsInitOnly == true ? SyntaxKind.InitAccessorDeclaration : SyntaxKind.SetAccessorDeclaration;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
2882Assert.Equal(Accessibility.Private, Generator.GetAccessibility(Generator.WithAccessibility(SyntaxFactory.AccessorDeclaration(SyntaxKind.InitAccessorDeclaration), Accessibility.Private)));