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