93 references to SuppressNullableWarningExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
825case SyntaxKind.SuppressNullableWarningExpression:
Binder\Binder_Patterns.cs (1)
482case SyntaxKind.SuppressNullableWarningExpression:
Compilation\MemberSemanticModel.cs (1)
2196case PostfixUnaryExpressionSyntax { RawKind: (int)SyntaxKind.SuppressNullableWarningExpression } n:
Parser\LanguageParser.cs (3)
10806case SyntaxKind.SuppressNullableWarningExpression: 11637expr = _syntaxFactory.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, this.EatToken()); 11779expr = _syntaxFactory.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, EatToken());
Syntax\SyntaxKindFacts.cs (1)
459return SyntaxKind.SuppressNullableWarningExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionDiagnosticAnalyzer.cs (1)
40if (left.Kind() != SyntaxKind.SuppressNullableWarningExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (3)
38while (expression is PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression) postfixExpression) 209while (expression?.Parent is ParenthesizedExpressionSyntax or PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression)) 710case SyntaxKind.SuppressNullableWarningExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
200SyntaxKind.SuppressNullableWarningExpression) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
474currentToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression)) 521&& !previousToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))
Microsoft.CodeAnalysis.CSharp.Features (2)
InlineHints\CSharpInlineParameterNameHintsService.cs (1)
91PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression) postfix => GetKind(postfix.Operand),
src\Analyzers\CSharp\Analyzers\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionDiagnosticAnalyzer.cs (1)
40if (left.Kind() != SyntaxKind.SuppressNullableWarningExpression)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\NullablePublicAPITests.cs (1)
4730var suppressions = tree.GetRoot().DescendantNodes().OfType<PostfixUnaryExpressionSyntax>().Where(p => p.IsKind(SyntaxKind.SuppressNullableWarningExpression)).ToList();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (68)
Parsing\CollectionExpressionParsingTests.cs (13)
6108N(SyntaxKind.SuppressNullableWarningExpression); 10425N(SyntaxKind.SuppressNullableWarningExpression); 10475N(SyntaxKind.SuppressNullableWarningExpression); 10546N(SyntaxKind.SuppressNullableWarningExpression); 10603N(SyntaxKind.SuppressNullableWarningExpression); 10687N(SyntaxKind.SuppressNullableWarningExpression); 10758N(SyntaxKind.SuppressNullableWarningExpression); 10844N(SyntaxKind.SuppressNullableWarningExpression); 10909N(SyntaxKind.SuppressNullableWarningExpression); 10995N(SyntaxKind.SuppressNullableWarningExpression); 11075N(SyntaxKind.SuppressNullableWarningExpression); 11176N(SyntaxKind.SuppressNullableWarningExpression); 11241N(SyntaxKind.SuppressNullableWarningExpression);
Parsing\FieldKeywordParsingTests.cs (1)
1221N(SyntaxKind.SuppressNullableWarningExpression);
Parsing\LambdaParameterParsingTests.cs (30)
811N(SyntaxKind.SuppressNullableWarningExpression); 813N(SyntaxKind.SuppressNullableWarningExpression); 877N(SyntaxKind.SuppressNullableWarningExpression); 879N(SyntaxKind.SuppressNullableWarningExpression); 947N(SyntaxKind.SuppressNullableWarningExpression); 949N(SyntaxKind.SuppressNullableWarningExpression); 1007N(SyntaxKind.SuppressNullableWarningExpression); 1344N(SyntaxKind.SuppressNullableWarningExpression); 1346N(SyntaxKind.SuppressNullableWarningExpression); 1593N(SyntaxKind.SuppressNullableWarningExpression); 1643N(SyntaxKind.SuppressNullableWarningExpression); 1696N(SyntaxKind.SuppressNullableWarningExpression); 1764N(SyntaxKind.SuppressNullableWarningExpression); 1830N(SyntaxKind.SuppressNullableWarningExpression); 1832N(SyntaxKind.SuppressNullableWarningExpression); 1888N(SyntaxKind.SuppressNullableWarningExpression); 1954N(SyntaxKind.SuppressNullableWarningExpression); 1956N(SyntaxKind.SuppressNullableWarningExpression); 4365N(SyntaxKind.SuppressNullableWarningExpression); 4367N(SyntaxKind.SuppressNullableWarningExpression); 4432N(SyntaxKind.SuppressNullableWarningExpression); 4434N(SyntaxKind.SuppressNullableWarningExpression); 4511N(SyntaxKind.SuppressNullableWarningExpression); 4513N(SyntaxKind.SuppressNullableWarningExpression); 4790N(SyntaxKind.SuppressNullableWarningExpression); 4792N(SyntaxKind.SuppressNullableWarningExpression); 4849N(SyntaxKind.SuppressNullableWarningExpression); 4851N(SyntaxKind.SuppressNullableWarningExpression); 4920N(SyntaxKind.SuppressNullableWarningExpression); 4922N(SyntaxKind.SuppressNullableWarningExpression);
Parsing\PatternParsingTests2.cs (1)
672N(SyntaxKind.SuppressNullableWarningExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (22)
54N(SyntaxKind.SuppressNullableWarningExpression); 87N(SyntaxKind.SuppressNullableWarningExpression); 107N(SyntaxKind.SuppressNullableWarningExpression); 109N(SyntaxKind.SuppressNullableWarningExpression); 134N(SyntaxKind.SuppressNullableWarningExpression); 161N(SyntaxKind.SuppressNullableWarningExpression); 231N(SyntaxKind.SuppressNullableWarningExpression); 277N(SyntaxKind.SuppressNullableWarningExpression); 325N(SyntaxKind.SuppressNullableWarningExpression); 606N(SyntaxKind.SuppressNullableWarningExpression); 672N(SyntaxKind.SuppressNullableWarningExpression); 732N(SyntaxKind.SuppressNullableWarningExpression); 765N(SyntaxKind.SuppressNullableWarningExpression); 834N(SyntaxKind.SuppressNullableWarningExpression); 870N(SyntaxKind.SuppressNullableWarningExpression); 872N(SyntaxKind.SuppressNullableWarningExpression); 909N(SyntaxKind.SuppressNullableWarningExpression); 911N(SyntaxKind.SuppressNullableWarningExpression); 913N(SyntaxKind.SuppressNullableWarningExpression); 915N(SyntaxKind.SuppressNullableWarningExpression); 947N(SyntaxKind.SuppressNullableWarningExpression); 949N(SyntaxKind.SuppressNullableWarningExpression);
Parsing\TopLevelStatementsParsingTests.cs (1)
914N(SyntaxKind.SuppressNullableWarningExpression);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
402case PostfixUnaryExpressionSyntax { RawKind: (int)SyntaxKind.SuppressNullableWarningExpression, Operand: { } operand }:
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (3)
38while (expression is PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression) postfixExpression) 209while (expression?.Parent is ParenthesizedExpressionSyntax or PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression)) 710case SyntaxKind.SuppressNullableWarningExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
200SyntaxKind.SuppressNullableWarningExpression) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
474currentToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression)) 521&& !previousToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
218token.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))