246 references to PropertyDeclaration
Microsoft.CodeAnalysis.CSharp (32)
Binder\BinderFactory.BinderFactoryVisitor.cs (4)
286
case SyntaxKind.
PropertyDeclaration
:
492
case SyntaxKind.
PropertyDeclaration
:
526
Debug.Assert(basePropertyDeclarationSyntax.Kind() == SyntaxKind.
PropertyDeclaration
|| basePropertyDeclarationSyntax.Kind() == SyntaxKind.IndexerDeclaration);
1263
if (memberKind == SyntaxKind.
PropertyDeclaration
|| memberKind == SyntaxKind.IndexerDeclaration)
Compilation\InitializerSemanticModel.cs (3)
52
Debug.Assert(syntax.IsKind(SyntaxKind.
PropertyDeclaration
));
100
case SyntaxKind.
PropertyDeclaration
:
125
case SyntaxKind.
PropertyDeclaration
:
Compilation\SyntaxTreeSemanticModel.cs (5)
930
case SyntaxKind.
PropertyDeclaration
:
1135
case SyntaxKind.
PropertyDeclaration
:
1581
case SyntaxKind.
PropertyDeclaration
:
1606
case SyntaxKind.
PropertyDeclaration
:
1632
case SyntaxKind.
PropertyDeclaration
:
Declarations\DeclarationTreeBuilder.cs (3)
1108
case SyntaxKind.
PropertyDeclaration
:
1165
case SyntaxKind.
PropertyDeclaration
:
1234
case SyntaxKind.
PropertyDeclaration
:
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
578
case SyntaxKind.
PropertyDeclaration
:
601
case SyntaxKind.
PropertyDeclaration
:
Lowering\Instrumentation\DebugInfoInjector.cs (1)
149
case SyntaxKind.
PropertyDeclaration
:
Lowering\LocalRewriter\LocalRewriter.cs (1)
877
case SyntaxKind.
PropertyDeclaration
:
Parser\LanguageParser.cs (3)
559
or SyntaxKind.
PropertyDeclaration
;
2391
case SyntaxKind.
PropertyDeclaration
:
5084
case SyntaxKind.
PropertyDeclaration
:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
209
case SyntaxKind.
PropertyDeclaration
:
397
case SyntaxKind.
PropertyDeclaration
:
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2794
case SyntaxKind.
PropertyDeclaration
:
5013
case SyntaxKind.
PropertyDeclaration
:
Symbols\Source\SourceMemberMethodSymbol.cs (1)
722
Debug.Assert(arrowExpression.Parent.Kind() == SyntaxKind.
PropertyDeclaration
||
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
54
Debug.Assert(arrowExpression.Parent!.Kind() == SyntaxKind.
PropertyDeclaration
||
Syntax\SyntaxExtensions.cs (2)
46
case SyntaxKind.
PropertyDeclaration
:
245
case SyntaxKind.
PropertyDeclaration
:
Syntax\SyntaxFacts.cs (1)
178
case
PropertyDeclaration
:
Syntax\SyntaxKindFacts.cs (1)
367
case SyntaxKind.
PropertyDeclaration
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
src\Analyzers\CSharp\Analyzers\QualifyMemberAccess\CSharpQualifyMemberAccessDiagnosticAnalyzer.cs (1)
62
=> declarationSyntax.IsKind(SyntaxKind.
PropertyDeclaration
) && declarationSyntax.Contains(node);
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
31
=> SyntaxKind.
PropertyDeclaration
;
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForPropertiesHelper.cs (1)
29
[SyntaxKind.
PropertyDeclaration
])
src\Analyzers\CSharp\Analyzers\UseExpressionBody\UseExpressionBodyDiagnosticAnalyzer.cs (1)
60
if (grandparent.Kind() == SyntaxKind.
PropertyDeclaration
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (2)
47
case SyntaxKind.
PropertyDeclaration
:
150
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
255
or SyntaxKind.
PropertyDeclaration
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
279
token.Parent.Parent.IsKind(SyntaxKind.
PropertyDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
57
case SyntaxKind.
PropertyDeclaration
:
181
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1275
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
162
public int PropertyDeclaration => (int)SyntaxKind.
PropertyDeclaration
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
50
if (node.Kind() is not SyntaxKind.MethodDeclaration and not SyntaxKind.
PropertyDeclaration
and not SyntaxKind.VariableDeclarator)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (2)
122
SyntaxKind.
PropertyDeclaration
or
323
SyntaxKind.
PropertyDeclaration
or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
794
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
21
{ SyntaxKind.
PropertyDeclaration
, 4 },
129
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BasePropertyDeclarationSyntaxExtensions.cs (3)
21
case SyntaxKind.
PropertyDeclaration
: return ((PropertyDeclarationSyntax)node).SemicolonToken;
39
case SyntaxKind.
PropertyDeclaration
: return ((PropertyDeclarationSyntax)node).WithSemicolonToken(semicolonToken);
57
case SyntaxKind.
PropertyDeclaration
: return ((PropertyDeclarationSyntax)node).WithExpressionBody(expressionBody);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
252
token.Parent.Parent.IsKind(SyntaxKind.
PropertyDeclaration
))
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (1)
802
&& accessorDeclarationNode.Parent.IsParentKind(SyntaxKind.
PropertyDeclaration
)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
263
if (currentNode.IsKind(SyntaxKind.EqualsValueClause) && currentNode.IsParentKind(SyntaxKind.
PropertyDeclaration
))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
810
case SyntaxKind.
PropertyDeclaration
:
Diagnostics\GetDiagnosticsTests.cs (1)
1008
}, SyntaxKind.
PropertyDeclaration
, SyntaxKind.IndexerDeclaration, SyntaxKind.EventDeclaration, SyntaxKind.MethodDeclaration);
Microsoft.CodeAnalysis.CSharp.Features (21)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
65
case SyntaxKind.
PropertyDeclaration
:
EditAndContinue\BreakpointSpans.cs (1)
334
case SyntaxKind.
PropertyDeclaration
:
EditAndContinue\SyntaxComparer.cs (3)
626
case SyntaxKind.
PropertyDeclaration
:
633
if (node?.Parent is (kind: SyntaxKind.
PropertyDeclaration
or SyntaxKind.IndexerDeclaration))
1461
case SyntaxKind.
PropertyDeclaration
:
EditAndContinue\SyntaxUtilities.cs (1)
39
ArrowExpressionClauseSyntax { Parent: (kind: SyntaxKind.
PropertyDeclaration
) or (kind: SyntaxKind.IndexerDeclaration) } arrowExpression
InheritanceMargin\CSharpInheritanceMarginService.cs (1)
44
SyntaxKind.
PropertyDeclaration
or
IntroduceVariable\CSharpIntroduceVariableService.cs (1)
60
=> expression.GetAncestorOrThis<EqualsValueClauseSyntax>().IsParentKind(SyntaxKind.
PropertyDeclaration
);
LineSeparators\CSharpLineSeparatorService.cs (1)
81
case SyntaxKind.
PropertyDeclaration
:
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (1)
156
case SyntaxKind.
PropertyDeclaration
:
src\Analyzers\CSharp\Analyzers\QualifyMemberAccess\CSharpQualifyMemberAccessDiagnosticAnalyzer.cs (1)
62
=> declarationSyntax.IsKind(SyntaxKind.
PropertyDeclaration
) && declarationSyntax.Contains(node);
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
31
=> SyntaxKind.
PropertyDeclaration
;
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForPropertiesHelper.cs (1)
29
[SyntaxKind.
PropertyDeclaration
])
src\Analyzers\CSharp\Analyzers\UseExpressionBody\UseExpressionBodyDiagnosticAnalyzer.cs (1)
60
if (grandparent.Kind() == SyntaxKind.
PropertyDeclaration
&&
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
50
if (node.Kind() is not SyntaxKind.MethodDeclaration and not SyntaxKind.
PropertyDeclaration
and not SyntaxKind.VariableDeclarator)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (2)
122
SyntaxKind.
PropertyDeclaration
or
323
SyntaxKind.
PropertyDeclaration
or
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
209
case SyntaxKind.
PropertyDeclaration
:
397
case SyntaxKind.
PropertyDeclaration
:
Structure\Providers\IndexerDeclarationStructureProvider.cs (1)
39
&& (!nextSibling.IsNode || nextSibling.Kind() is SyntaxKind.IndexerDeclaration or SyntaxKind.
PropertyDeclaration
);
Structure\Providers\PropertyDeclarationStructureProvider.cs (1)
38
&& (!nextSibling.IsNode || nextSibling.Kind() is SyntaxKind.
PropertyDeclaration
or SyntaxKind.IndexerDeclaration);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Diagnostics\Suppression\SuppressionTests.cs (2)
1068
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.ClassDeclaration, SyntaxKind.EnumDeclaration, SyntaxKind.NamespaceDeclaration, SyntaxKind.MethodDeclaration, SyntaxKind.
PropertyDeclaration
, SyntaxKind.FieldDeclaration, SyntaxKind.EventDeclaration);
1089
case SyntaxKind.
PropertyDeclaration
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (121)
Parsing\AsyncParsingTests.cs (5)
984
N(SyntaxKind.
PropertyDeclaration
);
1029
N(SyntaxKind.
PropertyDeclaration
);
2403
N(SyntaxKind.
PropertyDeclaration
);
2439
N(SyntaxKind.
PropertyDeclaration
);
2619
N(SyntaxKind.
PropertyDeclaration
);
Parsing\CollectionExpressionParsingTests.cs (3)
16863
N(SyntaxKind.
PropertyDeclaration
);
16972
N(SyntaxKind.
PropertyDeclaration
);
17045
N(SyntaxKind.
PropertyDeclaration
);
Parsing\DeclarationParsingTests.cs (14)
2905
Assert.Equal(SyntaxKind.
PropertyDeclaration
, structDecl.Members[0].Kind());
2946
Assert.Equal(SyntaxKind.
PropertyDeclaration
, structDecl.Members[0].Kind());
4129
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4183
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4238
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4311
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4365
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4419
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4463
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4503
Assert.Equal(isEvent ? SyntaxKind.EventDeclaration : SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4615
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
4699
Assert.Equal(SyntaxKind.
PropertyDeclaration
, cs.Members[0].Kind());
6286
N(SyntaxKind.
PropertyDeclaration
);
6501
N(SyntaxKind.
PropertyDeclaration
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (20)
58
N(SyntaxKind.
PropertyDeclaration
);
83
N(SyntaxKind.
PropertyDeclaration
);
200
N(SyntaxKind.
PropertyDeclaration
);
395
N(SyntaxKind.
PropertyDeclaration
);
616
N(SyntaxKind.
PropertyDeclaration
);
906
N(SyntaxKind.
PropertyDeclaration
);
1117
N(SyntaxKind.
PropertyDeclaration
);
1287
N(SyntaxKind.
PropertyDeclaration
);
1422
N(SyntaxKind.
PropertyDeclaration
);
1626
N(SyntaxKind.
PropertyDeclaration
);
1990
N(SyntaxKind.
PropertyDeclaration
);
2015
N(SyntaxKind.
PropertyDeclaration
);
2132
N(SyntaxKind.
PropertyDeclaration
);
2327
N(SyntaxKind.
PropertyDeclaration
);
2551
N(SyntaxKind.
PropertyDeclaration
);
2784
N(SyntaxKind.
PropertyDeclaration
);
2995
N(SyntaxKind.
PropertyDeclaration
);
3312
N(SyntaxKind.
PropertyDeclaration
);
3651
N(SyntaxKind.
PropertyDeclaration
);
3955
N(SyntaxKind.
PropertyDeclaration
);
Parsing\DeclarationScopeParsingTests.cs (1)
11205
N(SyntaxKind.
PropertyDeclaration
);
Parsing\FieldKeywordParsingTests.cs (32)
72
N(SyntaxKind.
PropertyDeclaration
);
132
N(SyntaxKind.
PropertyDeclaration
);
174
N(SyntaxKind.
PropertyDeclaration
);
225
N(SyntaxKind.
PropertyDeclaration
);
282
N(SyntaxKind.
PropertyDeclaration
);
686
N(SyntaxKind.
PropertyDeclaration
);
862
N(SyntaxKind.
PropertyDeclaration
);
912
N(SyntaxKind.
PropertyDeclaration
);
969
N(SyntaxKind.
PropertyDeclaration
);
1015
N(SyntaxKind.
PropertyDeclaration
);
1061
N(SyntaxKind.
PropertyDeclaration
);
1107
N(SyntaxKind.
PropertyDeclaration
);
1157
N(SyntaxKind.
PropertyDeclaration
);
1211
N(SyntaxKind.
PropertyDeclaration
);
1258
N(SyntaxKind.
PropertyDeclaration
);
1327
N(SyntaxKind.
PropertyDeclaration
);
1378
N(SyntaxKind.
PropertyDeclaration
);
1432
N(SyntaxKind.
PropertyDeclaration
);
1493
N(SyntaxKind.
PropertyDeclaration
);
1571
N(SyntaxKind.
PropertyDeclaration
);
1635
N(SyntaxKind.
PropertyDeclaration
);
1711
N(SyntaxKind.
PropertyDeclaration
);
1762
N(SyntaxKind.
PropertyDeclaration
);
1852
N(SyntaxKind.
PropertyDeclaration
);
1929
N(SyntaxKind.
PropertyDeclaration
);
1980
N(SyntaxKind.
PropertyDeclaration
);
2039
N(SyntaxKind.
PropertyDeclaration
);
2098
N(SyntaxKind.
PropertyDeclaration
);
2162
N(SyntaxKind.
PropertyDeclaration
);
2235
N(SyntaxKind.
PropertyDeclaration
);
2288
N(SyntaxKind.
PropertyDeclaration
);
2464
N(SyntaxKind.
PropertyDeclaration
);
Parsing\FileModifierParsingTests.cs (2)
965
N(SyntaxKind.
PropertyDeclaration
);
1110
N(SyntaxKind.
PropertyDeclaration
);
Parsing\MemberDeclarationParsingTests.cs (23)
1055
N(SyntaxKind.
PropertyDeclaration
);
1096
N(SyntaxKind.
PropertyDeclaration
);
1137
N(SyntaxKind.
PropertyDeclaration
);
1171
N(SyntaxKind.
PropertyDeclaration
);
1203
N(SyntaxKind.
PropertyDeclaration
);
1230
N(SyntaxKind.
PropertyDeclaration
);
1278
N(SyntaxKind.
PropertyDeclaration
);
1345
N(SyntaxKind.
PropertyDeclaration
);
1717
N(SyntaxKind.
PropertyDeclaration
);
1748
N(SyntaxKind.
PropertyDeclaration
);
10391
N(SyntaxKind.
PropertyDeclaration
);
10445
N(SyntaxKind.
PropertyDeclaration
);
10629
N(SyntaxKind.
PropertyDeclaration
);
10737
N(SyntaxKind.
PropertyDeclaration
);
10862
N(SyntaxKind.
PropertyDeclaration
);
11037
N(SyntaxKind.
PropertyDeclaration
);
11211
N(SyntaxKind.
PropertyDeclaration
);
11872
N(SyntaxKind.
PropertyDeclaration
);
17102
N(SyntaxKind.
PropertyDeclaration
);
17172
N(SyntaxKind.
PropertyDeclaration
);
17236
N(SyntaxKind.
PropertyDeclaration
);
17296
N(SyntaxKind.
PropertyDeclaration
);
17369
N(SyntaxKind.
PropertyDeclaration
);
Parsing\ParsingErrorRecoveryTests.cs (5)
6405
Assert.Equal(SyntaxKind.
PropertyDeclaration
, agg.Members[0].Kind());
6429
Assert.Equal(SyntaxKind.
PropertyDeclaration
, agg.Members[0].Kind());
6454
Assert.Equal(SyntaxKind.
PropertyDeclaration
, agg.Members[0].Kind());
6489
Assert.Equal(SyntaxKind.
PropertyDeclaration
, agg.Members[0].Kind());
6528
Assert.Equal(SyntaxKind.
PropertyDeclaration
, agg.Members[0].Kind());
Parsing\RecordParsing.cs (1)
1276
N(SyntaxKind.
PropertyDeclaration
);
Parsing\RefFieldParsingTests.cs (1)
302
N(SyntaxKind.
PropertyDeclaration
);
Parsing\ScriptParsingTests.cs (12)
1291
N(SyntaxKind.
PropertyDeclaration
);
1774
N(SyntaxKind.
PropertyDeclaration
);
1793
N(SyntaxKind.
PropertyDeclaration
);
2065
N(SyntaxKind.
PropertyDeclaration
);
2083
N(SyntaxKind.
PropertyDeclaration
);
2102
N(SyntaxKind.
PropertyDeclaration
);
2133
N(SyntaxKind.
PropertyDeclaration
);
3080
N(SyntaxKind.
PropertyDeclaration
);
3111
N(SyntaxKind.
PropertyDeclaration
);
3150
N(SyntaxKind.
PropertyDeclaration
);
3198
N(SyntaxKind.
PropertyDeclaration
);
8795
N(SyntaxKind.
PropertyDeclaration
);
Parsing\TopLevelStatementsParsingTests.cs (2)
845
N(SyntaxKind.
PropertyDeclaration
);
1251
N(SyntaxKind.
PropertyDeclaration
);
Microsoft.CodeAnalysis.CSharp.Workspaces (30)
CodeGeneration\CSharpSyntaxGenerator.cs (14)
415
AsModifierList(accessibility, actualModifiers, SyntaxKind.
PropertyDeclaration
),
433
AsModifierList(accessibility, DeclarationModifiers.None, SyntaxKind.
PropertyDeclaration
));
629
SyntaxKind.
PropertyDeclaration
=> ((PropertyDeclarationSyntax)declaration).WithExplicitInterfaceSpecifier(specifier),
655
case SyntaxKind.
PropertyDeclaration
:
836
case SyntaxKind.
PropertyDeclaration
:
1573
case SyntaxKind.
PropertyDeclaration
:
1972
case SyntaxKind.
PropertyDeclaration
:
2010
SyntaxKind.
PropertyDeclaration
=> ((PropertyDeclarationSyntax)declaration).WithType((TypeSyntax)type),
2281
case SyntaxKind.
PropertyDeclaration
:
2337
case SyntaxKind.
PropertyDeclaration
:
2410
case SyntaxKind.
PropertyDeclaration
:
2450
case SyntaxKind.
PropertyDeclaration
:
2569
SyntaxKind.
PropertyDeclaration
=> ((PropertyDeclarationSyntax)declaration).ExpressionBody == null,
2589
case SyntaxKind.
PropertyDeclaration
:
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
367
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (2)
47
case SyntaxKind.
PropertyDeclaration
:
150
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
255
or SyntaxKind.
PropertyDeclaration
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
279
token.Parent.Parent.IsKind(SyntaxKind.
PropertyDeclaration
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
57
case SyntaxKind.
PropertyDeclaration
:
181
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1275
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
162
public int PropertyDeclaration => (int)SyntaxKind.
PropertyDeclaration
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
794
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
21
{ SyntaxKind.
PropertyDeclaration
, 4 },
129
case SyntaxKind.
PropertyDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BasePropertyDeclarationSyntaxExtensions.cs (3)
21
case SyntaxKind.
PropertyDeclaration
: return ((PropertyDeclarationSyntax)node).SemicolonToken;
39
case SyntaxKind.
PropertyDeclaration
: return ((PropertyDeclarationSyntax)node).WithSemicolonToken(semicolonToken);
57
case SyntaxKind.
PropertyDeclaration
: return ((PropertyDeclarationSyntax)node).WithExpressionBody(expressionBody);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
252
token.Parent.Parent.IsKind(SyntaxKind.
PropertyDeclaration
))
Microsoft.ML.InternalCodeAnalyzer (1)
NameAnalyzer.cs (1)
87
context.RegisterSyntaxNodeAction(AnalyzeProperty, SyntaxKind.
PropertyDeclaration
);
Microsoft.VisualStudio.LanguageServices.CSharp (13)
CodeModel\CSharpCodeModelService.cs (8)
108
case SyntaxKind.
PropertyDeclaration
:
198
case SyntaxKind.
PropertyDeclaration
:
565
case SyntaxKind.
PropertyDeclaration
:
616
case SyntaxKind.
PropertyDeclaration
:
817
case SyntaxKind.
PropertyDeclaration
:
897
case SyntaxKind.
PropertyDeclaration
:
3510
case SyntaxKind.
PropertyDeclaration
:
3643
if (node == null || node.Kind() != SyntaxKind.
PropertyDeclaration
||
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
56
case SyntaxKind.
PropertyDeclaration
:
107
case SyntaxKind.
PropertyDeclaration
:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
239
case SyntaxKind.
PropertyDeclaration
:
LanguageService\CSharpHelpContextService.cs (1)
252
else if (token.Parent.Parent.IsKind(SyntaxKind.
PropertyDeclaration
))
Progression\CSharpProgressionLanguageService.cs (1)
72
SyntaxKind.
PropertyDeclaration
)