95 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)
10900case SyntaxKind.SuppressNullableWarningExpression: 11731expr = _syntaxFactory.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, this.EatToken()); 11873expr = _syntaxFactory.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, EatToken());
Syntax\SyntaxKindFacts.cs (1)
459return SyntaxKind.SuppressNullableWarningExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Analyzers\CSharp\Analyzers\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionDiagnosticAnalyzer.cs (1)
40if (left.Kind() != SyntaxKind.SuppressNullableWarningExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (3)
39while (expression is PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression) postfixExpression) 210while (expression?.Parent is ParenthesizedExpressionSyntax or PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression)) 711case SyntaxKind.SuppressNullableWarningExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
200SyntaxKind.SuppressNullableWarningExpression) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
478currentToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression)) 525&& !previousToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
120public int? SuppressNullableWarningExpression => (int)SyntaxKind.SuppressNullableWarningExpression;
Microsoft.CodeAnalysis.CSharp.Features (2)
InlineHints\CSharpInlineParameterNameHintsService.cs (1)
94PostfixUnaryExpressionSyntax(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)
4727var 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)
806N(SyntaxKind.SuppressNullableWarningExpression); 808N(SyntaxKind.SuppressNullableWarningExpression); 872N(SyntaxKind.SuppressNullableWarningExpression); 874N(SyntaxKind.SuppressNullableWarningExpression); 942N(SyntaxKind.SuppressNullableWarningExpression); 944N(SyntaxKind.SuppressNullableWarningExpression); 1002N(SyntaxKind.SuppressNullableWarningExpression); 1339N(SyntaxKind.SuppressNullableWarningExpression); 1341N(SyntaxKind.SuppressNullableWarningExpression); 1588N(SyntaxKind.SuppressNullableWarningExpression); 1638N(SyntaxKind.SuppressNullableWarningExpression); 1691N(SyntaxKind.SuppressNullableWarningExpression); 1759N(SyntaxKind.SuppressNullableWarningExpression); 1825N(SyntaxKind.SuppressNullableWarningExpression); 1827N(SyntaxKind.SuppressNullableWarningExpression); 1883N(SyntaxKind.SuppressNullableWarningExpression); 1949N(SyntaxKind.SuppressNullableWarningExpression); 1951N(SyntaxKind.SuppressNullableWarningExpression); 4360N(SyntaxKind.SuppressNullableWarningExpression); 4362N(SyntaxKind.SuppressNullableWarningExpression); 4427N(SyntaxKind.SuppressNullableWarningExpression); 4429N(SyntaxKind.SuppressNullableWarningExpression); 4506N(SyntaxKind.SuppressNullableWarningExpression); 4508N(SyntaxKind.SuppressNullableWarningExpression); 4785N(SyntaxKind.SuppressNullableWarningExpression); 4787N(SyntaxKind.SuppressNullableWarningExpression); 4844N(SyntaxKind.SuppressNullableWarningExpression); 4846N(SyntaxKind.SuppressNullableWarningExpression); 4915N(SyntaxKind.SuppressNullableWarningExpression); 4917N(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 (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (3)
39while (expression is PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression) postfixExpression) 210while (expression?.Parent is ParenthesizedExpressionSyntax or PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression)) 711case SyntaxKind.SuppressNullableWarningExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
200SyntaxKind.SuppressNullableWarningExpression) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
478currentToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression)) 525&& !previousToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
120public int? SuppressNullableWarningExpression => (int)SyntaxKind.SuppressNullableWarningExpression;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
219token.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))