72 references to HashToken
Microsoft.CodeAnalysis.VisualBasic (72)
Generated\Syntax.xml.Internal.Generated.vb (28)
45849
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45866
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45881
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45895
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45908
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45928
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45948
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45963
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45981
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
45995
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
46015
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
46029
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
46043
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
46060
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
57915
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
57932
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
57947
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
57961
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
57974
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
57994
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58014
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58029
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58047
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58061
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58081
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58095
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58109
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
58126
Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.
HashToken
)
Generated\Syntax.xml.Main.Generated.vb (35)
42950
Case SyntaxKind.
HashToken
43096
Return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.ConstKeyword), name, SyntaxFactory.Token(SyntaxKind.EqualsToken), value)
43111
Return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.ConstKeyword), SyntaxFactory.Identifier(name), SyntaxFactory.Token(SyntaxKind.EqualsToken), value)
43124
Case SyntaxKind.
HashToken
43255
Return SyntaxFactory.IfDirectiveTrivia(SyntaxKind.IfDirectiveTrivia, SyntaxFactory.Token(SyntaxKind.
HashToken
), Nothing, ifOrElseIfKeyword, condition, Nothing)
43268
Case SyntaxKind.
HashToken
43399
Return SyntaxFactory.ElseIfDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), Nothing, ifOrElseIfKeyword, condition, Nothing)
43419
Case SyntaxKind.
HashToken
43554
Return SyntaxFactory.IfDirectiveTrivia(kind, SyntaxFactory.Token(SyntaxKind.
HashToken
), Nothing, ifOrElseIfKeyword, condition, Nothing)
43566
Case SyntaxKind.
HashToken
43583
Return SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.ElseKeyword))
43595
Case SyntaxKind.
HashToken
43617
Return SyntaxFactory.EndIfDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.IfKeyword))
43635
Case SyntaxKind.
HashToken
43657
Return SyntaxFactory.RegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.RegionKeyword), SyntaxFactory.Token(SyntaxKind.StringLiteralToken))
43675
Case SyntaxKind.
HashToken
43697
Return SyntaxFactory.EndRegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.RegionKeyword))
43710
Case SyntaxKind.
HashToken
43753
Return SyntaxFactory.ExternalSourceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.IntegerLiteralToken), SyntaxFactory.Token(SyntaxKind.CloseParenToken))
43765
Case SyntaxKind.
HashToken
43787
Return SyntaxFactory.EndExternalSourceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword))
43799
Case SyntaxKind.
HashToken
43851
Return SyntaxFactory.ExternalChecksumDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.ExternalChecksumKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CloseParenToken))
43863
Case SyntaxKind.
HashToken
43885
Return SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), errorCodes)
43893
Return SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), SyntaxFactory.SeparatedList(Of IdentifierNameSyntax)().AddRange(errorCodes))
43905
Case SyntaxKind.
HashToken
43927
Return SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), errorCodes)
43935
Return SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), SyntaxFactory.SeparatedList(Of IdentifierNameSyntax)().AddRange(errorCodes))
43947
Case SyntaxKind.
HashToken
43969
Return SyntaxFactory.ReferenceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
), SyntaxFactory.Token(SyntaxKind.ReferenceKeyword), SyntaxFactory.Token(SyntaxKind.StringLiteralToken))
43984
Case SyntaxKind.
HashToken
43999
Return SyntaxFactory.BadDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.
HashToken
))
45205
SyntaxKind.
HashToken
,
45760
Case SyntaxKind.
HashToken
Parser\ParseConditional.vb (2)
27
Dim missingHash = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.
HashToken
)
33
Debug.Assert(CurrentToken.Kind = SyntaxKind.
HashToken
, "Conditional compilation lines start with '#'.")
Scanner\Directives.vb (1)
551
Case SyntaxKind.
HashToken
Scanner\TokenFactories.vb (1)
429
Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.
HashToken
)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
362
SyntaxKind.
HashToken
,
Syntax\SyntaxFacts.vb (1)
580
Return kind = SyntaxKind.
HashToken
Syntax\SyntaxKindFacts.vb (1)
304
SyntaxKind.
HashToken
,
Syntax\SyntaxNodeFactories.vb (1)
661
SyntaxKind.
HashToken
,
Syntax\SyntaxNormalizer.vb (1)
592
If token.Kind = SyntaxKind.
HashToken
AndAlso TypeOf token.Parent Is DirectiveTriviaSyntax Then