11 references to NullLiteralExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
78=> (TSwitchArmSyntax)generator.SwitchSection(generator.NullLiteralExpression(), new[] { generator.ExitSwitchStatement() });
SyntaxGeneratorExtensions_Negate.cs (2)
158return generatorInternal.IsPatternExpression(leftOperand, operatorToken, generatorInternal.ConstantPattern(generator.NullLiteralExpression())); 539generator.NullLiteralExpression().WithTriviaFrom(type)));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpPopulateSwitchExpressionCodeFixProvider.cs (1)
41=> SwitchExpressionArm(ConstantPattern((LiteralExpressionSyntax)generator.NullLiteralExpression()), Exception(generator, compilation));
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpPopulateSwitchExpressionCodeFixProvider.cs (1)
41=> SwitchExpressionArm(ConstantPattern((LiteralExpressionSyntax)generator.NullLiteralExpression()), Exception(generator, compilation));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\ExpressionGenerationTests.cs (1)
42f => f.NullLiteralExpression(),
Microsoft.CodeAnalysis.Features (1)
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
78=> (TSwitchArmSyntax)generator.SwitchSection(generator.NullLiteralExpression(), new[] { generator.ExitSwitchStatement() });
Microsoft.CodeAnalysis.Workspaces (4)
Shared\Extensions\SyntaxGeneratorExtensions.cs (1)
205var nullExpr = factory.NullLiteralExpression();
Shared\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
315var nullLiteral = factory.NullLiteralExpression();
SyntaxGeneratorExtensions_Negate.cs (2)
158return generatorInternal.IsPatternExpression(leftOperand, operatorToken, generatorInternal.ConstantPattern(generator.NullLiteralExpression())); 539generator.NullLiteralExpression().WithTriviaFrom(type)));