13 types derived from DirectiveTriviaSyntax
Microsoft.CodeAnalysis.VisualBasic (13)
Generated\Syntax.xml.Syntax.Generated.vb (13)
36075
Inherits
DirectiveTriviaSyntax
36258
Inherits
DirectiveTriviaSyntax
36445
Inherits
DirectiveTriviaSyntax
36556
Inherits
DirectiveTriviaSyntax
36685
Inherits
DirectiveTriviaSyntax
36819
Inherits
DirectiveTriviaSyntax
36955
Inherits
DirectiveTriviaSyntax
37156
Inherits
DirectiveTriviaSyntax
37285
Inherits
DirectiveTriviaSyntax
37521
Inherits
DirectiveTriviaSyntax
37681
Inherits
DirectiveTriviaSyntax
37841
Inherits
DirectiveTriviaSyntax
37972
Inherits
DirectiveTriviaSyntax
44 references to DirectiveTriviaSyntax
Microsoft.CodeAnalysis.VisualBasic (44)
Generated\Syntax.xml.Syntax.Generated.vb (15)
36058
Public Function WithHashToken(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36061
Friend MustOverride Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36102
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36285
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36471
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36582
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36711
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36845
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
36981
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
37182
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
37311
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
37548
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
37708
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
37867
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
37998
Friend Overrides Function WithHashTokenCore(hashToken As SyntaxToken) As
DirectiveTriviaSyntax
Syntax\DirectiveTriviaSyntax.vb (11)
13
Public Function GetRelatedDirectives() As List(Of
DirectiveTriviaSyntax
)
14
Dim list = New List(Of
DirectiveTriviaSyntax
)()
19
Private Sub GetRelatedDirectives(list As List(Of
DirectiveTriviaSyntax
))
36
Private Function GetNextRelatedDirective() As
DirectiveTriviaSyntax
37
Dim d As
DirectiveTriviaSyntax
= Me
82
Private Function GetNextPossiblyRelatedDirective() As
DirectiveTriviaSyntax
83
Dim d As
DirectiveTriviaSyntax
= Me
109
Private Function GetPreviousRelatedDirective() As
DirectiveTriviaSyntax
110
Dim d As
DirectiveTriviaSyntax
= Me
155
Private Function GetPreviousPossiblyRelatedDirective() As
DirectiveTriviaSyntax
156
Dim d As
DirectiveTriviaSyntax
= Me
Syntax\SyntaxNodePartials.vb (8)
27
Public Function GetNextDirective(Optional predicate As Func(Of
DirectiveTriviaSyntax
, Boolean) = Nothing) As
DirectiveTriviaSyntax
36
Dim d As
DirectiveTriviaSyntax
= DirectCast(tr.GetStructure,
DirectiveTriviaSyntax
)
52
Public Function GetPreviousDirective(Optional predicate As Func(Of
DirectiveTriviaSyntax
, Boolean) = Nothing) As
DirectiveTriviaSyntax
60
Dim d As
DirectiveTriviaSyntax
= DirectCast(tr.GetStructure,
DirectiveTriviaSyntax
)
Syntax\SyntaxNodeRemover.vb (2)
303
.Select(Function(tr) DirectCast(tr.GetStructure(),
DirectiveTriviaSyntax
))
349
Private Shared Function HasRelatedDirectives(directive As
DirectiveTriviaSyntax
) As Boolean
Syntax\SyntaxNormalizer.vb (1)
592
If token.Kind = SyntaxKind.HashToken AndAlso TypeOf token.Parent Is
DirectiveTriviaSyntax
Then
Syntax\VisualBasicLineDirectiveMap.vb (3)
15
Inherits LineDirectiveMap(Of
DirectiveTriviaSyntax
)
22
Protected Overrides Function ShouldAddDirective(directive As
DirectiveTriviaSyntax
) As Boolean
28
Protected Overrides Function GetEntry(directive As
DirectiveTriviaSyntax
,
Syntax\VisualBasicWarningStateMap.vb (4)
19
Dim directives = ArrayBuilder(Of
DirectiveTriviaSyntax
).GetInstance()
27
Private Shared Sub GetAllWarningDirectives(syntaxTree As SyntaxTree, directiveList As ArrayBuilder(Of
DirectiveTriviaSyntax
))
28
For Each d As
DirectiveTriviaSyntax
In syntaxTree.GetRoot().GetDirectives()
47
Private Shared Function CreateWarningStateEntries(directiveList As ImmutableArray(Of
DirectiveTriviaSyntax
)) As WarningStateMapEntry()