91 references to None
Microsoft.CodeAnalysis.VisualBasic (91)
Binding\Binder_AnonymousTypes.vb (1)
158If fieldNameToken.Kind = SyntaxKind.None Then
Binding\Binder_Query.vb (1)
2847If nameToken.Kind <> SyntaxKind.None Then
Binding\Binder_Utils.vb (3)
30Case SyntaxKind.None 69If friendToken.Kind <> SyntaxKind.None Then 1214If containingTypeBLock IsNot Nothing AndAlso FindFirstKeyword(containingTypeBLock.BlockStatement.Modifiers, s_notInheritableKeyword).Kind = SyntaxKind.None Then
Binding\BlockStatementBinders.vb (2)
28If continueKind <> SyntaxKind.None Then 33If exitKind <> SyntaxKind.None Then
Binding\FinallyBlockBinder.vb (2)
19MyBase.New(enclosing, continueKind:=SyntaxKind.None, exitKind:=SyntaxKind.None)
Binding\LocalBinderBuilder.vb (5)
140continueKind:=SyntaxKind.None, exitKind:=exitKind) 160continueKind:=SyntaxKind.None, exitKind:=exitKind) 192continueKind:=SyntaxKind.None, exitKind:=exitKind) 260continueKind:=SyntaxKind.None, exitKind:=SyntaxKind.ExitTryStatement) 288continueKind:=SyntaxKind.None, exitKind:=SyntaxKind.ExitSelectStatement)
Binding\MemberSemanticModel.vb (4)
1272Debug.Assert(trivia.Kind <> SyntaxKind.None) 1273Debug.Assert(trivia.Token.Kind <> SyntaxKind.None) 1984Debug.Assert(trivia.Kind <> SyntaxKind.None) 1985Debug.Assert(trivia.Token.Kind <> SyntaxKind.None)
CommandLine\VisualBasicCommandLineParser.vb (1)
1902If lastSeparatorToken.Kind = SyntaxKind.None Then
Compilation\SyntaxTreeSemanticModel.vb (2)
588If trivia.Kind = SyntaxKind.None Then 593If token.Kind = SyntaxKind.None Then
Parser\BlockContexts\BlockContext.vb (2)
730Return SyntaxKind.None 787Return SyntaxKind.None
Parser\BlockContexts\CompilationUnitContext.vb (3)
64_state = SyntaxKind.None 100If _state <> SyntaxKind.None Then 111_state = SyntaxKind.None
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (1)
30Case SyntaxKind.None
Parser\BlockContexts\TypeBlockContext.vb (2)
27_state = SyntaxKind.None 34Case SyntaxKind.None
Parser\Parser.vb (4)
1722If endKind = SyntaxKind.None Then 1759Return SyntaxKind.None 1835Return SyntaxKind.None 5817If peekedEndKind <> SyntaxKind.None Then
Parser\ParseScan.vb (1)
331PeekEndStatement(1) = SyntaxKind.None AndAlso
Parser\ParseStatement.vb (1)
1465If id.Kind <> SyntaxKind.None Then
Scanner\Blender.vb (1)
163If node.Kind = SyntaxKind.None Then
SymbolDisplay\SymbolDisplayVisitor.Members.vb (6)
248If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMethodNames) Then 262If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMethodNames) Then 349If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMethodNames) Then 364If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMethodNames) Then 404Return SyntaxKind.None 414Return SyntaxKind.None
SymbolDisplay\SymbolDisplayVisitor.Types.vb (2)
439If keyword = SyntaxKind.None Then 464Return SyntaxKind.None
SymbolDisplay\SymbolDisplayVisitor.vb (1)
137If SyntaxFacts.GetKeywordKind(identifier) <> SyntaxKind.None Then
Symbols\Source\LocalSymbol.vb (1)
496Debug.Assert(identifierToken.Kind <> SyntaxKind.None)
Symbols\Source\SourceMethodSymbol.vb (4)
288Case SyntaxKind.None, SyntaxKind.AnsiKeyword 898If syntax.VarianceKeyword.Kind <> SyntaxKind.None Then 2091Debug.Assert(Me.IsAccessor OrElse retType.GetArity() = 0 OrElse Not (errorLocation.IsKind(SyntaxKind.None))) ' if we could have constraint errors, the location better exist. 2165If Not errorLocation.IsKind(SyntaxKind.None) Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
836If varianceKeyword.Kind <> SyntaxKind.None Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
190If Not errorLocation.IsKind(SyntaxKind.None) Then
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
47If SyntaxFacts.GetKeywordKind(name) <> SyntaxKind.None Then
Symbols\Symbol.vb (1)
374If token.Kind <> SyntaxKind.None Then
Syntax\InternalSyntax\VisualBasicSyntaxRewriter.vb (4)
36If visited IsNot Nothing AndAlso visited.Kind <> SyntaxKind.None Then 70Debug.Assert((separator Is Nothing AndAlso separator.RawKind = SyntaxKind.None) OrElse 71(visitedSeparator IsNot Nothing AndAlso visitedSeparator.RawKind <> SyntaxKind.None), 81If visitedItem IsNot Nothing AndAlso visitedItem.Kind <> SyntaxKind.None Then
Syntax\SyntaxFacts.vb (3)
291If beginTerminator.Kind <> SyntaxKind.None AndAlso beginTerminator.Width > 0 Then 575Return SyntaxKind.None 1137Return If(opInfo.ParamCount = 0, SyntaxKind.None, OverloadResolution.GetOperatorTokenKind(opInfo))
Syntax\SyntaxKindFacts.vb (10)
54Return SyntaxKind.None 643Return SyntaxKind.None 665Return SyntaxKind.None 686Return SyntaxKind.None 765Return SyntaxKind.None 823Dim kind As SyntaxKind = SyntaxKind.None 824Return If(s_contextualKeywordToSyntaxKindMap.TryGetValue(text, kind), kind, SyntaxKind.None) 846Dim kind As SyntaxKind = SyntaxKind.None 847Return If(s_preprocessorKeywordToSyntaxKindMap.TryGetValue(text, kind), kind, SyntaxKind.None) 875Return SyntaxKind.None
Syntax\SyntaxNodePartials.vb (2)
31Do While (token.Kind <> SyntaxKind.None) 56Do While (token.Kind <> SyntaxKind.None)
Syntax\SyntaxNodeRemover.vb (2)
130If result.Kind <> SyntaxKind.None AndAlso Me._residualTrivia IsNot Nothing AndAlso Me._residualTrivia.Count > 0 Then 199If alternate IsNot Nothing AndAlso Not visited.IsKind(SyntaxKind.None) Then
Syntax\SyntaxNormalizer.vb (6)
109If token.Kind = SyntaxKind.None Then 309If currentToken.Kind = SyntaxKind.None OrElse nextToken.Kind = SyntaxKind.None Then 348Case SyntaxKind.None, 419If token.Parent Is Nothing OrElse nextToken.Kind = SyntaxKind.None Then 671Return t.Kind <> SyntaxKind.None
Syntax\VisualBasicSyntaxNode.vb (2)
237Debug.Assert(Not n.IsKind(SyntaxKind.None)) 251Debug.Assert(n.Kind <> SyntaxKind.None)
Syntax\VisualBasicSyntaxRewriter.vb (3)
86If alternate IsNot Nothing AndAlso visited IsNot Nothing AndAlso visited.Kind <> SyntaxKind.None Then 116If alternate IsNot Nothing AndAlso visited.Kind <> SyntaxKind.None Then ' skip the null check since SyntaxToken is a value type 206If alternate IsNot Nothing AndAlso visited.Kind() <> SyntaxKind.None Then
VisualBasicExtensions.vb (4)
192Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 201Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 210Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 219Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None)
VisualBasicParseOptions.vb (1)
255If Not IsValidIdentifier(symbol.Key) OrElse SyntaxFacts.GetKeywordKind(symbol.Key) <> SyntaxKind.None Then