1 interface inheriting from ISyntaxKinds
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
ISyntaxKindsService.cs (1)
13
internal partial interface ISyntaxKindsService :
ISyntaxKinds
, ILanguageService
2 implementations of ISyntaxKinds
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxKinds.cs (1)
9
internal class CSharpSyntaxKinds :
ISyntaxKinds
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxKinds.vb (1)
9
Implements
ISyntaxKinds
155 references to ISyntaxKinds
Microsoft.CodeAnalysis.CodeStyle (19)
AbstractFileHeaderHelper.cs (5)
14
protected AbstractFileHeaderHelper(
ISyntaxKinds
syntaxKinds)
29
/// <inheritdoc cref="
ISyntaxKinds
.SingleLineCommentTrivia"/>
32
/// <inheritdoc cref="
ISyntaxKinds
.MultiLineCommentTrivia"/>
35
/// <inheritdoc cref="
ISyntaxKinds
.WhitespaceTrivia"/>
38
/// <inheritdoc cref="
ISyntaxKinds
.EndOfLineTrivia"/>
AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
33
protected abstract
ISyntaxKinds
SyntaxKinds { get; }
AbstractSimplifyConditionalDiagnosticAnalyzer.cs (1)
59
var
syntaxKinds = SyntaxFacts.SyntaxKinds;
AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
46
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
AbstractUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.cs (2)
42
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
67
var
syntaxKinds = syntaxFacts.SyntaxKinds;
AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
73
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
43
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
AbstractUseNullPropagationDiagnosticAnalyzer.cs (2)
92
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
234
var
syntaxKinds = syntaxFacts.SyntaxKinds;
AbstractUseObjectInitializerDiagnosticAnalyzer.cs (1)
65
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
79
var
syntaxKinds = GetSyntaxFacts().SyntaxKinds;
AbstractVirtualCharService.cs (1)
73
var
syntaxKinds = this.SyntaxFacts.SyntaxKinds;
ISyntaxFacts.cs (2)
29
/// in VB). For leaf nodes, this should be implemented by deffering to <see cref="
ISyntaxKinds
"/> to check against the
98
ISyntaxKinds
SyntaxKinds { get; }
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
AbstractConflictMarkerCodeFixProvider.cs (2)
41
private readonly
ISyntaxKinds
_syntaxKinds;
44
ISyntaxKinds
syntaxKinds, string diagnosticId)
AbstractUseCompoundAssignmentCodeFixProvider.cs (1)
57
var
syntaxKinds = syntaxFacts.SyntaxKinds;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
19
protected override
ISyntaxKinds
SyntaxKinds => CSharpSyntaxKinds.Instance;
CSharpSyntaxFacts.cs (1)
50
public
ISyntaxKinds
SyntaxKinds { get; } = CSharpSyntaxKinds.Instance;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpUseCompoundCoalesceAssignmentCodeFixProvider.cs (1)
51
var
syntaxKinds = syntaxFacts.SyntaxKinds;
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (130)
VisualBasicMakeFieldReadonlyDiagnosticAnalyzer.vb (1)
17
Protected Overrides ReadOnly Property SyntaxKinds As
ISyntaxKinds
= VisualBasicSyntaxKinds.Instance
VisualBasicSyntaxFacts.vb (1)
57
Public ReadOnly Property SyntaxKinds As
ISyntaxKinds
= VisualBasicSyntaxKinds.Instance Implements ISyntaxFacts.SyntaxKinds
VisualBasicSyntaxKinds.vb (128)
16
Public Function Convert(Of TSyntaxKind As Structure)(kind As Integer) As TSyntaxKind Implements
ISyntaxKinds
.Convert
21
Public Function Convert(Of TSyntaxKind As Structure)(kind As TSyntaxKind) As Integer Implements
ISyntaxKinds
.Convert
26
Public ReadOnly Property ConflictMarkerTrivia As Integer = SyntaxKind.ConflictMarkerTrivia Implements
ISyntaxKinds
.ConflictMarkerTrivia
27
Public ReadOnly Property DisabledTextTrivia As Integer = SyntaxKind.DisabledTextTrivia Implements
ISyntaxKinds
.DisabledTextTrivia
28
Public ReadOnly Property EndOfLineTrivia As Integer = SyntaxKind.EndOfLineTrivia Implements
ISyntaxKinds
.EndOfLineTrivia
29
Public ReadOnly Property SkippedTokensTrivia As Integer = SyntaxKind.SkippedTokensTrivia Implements
ISyntaxKinds
.SkippedTokensTrivia
30
Public ReadOnly Property WhitespaceTrivia As Integer = SyntaxKind.WhitespaceTrivia Implements
ISyntaxKinds
.WhitespaceTrivia
31
Public ReadOnly Property SingleLineCommentTrivia As Integer = SyntaxKind.CommentTrivia Implements
ISyntaxKinds
.SingleLineCommentTrivia
32
Public ReadOnly Property MultiLineCommentTrivia As Integer? Implements
ISyntaxKinds
.MultiLineCommentTrivia
34
Public ReadOnly Property SingleLineDocCommentTrivia As Integer = SyntaxKind.DocumentationCommentTrivia Implements
ISyntaxKinds
.SingleLineDocCommentTrivia
35
Public ReadOnly Property MultiLineDocCommentTrivia As Integer? Implements
ISyntaxKinds
.MultiLineDocCommentTrivia
36
Public ReadOnly Property ShebangDirectiveTrivia As Integer? Implements
ISyntaxKinds
.ShebangDirectiveTrivia
38
Public ReadOnly Property IfDirectiveTrivia As Integer = SyntaxKind.IfDirectiveTrivia Implements
ISyntaxKinds
.IfDirectiveTrivia
40
Public ReadOnly Property CloseBraceToken As Integer = SyntaxKind.CloseBraceToken Implements
ISyntaxKinds
.CloseBraceToken
41
Public ReadOnly Property CloseBracketToken As Integer? = Nothing Implements
ISyntaxKinds
.CloseBracketToken
42
Public ReadOnly Property CloseParenToken As Integer = SyntaxKind.CloseParenToken Implements
ISyntaxKinds
.CloseParenToken
43
Public ReadOnly Property CommaToken As Integer = SyntaxKind.CommaToken Implements
ISyntaxKinds
.CommaToken
44
Public ReadOnly Property ColonToken As Integer = SyntaxKind.ColonToken Implements
ISyntaxKinds
.ColonToken
45
Public ReadOnly Property CharacterLiteralToken As Integer = SyntaxKind.CharacterLiteralToken Implements
ISyntaxKinds
.CharacterLiteralToken
46
Public ReadOnly Property DotToken As Integer = SyntaxKind.DotToken Implements
ISyntaxKinds
.DotToken
47
Public ReadOnly Property GreaterThanToken As Integer = SyntaxKind.GreaterThanToken Implements
ISyntaxKinds
.GreaterThanToken
48
Public ReadOnly Property InterpolatedStringTextToken As Integer = SyntaxKind.InterpolatedStringTextToken Implements
ISyntaxKinds
.InterpolatedStringTextToken
49
Public ReadOnly Property LessThanToken As Integer = SyntaxKind.LessThanToken Implements
ISyntaxKinds
.LessThanToken
50
Public ReadOnly Property OpenBraceToken As Integer = SyntaxKind.OpenBraceToken Implements
ISyntaxKinds
.OpenBraceToken
51
Public ReadOnly Property OpenBracketToken As Integer? = Nothing Implements
ISyntaxKinds
.OpenBracketToken
52
Public ReadOnly Property OpenParenToken As Integer = SyntaxKind.OpenParenToken Implements
ISyntaxKinds
.OpenParenToken
53
Public ReadOnly Property QuestionToken As Integer = SyntaxKind.QuestionToken Implements
ISyntaxKinds
.QuestionToken
54
Public ReadOnly Property StringLiteralToken As Integer = SyntaxKind.StringLiteralToken Implements
ISyntaxKinds
.StringLiteralToken
55
Public ReadOnly Property SingleLineRawStringLiteralToken As Integer? Implements
ISyntaxKinds
.SingleLineRawStringLiteralToken
56
Public ReadOnly Property MultiLineRawStringLiteralToken As Integer? Implements
ISyntaxKinds
.MultiLineRawStringLiteralToken
57
Public ReadOnly Property Utf8StringLiteralToken As Integer? Implements
ISyntaxKinds
.Utf8StringLiteralToken
58
Public ReadOnly Property Utf8SingleLineRawStringLiteralToken As Integer? Implements
ISyntaxKinds
.Utf8SingleLineRawStringLiteralToken
59
Public ReadOnly Property Utf8MultiLineRawStringLiteralToken As Integer? Implements
ISyntaxKinds
.Utf8MultiLineRawStringLiteralToken
61
Public ReadOnly Property XmlTextLiteralToken As Integer = SyntaxKind.XmlTextLiteralToken Implements
ISyntaxKinds
.XmlTextLiteralToken
63
Public ReadOnly Property DelegateKeyword As Integer = SyntaxKind.DelegateKeyword Implements
ISyntaxKinds
.DelegateKeyword
64
Public ReadOnly Property IfKeyword As Integer = SyntaxKind.IfKeyword Implements
ISyntaxKinds
.IfKeyword
65
Public ReadOnly Property TrueKeyword As Integer = SyntaxKind.TrueKeyword Implements
ISyntaxKinds
.TrueKeyword
66
Public ReadOnly Property FalseKeyword As Integer = SyntaxKind.FalseKeyword Implements
ISyntaxKinds
.FalseKeyword
67
Public ReadOnly Property UsingKeyword As Integer = SyntaxKind.UsingKeyword Implements
ISyntaxKinds
.UsingKeyword
69
Public ReadOnly Property GenericName As Integer = SyntaxKind.GenericName Implements
ISyntaxKinds
.GenericName
70
Public ReadOnly Property IdentifierName As Integer = SyntaxKind.IdentifierName Implements
ISyntaxKinds
.IdentifierName
71
Public ReadOnly Property QualifiedName As Integer = SyntaxKind.QualifiedName Implements
ISyntaxKinds
.QualifiedName
73
Public ReadOnly Property TupleType As Integer = SyntaxKind.TupleType Implements
ISyntaxKinds
.TupleType
75
Public ReadOnly Property CharacterLiteralExpression As Integer = SyntaxKind.CharacterLiteralExpression Implements
ISyntaxKinds
.CharacterLiteralExpression
76
Public ReadOnly Property DefaultLiteralExpression As Integer = SyntaxKind.NothingLiteralExpression Implements
ISyntaxKinds
.DefaultLiteralExpression
77
Public ReadOnly Property FalseLiteralExpression As Integer = SyntaxKind.FalseLiteralExpression Implements
ISyntaxKinds
.FalseLiteralExpression
78
Public ReadOnly Property NullLiteralExpression As Integer = SyntaxKind.NothingLiteralExpression Implements
ISyntaxKinds
.NullLiteralExpression
79
Public ReadOnly Property NumericLiteralExpression As Integer = SyntaxKind.NumericLiteralExpression Implements
ISyntaxKinds
.NumericLiteralExpression
80
Public ReadOnly Property StringLiteralExpression As Integer = SyntaxKind.StringLiteralExpression Implements
ISyntaxKinds
.StringLiteralExpression
81
Public ReadOnly Property TrueLiteralExpression As Integer = SyntaxKind.TrueLiteralExpression Implements
ISyntaxKinds
.TrueLiteralExpression
83
Public ReadOnly Property AddressOfExpression As Integer = SyntaxKind.AddressOfExpression Implements
ISyntaxKinds
.AddressOfExpression
84
Public ReadOnly Property AnonymousObjectCreationExpression As Integer = SyntaxKind.AnonymousObjectCreationExpression Implements
ISyntaxKinds
.AnonymousObjectCreationExpression
85
Public ReadOnly Property ArrayCreationExpression As Integer = SyntaxKind.ArrayCreationExpression Implements
ISyntaxKinds
.ArrayCreationExpression
86
Public ReadOnly Property AwaitExpression As Integer = SyntaxKind.AwaitExpression Implements
ISyntaxKinds
.AwaitExpression
87
Public ReadOnly Property BaseExpression As Integer = SyntaxKind.MyBaseExpression Implements
ISyntaxKinds
.BaseExpression
88
Public ReadOnly Property ConditionalAccessExpression As Integer = SyntaxKind.ConditionalAccessExpression Implements
ISyntaxKinds
.ConditionalAccessExpression
89
Public ReadOnly Property ConditionalExpression As Integer = SyntaxKind.TernaryConditionalExpression Implements
ISyntaxKinds
.ConditionalExpression
90
Public ReadOnly Property ImplicitArrayCreationExpression As Integer? Implements
ISyntaxKinds
.ImplicitArrayCreationExpression
91
Public ReadOnly Property ImplicitObjectCreationExpression As Integer? Implements
ISyntaxKinds
.ImplicitObjectCreationExpression
92
Public ReadOnly Property IndexExpression As Integer? Implements
ISyntaxKinds
.IndexExpression
93
Public ReadOnly Property InvocationExpression As Integer = SyntaxKind.InvocationExpression Implements
ISyntaxKinds
.InvocationExpression
94
Public ReadOnly Property IsTypeExpression As Integer = SyntaxKind.TypeOfIsExpression Implements
ISyntaxKinds
.IsTypeExpression
95
Public ReadOnly Property IsNotTypeExpression As Integer? = SyntaxKind.TypeOfIsNotExpression Implements
ISyntaxKinds
.IsNotTypeExpression
96
Public ReadOnly Property IsPatternExpression As Integer? Implements
ISyntaxKinds
.IsPatternExpression
97
Public ReadOnly Property LogicalAndExpression As Integer = SyntaxKind.AndAlsoExpression Implements
ISyntaxKinds
.LogicalAndExpression
98
Public ReadOnly Property LogicalOrExpression As Integer = SyntaxKind.OrElseExpression Implements
ISyntaxKinds
.LogicalOrExpression
99
Public ReadOnly Property LogicalNotExpression As Integer = SyntaxKind.NotExpression Implements
ISyntaxKinds
.LogicalNotExpression
100
Public ReadOnly Property ObjectCreationExpression As Integer = SyntaxKind.ObjectCreationExpression Implements
ISyntaxKinds
.ObjectCreationExpression
101
Public ReadOnly Property ParenthesizedExpression As Integer = SyntaxKind.ParenthesizedExpression Implements
ISyntaxKinds
.ParenthesizedExpression
102
Public ReadOnly Property QueryExpression As Integer = SyntaxKind.QueryExpression Implements
ISyntaxKinds
.QueryExpression
103
Public ReadOnly Property RangeExpression As Integer? Implements
ISyntaxKinds
.RangeExpression
104
Public ReadOnly Property RefExpression As Integer? Implements
ISyntaxKinds
.RefExpression
105
Public ReadOnly Property ReferenceEqualsExpression As Integer = SyntaxKind.IsExpression Implements
ISyntaxKinds
.ReferenceEqualsExpression
106
Public ReadOnly Property ReferenceNotEqualsExpression As Integer = SyntaxKind.IsNotExpression Implements
ISyntaxKinds
.ReferenceNotEqualsExpression
107
Public ReadOnly Property SimpleMemberAccessExpression As Integer = SyntaxKind.SimpleMemberAccessExpression Implements
ISyntaxKinds
.SimpleMemberAccessExpression
108
Public ReadOnly Property TernaryConditionalExpression As Integer = SyntaxKind.TernaryConditionalExpression Implements
ISyntaxKinds
.TernaryConditionalExpression
109
Public ReadOnly Property ThisExpression As Integer = SyntaxKind.MeExpression Implements
ISyntaxKinds
.ThisExpression
110
Public ReadOnly Property ThrowExpression As Integer? Implements
ISyntaxKinds
.ThrowExpression
111
Public ReadOnly Property TupleExpression As Integer = SyntaxKind.TupleExpression Implements
ISyntaxKinds
.TupleExpression
113
Public ReadOnly Property AndPattern As Integer? Implements
ISyntaxKinds
.AndPattern
114
Public ReadOnly Property ConstantPattern As Integer? Implements
ISyntaxKinds
.ConstantPattern
115
Public ReadOnly Property DeclarationPattern As Integer? Implements
ISyntaxKinds
.DeclarationPattern
116
Public ReadOnly Property NotPattern As Integer? Implements
ISyntaxKinds
.NotPattern
117
Public ReadOnly Property OrPattern As Integer? Implements
ISyntaxKinds
.OrPattern
118
Public ReadOnly Property ParenthesizedPattern As Integer? Implements
ISyntaxKinds
.ParenthesizedPattern
119
Public ReadOnly Property RecursivePattern As Integer? Implements
ISyntaxKinds
.RecursivePattern
120
Public ReadOnly Property RelationalPattern As Integer? Implements
ISyntaxKinds
.RelationalPattern
121
Public ReadOnly Property TypePattern As Integer? Implements
ISyntaxKinds
.TypePattern
122
Public ReadOnly Property VarPattern As Integer? Implements
ISyntaxKinds
.VarPattern
124
Public ReadOnly Property EndOfFileToken As Integer = SyntaxKind.EndOfFileToken Implements
ISyntaxKinds
.EndOfFileToken
125
Public ReadOnly Property AwaitKeyword As Integer = SyntaxKind.AwaitKeyword Implements
ISyntaxKinds
.AwaitKeyword
126
Public ReadOnly Property AsyncKeyword As Integer = SyntaxKind.AsyncKeyword Implements
ISyntaxKinds
.AsyncKeyword
128
Public ReadOnly Property IdentifierToken As Integer = SyntaxKind.IdentifierToken Implements
ISyntaxKinds
.IdentifierToken
129
Public ReadOnly Property GlobalKeyword As Integer = SyntaxKind.GlobalKeyword Implements
ISyntaxKinds
.GlobalKeyword
130
Public ReadOnly Property IncompleteMember As Integer = SyntaxKind.IncompleteMember Implements
ISyntaxKinds
.IncompleteMember
131
Public ReadOnly Property HashToken As Integer = SyntaxKind.HashToken Implements
ISyntaxKinds
.HashToken
133
Public ReadOnly Property ExpressionStatement As Integer = SyntaxKind.ExpressionStatement Implements
ISyntaxKinds
.ExpressionStatement
134
Public ReadOnly Property ForEachStatement As Integer = SyntaxKind.ForEachStatement Implements
ISyntaxKinds
.ForEachStatement
135
Public ReadOnly Property IfStatement As Integer = SyntaxKind.IfStatement Implements
ISyntaxKinds
.IfStatement
136
Public ReadOnly Property LocalDeclarationStatement As Integer = SyntaxKind.LocalDeclarationStatement Implements
ISyntaxKinds
.LocalDeclarationStatement
137
Public ReadOnly Property LocalFunctionStatement As Integer? Implements
ISyntaxKinds
.LocalFunctionStatement
138
Public ReadOnly Property LockStatement As Integer = SyntaxKind.SyncLockStatement Implements
ISyntaxKinds
.LockStatement
139
Public ReadOnly Property ReturnStatement As Integer = SyntaxKind.ReturnStatement Implements
ISyntaxKinds
.ReturnStatement
140
Public ReadOnly Property ThrowStatement As Integer = SyntaxKind.ThrowStatement Implements
ISyntaxKinds
.ThrowStatement
141
Public ReadOnly Property UsingStatement As Integer = SyntaxKind.UsingStatement Implements
ISyntaxKinds
.UsingStatement
142
Public ReadOnly Property WhileStatement As Integer = SyntaxKind.WhileStatement Implements
ISyntaxKinds
.WhileStatement
143
Public ReadOnly Property YieldReturnStatement As Integer = SyntaxKind.YieldStatement Implements
ISyntaxKinds
.YieldReturnStatement
145
Public ReadOnly Property Attribute As Integer = SyntaxKind.Attribute Implements
ISyntaxKinds
.Attribute
146
Public ReadOnly Property ClassDeclaration As Integer = SyntaxKind.ClassBlock Implements
ISyntaxKinds
.ClassDeclaration
147
Public ReadOnly Property ConstructorDeclaration As Integer = SyntaxKind.ConstructorBlock Implements
ISyntaxKinds
.ConstructorDeclaration
148
Public ReadOnly Property EnumDeclaration As Integer = SyntaxKind.EnumBlock Implements
ISyntaxKinds
.EnumDeclaration
149
Public ReadOnly Property InterfaceDeclaration As Integer = SyntaxKind.InterfaceBlock Implements
ISyntaxKinds
.InterfaceDeclaration
150
Public ReadOnly Property StructDeclaration As Integer? Implements
ISyntaxKinds
.StructDeclaration
151
Public ReadOnly Property Parameter As Integer = SyntaxKind.Parameter Implements
ISyntaxKinds
.Parameter
152
Public ReadOnly Property TypeConstraint As Integer = SyntaxKind.TypeConstraint Implements
ISyntaxKinds
.TypeConstraint
153
Public ReadOnly Property VariableDeclarator As Integer = SyntaxKind.VariableDeclarator Implements
ISyntaxKinds
.VariableDeclarator
154
Public ReadOnly Property FieldDeclaration As Integer = SyntaxKind.FieldDeclaration Implements
ISyntaxKinds
.FieldDeclaration
155
Public ReadOnly Property PropertyDeclaration As Integer = SyntaxKind.PropertyBlock Implements
ISyntaxKinds
.PropertyDeclaration
156
Public ReadOnly Property ParameterList As Integer = SyntaxKind.ParameterList Implements
ISyntaxKinds
.ParameterList
157
Public ReadOnly Property TypeArgumentList As Integer = SyntaxKind.TypeArgumentList Implements
ISyntaxKinds
.TypeArgumentList
158
Public ReadOnly Property GlobalStatement As Integer? Implements
ISyntaxKinds
.GlobalStatement
160
Public ReadOnly Property ElseClause As Integer = SyntaxKind.ElseBlock Implements
ISyntaxKinds
.ElseClause
161
Public ReadOnly Property EqualsValueClause As Integer = SyntaxKind.EqualsValue Implements
ISyntaxKinds
.EqualsValueClause
163
Public ReadOnly Property ImplicitElementAccess As Integer? Implements
ISyntaxKinds
.ImplicitElementAccess
164
Public ReadOnly Property Interpolation As Integer = SyntaxKind.Interpolation Implements
ISyntaxKinds
.Interpolation
165
Public ReadOnly Property InterpolatedStringExpression As Integer = SyntaxKind.InterpolatedStringExpression Implements
ISyntaxKinds
.InterpolatedStringExpression
166
Public ReadOnly Property InterpolatedStringText As Integer = SyntaxKind.InterpolatedStringText Implements
ISyntaxKinds
.InterpolatedStringText
167
Public ReadOnly Property IndexerMemberCref As Integer? Implements
ISyntaxKinds
.IndexerMemberCref