51 references to SuppressNullableWarningExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
790case SyntaxKind.SuppressNullableWarningExpression:
Binder\Binder_Patterns.cs (1)
482case SyntaxKind.SuppressNullableWarningExpression:
Compilation\MemberSemanticModel.cs (1)
2169case PostfixUnaryExpressionSyntax { RawKind: (int)SyntaxKind.SuppressNullableWarningExpression } n:
Parser\LanguageParser.cs (3)
10188case SyntaxKind.SuppressNullableWarningExpression: 10945expr = _syntaxFactory.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, this.EatToken()); 10976expr = _syntaxFactory.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, EatToken());
Syntax\SyntaxKindFacts.cs (1)
431return SyntaxKind.SuppressNullableWarningExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
CSharpRemoveConfusingSuppressionDiagnosticAnalyzer.cs (1)
40if (left.Kind() != SyntaxKind.SuppressNullableWarningExpression)
ExpressionSyntaxExtensions.cs (2)
203while (expression?.Parent is ParenthesizedExpressionSyntax or PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression)) 728case SyntaxKind.SuppressNullableWarningExpression:
SyntaxNodeExtensions.cs (1)
222SyntaxKind.SuppressNullableWarningExpression) &&
TokenBasedFormattingRule.cs (2)
472currentToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression)) 519&& !previousToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpRemoveConfusingSuppressionDiagnosticAnalyzer.cs (1)
40if (left.Kind() != SyntaxKind.SuppressNullableWarningExpression)
InlineHints\CSharpInlineParameterNameHintsService.cs (1)
94PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression) postfix => GetKind(postfix.Operand),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\NullablePublicAPITests.cs (1)
4731var suppressions = tree.GetRoot().DescendantNodes().OfType<PostfixUnaryExpressionSyntax>().Where(p => p.IsKind(SyntaxKind.SuppressNullableWarningExpression)).ToList();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (28)
Parsing\LambdaParameterParsingTests.cs (4)
1545N(SyntaxKind.SuppressNullableWarningExpression); 1595N(SyntaxKind.SuppressNullableWarningExpression); 4277N(SyntaxKind.SuppressNullableWarningExpression); 4279N(SyntaxKind.SuppressNullableWarningExpression);
Parsing\PatternParsingTests2.cs (1)
671N(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); 616N(SyntaxKind.SuppressNullableWarningExpression); 682N(SyntaxKind.SuppressNullableWarningExpression); 742N(SyntaxKind.SuppressNullableWarningExpression); 775N(SyntaxKind.SuppressNullableWarningExpression); 844N(SyntaxKind.SuppressNullableWarningExpression); 880N(SyntaxKind.SuppressNullableWarningExpression); 882N(SyntaxKind.SuppressNullableWarningExpression); 919N(SyntaxKind.SuppressNullableWarningExpression); 921N(SyntaxKind.SuppressNullableWarningExpression); 923N(SyntaxKind.SuppressNullableWarningExpression); 925N(SyntaxKind.SuppressNullableWarningExpression); 957N(SyntaxKind.SuppressNullableWarningExpression); 959N(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 (5)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (2)
203while (expression?.Parent is ParenthesizedExpressionSyntax or PostfixUnaryExpressionSyntax(SyntaxKind.SuppressNullableWarningExpression)) 728case SyntaxKind.SuppressNullableWarningExpression:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs\SyntaxNodeExtensions.cs (1)
222SyntaxKind.SuppressNullableWarningExpression) &&
TokenBasedFormattingRule.cs (2)
472currentToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression)) 519&& !previousToken.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
217token.Parent.IsKind(SyntaxKind.SuppressNullableWarningExpression))