91 references to NullKeyword
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (3)
10632
case SyntaxKind.
NullKeyword
:
10945
case SyntaxKind.
NullKeyword
:
11543
case SyntaxKind.
NullKeyword
:
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
20
AddKeyword(SyntaxKind.
NullKeyword
);
Syntax\InternalSyntax\SyntaxToken.cs (1)
292
case SyntaxKind.
NullKeyword
:
Syntax\LiteralExpressionSyntax.cs (1)
26
SyntaxKind.NullLiteralExpression => SyntaxKind.
NullKeyword
,
Syntax\SyntaxKindFacts.cs (3)
581
SyntaxKind.
NullKeyword
=> SyntaxKind.NullLiteralExpression,
889
return SyntaxKind.
NullKeyword
;
1537
case SyntaxKind.
NullKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
56
public static readonly SyntaxToken NullKeyword = Token(SyntaxKind.
NullKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
494
case SyntaxKind.
NullKeyword
:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\NullKeywordRecommender.cs (1)
13
: base(SyntaxKind.
NullKeyword
)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\UnsafeTests.cs (1)
8345
foreach (var nullSyntax in tree.GetCompilationUnitRoot().DescendantTokens().Where(token => token.IsKind(SyntaxKind.
NullKeyword
)))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (76)
Parsing\AsyncParsingTests.cs (7)
2415
N(SyntaxKind.
NullKeyword
);
2518
N(SyntaxKind.
NullKeyword
);
2639
N(SyntaxKind.
NullKeyword
);
2687
N(SyntaxKind.
NullKeyword
);
2736
N(SyntaxKind.
NullKeyword
);
2783
N(SyntaxKind.
NullKeyword
);
2837
N(SyntaxKind.
NullKeyword
);
Parsing\AwaitParsingTests.cs (1)
2304
N(SyntaxKind.
NullKeyword
);
Parsing\DeclarationScopeParsingTests.cs (4)
925
N(SyntaxKind.
NullKeyword
);
991
N(SyntaxKind.
NullKeyword
);
1129
N(SyntaxKind.
NullKeyword
);
1254
N(SyntaxKind.
NullKeyword
);
Parsing\ExpressionParsingTests.cs (3)
467
TestLiteralExpression(SyntaxKind.
NullKeyword
);
6874
N(SyntaxKind.
NullKeyword
);
6936
N(SyntaxKind.
NullKeyword
);
Parsing\FieldKeywordParsingTests.cs (1)
646
N(SyntaxKind.
NullKeyword
);
Parsing\FunctionPointerTests.cs (1)
3018
N(SyntaxKind.
NullKeyword
);
Parsing\LambdaParameterParsingTests.cs (9)
2253
N(SyntaxKind.
NullKeyword
);
2347
N(SyntaxKind.
NullKeyword
);
2467
N(SyntaxKind.
NullKeyword
);
2537
N(SyntaxKind.
NullKeyword
);
2617
N(SyntaxKind.
NullKeyword
);
4380
N(SyntaxKind.
NullKeyword
);
4447
N(SyntaxKind.
NullKeyword
);
4526
N(SyntaxKind.
NullKeyword
);
4746
N(SyntaxKind.
NullKeyword
);
Parsing\LambdaReturnTypeParsingTests.cs (17)
445
N(SyntaxKind.
NullKeyword
);
688
N(SyntaxKind.
NullKeyword
);
763
N(SyntaxKind.
NullKeyword
);
851
N(SyntaxKind.
NullKeyword
);
2061
N(SyntaxKind.
NullKeyword
);
2100
N(SyntaxKind.
NullKeyword
);
2134
N(SyntaxKind.
NullKeyword
);
2169
N(SyntaxKind.
NullKeyword
);
2217
N(SyntaxKind.
NullKeyword
);
2407
N(SyntaxKind.
NullKeyword
);
3171
N(SyntaxKind.
NullKeyword
);
3214
N(SyntaxKind.
NullKeyword
);
3235
N(SyntaxKind.
NullKeyword
);
3283
N(SyntaxKind.
NullKeyword
);
3461
N(SyntaxKind.
NullKeyword
);
3517
N(SyntaxKind.
NullKeyword
);
5038
N(SyntaxKind.
NullKeyword
);
Parsing\MemberDeclarationParsingTests.cs (7)
17211
N(SyntaxKind.
NullKeyword
);
17408
N(SyntaxKind.
NullKeyword
);
17538
N(SyntaxKind.
NullKeyword
);
17612
N(SyntaxKind.
NullKeyword
);
17755
N(SyntaxKind.
NullKeyword
);
17829
N(SyntaxKind.
NullKeyword
);
18965
N(SyntaxKind.
NullKeyword
);
Parsing\NullableParsingTests.cs (3)
125
N(SyntaxKind.
NullKeyword
);
264
N(SyntaxKind.
NullKeyword
);
326
N(SyntaxKind.
NullKeyword
);
Parsing\PatternParsingTests.cs (12)
210
N(SyntaxKind.
NullKeyword
);
634
N(SyntaxKind.
NullKeyword
);
691
N(SyntaxKind.
NullKeyword
);
721
N(SyntaxKind.
NullKeyword
);
751
N(SyntaxKind.
NullKeyword
);
781
N(SyntaxKind.
NullKeyword
);
859
N(SyntaxKind.
NullKeyword
);
876
N(SyntaxKind.
NullKeyword
);
893
N(SyntaxKind.
NullKeyword
);
910
N(SyntaxKind.
NullKeyword
);
8462
N(SyntaxKind.
NullKeyword
);
8617
N(SyntaxKind.
NullKeyword
);
Parsing\StatementAttributeParsingTests.cs (4)
1377
N(SyntaxKind.
NullKeyword
);
1454
N(SyntaxKind.
NullKeyword
);
1541
N(SyntaxKind.
NullKeyword
);
2134
N(SyntaxKind.
NullKeyword
);
Parsing\StatementParsingTests.cs (1)
2747
N(SyntaxKind.
NullKeyword
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (3)
58
N(SyntaxKind.
NullKeyword
);
172
N(SyntaxKind.
NullKeyword
);
216
N(SyntaxKind.
NullKeyword
);
Syntax\SyntaxTests.cs (1)
238
[InlineData(SyntaxKind.
NullKeyword
, SyntaxKind.NullLiteralExpression)]
Syntax\SyntaxTokenListTests.cs (2)
258
Assert.Equal(-1, list.IndexOf(SyntaxKind.
NullKeyword
));
259
Assert.False(list.Any(SyntaxKind.
NullKeyword
));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
56
public static readonly SyntaxToken NullKeyword = Token(SyntaxKind.
NullKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
494
case SyntaxKind.
NullKeyword
: