228 references to NullableType
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Expressions.cs (1)
792
case SyntaxKind.
NullableType
:
Binder\Binder_Symbols.cs (1)
412
case SyntaxKind.
NullableType
:
Parser\LanguageParser.cs (3)
7369
if (typeParsedSoFar.Kind is SyntaxKind.
NullableType
or SyntaxKind.PointerType)
8487
else if (parameter.Type.Kind == SyntaxKind.
NullableType
)
9969
declaration.Type.Kind == SyntaxKind.
NullableType
&&
Syntax\SyntaxExtensions.cs (1)
430
case SyntaxKind.
NullableType
:
Syntax\SyntaxFactory.cs (2)
2134
case SyntaxKind.
NullableType
:
2213
if (node.Kind() == SyntaxKind.
NullableType
&& ((ObjectCreationExpressionSyntax)parent).Type == node)
Syntax\SyntaxFacts.cs (1)
106
case
NullableType
:
Syntax\SyntaxKindFacts.cs (1)
347
case SyntaxKind.
NullableType
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
512
SyntaxKind.
NullableType
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
464
currentToken.Parent is (kind: SyntaxKind.
NullableType
or SyntaxKind.ClassConstraint))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeSyntaxComparer.cs (1)
58
case SyntaxKind.
NullableType
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2344
previousToken.Parent?.Kind() is SyntaxKind.PointerType or SyntaxKind.
NullableType
)
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\SyntaxComparer.cs (1)
512
case SyntaxKind.
NullableType
:
SignatureHelp\ElementAccessExpressionSignatureHelpProvider.cs (1)
67
expression.IsKind(SyntaxKind.
NullableType
) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (205)
Parsing\CollectionExpressionParsingTests.cs (23)
4175
N(SyntaxKind.
NullableType
);
4525
N(SyntaxKind.
NullableType
);
4588
N(SyntaxKind.
NullableType
);
6671
N(SyntaxKind.
NullableType
);
6703
N(SyntaxKind.
NullableType
);
6740
N(SyntaxKind.
NullableType
);
6784
N(SyntaxKind.
NullableType
);
6835
N(SyntaxKind.
NullableType
);
7053
N(SyntaxKind.
NullableType
);
7097
N(SyntaxKind.
NullableType
);
7155
N(SyntaxKind.
NullableType
);
7214
N(SyntaxKind.
NullableType
);
7263
N(SyntaxKind.
NullableType
);
13098
N(SyntaxKind.
NullableType
);
13247
N(SyntaxKind.
NullableType
);
13412
N(SyntaxKind.
NullableType
);
13590
N(SyntaxKind.
NullableType
);
13784
N(SyntaxKind.
NullableType
);
15944
N(SyntaxKind.
NullableType
);
16027
N(SyntaxKind.
NullableType
);
18278
N(SyntaxKind.
NullableType
);
18333
N(SyntaxKind.
NullableType
);
18393
N(SyntaxKind.
NullableType
);
Parsing\CrefParsingTests.cs (5)
1671
N(SyntaxKind.
NullableType
);
1874
N(SyntaxKind.
NullableType
);
1901
N(SyntaxKind.
NullableType
);
2004
N(SyntaxKind.
NullableType
);
2017
N(SyntaxKind.
NullableType
);
Parsing\DeclarationExpressionTests.cs (3)
39
N(SyntaxKind.
NullableType
);
76
N(SyntaxKind.
NullableType
);
156
N(SyntaxKind.
NullableType
);
Parsing\FileModifierParsingTests.cs (2)
1671
N(SyntaxKind.
NullableType
);
1931
N(SyntaxKind.
NullableType
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
52
N(SyntaxKind.
NullableType
);
Parsing\LambdaAttributeParsingTests.cs (7)
2013
N(SyntaxKind.
NullableType
);
2068
N(SyntaxKind.
NullableType
);
2127
N(SyntaxKind.
NullableType
);
2178
N(SyntaxKind.
NullableType
);
2531
N(SyntaxKind.
NullableType
);
2568
N(SyntaxKind.
NullableType
);
2613
N(SyntaxKind.
NullableType
);
Parsing\LambdaReturnTypeParsingTests.cs (19)
672
N(SyntaxKind.
NullableType
);
705
N(SyntaxKind.
NullableType
);
735
N(SyntaxKind.
NullableType
);
780
N(SyntaxKind.
NullableType
);
914
N(SyntaxKind.
NullableType
);
979
N(SyntaxKind.
NullableType
);
1076
N(SyntaxKind.
NullableType
);
1277
N(SyntaxKind.
NullableType
);
1415
N(SyntaxKind.
NullableType
);
1537
N(SyntaxKind.
NullableType
);
1584
N(SyntaxKind.
NullableType
);
1628
N(SyntaxKind.
NullableType
);
1662
N(SyntaxKind.
NullableType
);
1692
N(SyntaxKind.
NullableType
);
1758
N(SyntaxKind.
NullableType
);
1816
N(SyntaxKind.
NullableType
);
1861
N(SyntaxKind.
NullableType
);
2003
N(SyntaxKind.
NullableType
);
4428
N(SyntaxKind.
NullableType
);
Parsing\LocalFunctionParsingTests.cs (2)
211
N(SyntaxKind.
NullableType
);
326
N(SyntaxKind.
NullableType
);
Parsing\MemberDeclarationParsingTests.cs (2)
1964
N(SyntaxKind.
NullableType
);
2163
N(SyntaxKind.
NullableType
);
Parsing\NameParsingTests.cs (1)
490
Assert.Equal(SyntaxKind.
NullableType
, tname.Kind());
Parsing\NullableParsingTests.cs (38)
102
N(SyntaxKind.
NullableType
);
227
N(SyntaxKind.
NullableType
);
231
N(SyntaxKind.
NullableType
);
278
N(SyntaxKind.
NullableType
);
282
N(SyntaxKind.
NullableType
);
377
N(SyntaxKind.
NullableType
);
457
N(SyntaxKind.
NullableType
);
532
N(SyntaxKind.
NullableType
);
651
N(SyntaxKind.
NullableType
);
916
N(SyntaxKind.
NullableType
);
975
N(SyntaxKind.
NullableType
);
1035
N(SyntaxKind.
NullableType
);
1056
N(SyntaxKind.
NullableType
);
1101
N(SyntaxKind.
NullableType
);
1125
N(SyntaxKind.
NullableType
);
1168
N(SyntaxKind.
NullableType
);
1220
N(SyntaxKind.
NullableType
);
1284
N(SyntaxKind.
NullableType
);
1339
N(SyntaxKind.
NullableType
);
1445
N(SyntaxKind.
NullableType
);
1506
N(SyntaxKind.
NullableType
);
1510
N(SyntaxKind.
NullableType
);
1570
N(SyntaxKind.
NullableType
);
1574
N(SyntaxKind.
NullableType
);
1634
N(SyntaxKind.
NullableType
);
1638
N(SyntaxKind.
NullableType
);
1725
N(SyntaxKind.
NullableType
);
1729
N(SyntaxKind.
NullableType
);
1801
N(SyntaxKind.
NullableType
);
1839
N(SyntaxKind.
NullableType
);
1875
N(SyntaxKind.
NullableType
);
1887
N(SyntaxKind.
NullableType
);
1917
N(SyntaxKind.
NullableType
);
1933
N(SyntaxKind.
NullableType
);
1967
N(SyntaxKind.
NullableType
);
2006
N(SyntaxKind.
NullableType
);
2167
N(SyntaxKind.
NullableType
);
2336
N(SyntaxKind.
NullableType
);
Parsing\PatternParsingTests.cs (9)
6543
N(SyntaxKind.
NullableType
);
12147
N(SyntaxKind.
NullableType
);
12193
N(SyntaxKind.
NullableType
);
12245
N(SyntaxKind.
NullableType
);
12296
N(SyntaxKind.
NullableType
);
12348
N(SyntaxKind.
NullableType
);
12394
N(SyntaxKind.
NullableType
);
12446
N(SyntaxKind.
NullableType
);
12497
N(SyntaxKind.
NullableType
);
Parsing\PatternParsingTests_ListPatterns.cs (9)
1122
N(SyntaxKind.
NullableType
);
1158
N(SyntaxKind.
NullableType
);
1198
N(SyntaxKind.
NullableType
);
1249
N(SyntaxKind.
NullableType
);
1300
N(SyntaxKind.
NullableType
);
1363
N(SyntaxKind.
NullableType
);
1426
N(SyntaxKind.
NullableType
);
1493
N(SyntaxKind.
NullableType
);
1560
N(SyntaxKind.
NullableType
);
Parsing\PatternParsingTests2.cs (10)
1395
N(SyntaxKind.
NullableType
);
1441
N(SyntaxKind.
NullableType
);
1491
N(SyntaxKind.
NullableType
);
1518
N(SyntaxKind.
NullableType
);
1571
N(SyntaxKind.
NullableType
);
1598
N(SyntaxKind.
NullableType
);
1650
N(SyntaxKind.
NullableType
);
1662
N(SyntaxKind.
NullableType
);
1711
N(SyntaxKind.
NullableType
);
1727
N(SyntaxKind.
NullableType
);
Parsing\ScriptParsingTests.cs (45)
2819
N(SyntaxKind.
NullableType
);
2849
N(SyntaxKind.
NullableType
);
2892
N(SyntaxKind.
NullableType
);
2938
N(SyntaxKind.
NullableType
);
2995
N(SyntaxKind.
NullableType
);
3036
N(SyntaxKind.
NullableType
);
3082
N(SyntaxKind.
NullableType
);
3113
N(SyntaxKind.
NullableType
);
3152
N(SyntaxKind.
NullableType
);
3200
N(SyntaxKind.
NullableType
);
3218
N(SyntaxKind.
NullableType
);
3271
N(SyntaxKind.
NullableType
);
3316
N(SyntaxKind.
NullableType
);
3367
N(SyntaxKind.
NullableType
);
3410
N(SyntaxKind.
NullableType
);
3461
N(SyntaxKind.
NullableType
);
3530
N(SyntaxKind.
NullableType
);
3588
N(SyntaxKind.
NullableType
);
3663
N(SyntaxKind.
NullableType
);
3707
N(SyntaxKind.
NullableType
);
3768
N(SyntaxKind.
NullableType
);
3812
N(SyntaxKind.
NullableType
);
3827
N(SyntaxKind.
NullableType
);
3860
N(SyntaxKind.
NullableType
);
3875
N(SyntaxKind.
NullableType
);
3908
N(SyntaxKind.
NullableType
);
3923
N(SyntaxKind.
NullableType
);
3956
N(SyntaxKind.
NullableType
);
3982
N(SyntaxKind.
NullableType
);
4021
N(SyntaxKind.
NullableType
);
4035
N(SyntaxKind.
NullableType
);
4074
N(SyntaxKind.
NullableType
);
4088
N(SyntaxKind.
NullableType
);
4118
N(SyntaxKind.
NullableType
);
4161
N(SyntaxKind.
NullableType
);
4205
N(SyntaxKind.
NullableType
);
4250
N(SyntaxKind.
NullableType
);
4293
N(SyntaxKind.
NullableType
);
4340
N(SyntaxKind.
NullableType
);
4391
N(SyntaxKind.
NullableType
);
4448
N(SyntaxKind.
NullableType
);
4464
N(SyntaxKind.
NullableType
);
4507
N(SyntaxKind.
NullableType
);
8051
N(SyntaxKind.
NullableType
);
8953
N(SyntaxKind.
NullableType
);
Parsing\StatementParsingTests.cs (10)
3045
N(SyntaxKind.
NullableType
);
3117
N(SyntaxKind.
NullableType
);
4077
N(SyntaxKind.
NullableType
);
4136
N(SyntaxKind.
NullableType
);
4227
N(SyntaxKind.
NullableType
);
4263
N(SyntaxKind.
NullableType
);
5517
N(SyntaxKind.
NullableType
);
5629
N(SyntaxKind.
NullableType
);
5695
N(SyntaxKind.
NullableType
);
5768
N(SyntaxKind.
NullableType
);
Parsing\SwitchExpressionParsingTests.cs (8)
4257
N(SyntaxKind.
NullableType
);
4302
N(SyntaxKind.
NullableType
);
4472
N(SyntaxKind.
NullableType
);
4533
N(SyntaxKind.
NullableType
);
4591
N(SyntaxKind.
NullableType
);
4656
N(SyntaxKind.
NullableType
);
4721
N(SyntaxKind.
NullableType
);
4791
N(SyntaxKind.
NullableType
);
Parsing\TypeArgumentListParsingTests.cs (2)
1478
N(SyntaxKind.
NullableType
);
1598
N(SyntaxKind.
NullableType
);
Parsing\UsingDirectiveParsingTests.cs (9)
1828
N(SyntaxKind.
NullableType
);
1875
N(SyntaxKind.
NullableType
);
1919
N(SyntaxKind.
NullableType
);
1994
N(SyntaxKind.
NullableType
);
2069
N(SyntaxKind.
NullableType
);
3171
N(SyntaxKind.
NullableType
);
3235
N(SyntaxKind.
NullableType
);
3299
N(SyntaxKind.
NullableType
);
3369
N(SyntaxKind.
NullableType
);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Simplifiers\NameSimplifier.cs (1)
642
if (simplifiedNode.Kind() == SyntaxKind.
NullableType
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
512
SyntaxKind.
NullableType
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
464
currentToken.Parent is (kind: SyntaxKind.
NullableType
or SyntaxKind.ClassConstraint))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeSyntaxComparer.cs (1)
58
case SyntaxKind.
NullableType
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2344
previousToken.Parent?.Kind() is SyntaxKind.PointerType or SyntaxKind.
NullableType
)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (1)
808
case SyntaxKind.
NullableType
:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
99
case SyntaxKind.
NullableType
: