83 references to SubKeyword
Microsoft.CodeAnalysis.VisualBasic (83)
Generated\Syntax.xml.Internal.Generated.vb (14)
34361Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 36154Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 36287Debug.Assert(subKeyword IsNot Nothing AndAlso subKeyword.Kind = SyntaxKind.SubKeyword) 36341Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 36502Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 38105Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 43581Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 46427Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 48220Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 48353Debug.Assert(subKeyword IsNot Nothing AndAlso subKeyword.Kind = SyntaxKind.SubKeyword) 48407Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 48568Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 50171Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 55647Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword)
Generated\Syntax.xml.Main.Generated.vb (38)
5740Case SyntaxKind.SubKeyword : 6102Case SyntaxKind.SubKeyword 6114Return SyntaxFactory.EndSubStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword)) 6598Return SyntaxKind.SubKeyword 9230Case SyntaxKind.SubKeyword : 9283Return SyntaxFactory.SubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9297Return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, Nothing, Nothing, Nothing, Nothing, Nothing) 9311Return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing, Nothing, Nothing) 9505Return SyntaxKind.SubKeyword 9582Case SyntaxKind.SubKeyword 9615Return SyntaxFactory.SubNewStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Token(SyntaxKind.NewKeyword), parameterList) 9625Return SyntaxFactory.SubNewStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Token(SyntaxKind.NewKeyword), Nothing) 9682Case SyntaxKind.SubKeyword : 9750Return SyntaxFactory.DeclareSubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), charsetKeyword, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, aliasName, parameterList, asClause) 9764Return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 9778Return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 10026Return SyntaxKind.SubKeyword 10163Case SyntaxKind.SubKeyword : 10206Return SyntaxFactory.DelegateSubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, typeParameterList, parameterList, asClause) 10217Return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, Nothing, Nothing, Nothing) 10228Return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing) 10403Return SyntaxKind.SubKeyword 13357Case SyntaxKind.SubKeyword : 13431Case SyntaxKind.SubKeyword 13444Return SyntaxFactory.ExitSubStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword)) 13691Return SyntaxKind.SubKeyword 36749Case SyntaxKind.SubKeyword : 36780Return SyntaxFactory.SubLambdaHeader(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), parameterList, asClause) 36788Return SyntaxFactory.SubLambdaHeader(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), Nothing, Nothing) 36901Return SyntaxKind.SubKeyword 44052SyntaxKind.SubKeyword, 44162SyntaxKind.SubKeyword, 44193SyntaxKind.SubKeyword, 44213SyntaxKind.SubKeyword, 44373SyntaxKind.SubKeyword, 44838SyntaxKind.SubKeyword, 45124SyntaxKind.SubKeyword, 45614Case SyntaxKind.SubKeyword
Parser\BlockContexts\BlockContext.vb (2)
632endStmt = SyntaxFactory.EndSubStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword)) 637endStmt = SyntaxFactory.EndSubStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword))
Parser\ParseExpression.vb (3)
218If nextToken.Kind = SyntaxKind.SubKeyword OrElse nextToken.Kind = SyntaxKind.FunctionKeyword Then 405Case SyntaxKind.SubKeyword, 1662CurrentToken.Kind = SyntaxKind.SubKeyword,
Parser\Parser.vb (12)
523Dim fakeBegin = SyntaxFactory.SubStatement(Nothing, Nothing, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword), 740Case SyntaxKind.SubKeyword 1044Case SyntaxKind.SubKeyword, 1206SyntaxKind.SubKeyword, 1330Case SyntaxKind.SubKeyword 1783Case SyntaxKind.SubKeyword 1883Case SyntaxKind.SubKeyword, 3604Debug.Assert(subKeyword.Kind = SyntaxKind.SubKeyword, "must be at a Sub.") 4219Case SyntaxKind.SubKeyword 4237methodKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword) 5048If CurrentToken.Kind = SyntaxKind.SubKeyword Then 5059methodKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword), ERRID.ERR_ExpectedSubFunction)
Parser\ParseStatement.vb (3)
132Case SyntaxKind.SubKeyword 183blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword) 231blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword)
Scanner\KeywordTable.vb (1)
154SyntaxKind.SubKeyword, None,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (5)
198AddKeyword(SyntaxKind.SubKeyword) 214AddKeyword(SyntaxKind.SubKeyword) 228AddKeyword(SyntaxKind.SubKeyword) 276AddKeyword(SyntaxKind.SubKeyword) 477AddKeyword(If(method.ReturnsVoid, SyntaxKind.SubKeyword, SyntaxKind.FunctionKeyword))
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
121AddKeyword(SyntaxKind.SubKeyword)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
290SyntaxKind.SubKeyword,
Syntax\SyntaxKindFacts.vb (2)
212SyntaxKind.SubKeyword, 421SyntaxKind.SubKeyword,
Syntax\SyntaxNodeFactories.vb (1)
590SyntaxKind.SubKeyword,