15 references to SyntaxTreeKind
Microsoft.CodeAnalysis.VisualBasic (15)
Symbols\LexicalSortKey.vb (15)
30Private _embeddedKind As SyntaxTreeKind
37Private ReadOnly Property EmbeddedKind As SyntaxTreeKind
69Public Shared ReadOnly NotInSource As LexicalSortKey = New LexicalSortKey(SyntaxTreeKind.None, -1, 0)
72Public Shared ReadOnly NotInitialized As LexicalSortKey = New LexicalSortKey() With {._embeddedKind = SyntaxTreeKind.None, ._treeOrdinal = -1, ._position = -1}
74Private Sub New(embeddedKind As SyntaxTreeKind, treeOrdinal As Integer, location As Integer)
84Private Sub New(embeddedKind As SyntaxTreeKind, tree As SyntaxTree, location As Integer, compilation As VisualBasicCompilation)
85Me.New(embeddedKind, If(tree Is Nothing OrElse embeddedKind <> SyntaxTreeKind.None, -1, compilation.GetSyntaxTreeOrdinal(tree)), location)
88Private Shared Function GetEmbeddedKind(tree As SyntaxTree) As SyntaxTreeKind
90SyntaxTreeKind.None,
92SyntaxTreeKind.MyTemplate,
93CType(tree.GetEmbeddedKind(), SyntaxTreeKind)))
110Me._embeddedKind = SyntaxTreeKind.None
119Dim treeKind As SyntaxTreeKind = GetEmbeddedKind(tree)
121If treeKind <> SyntaxTreeKind.None Then
125Me._embeddedKind = SyntaxTreeKind.None