10 references to TrueLiteralExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (2)
168g.IdentifierName(disposedValueField.Name), g.TrueLiteralExpression())); 203g.Argument(DisposingName, RefKind.None, g.TrueLiteralExpression())))));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (2)
485newLiteralExpression = generator.TrueLiteralExpression(); 513return generatorInternal.ConstantPattern(generator.TrueLiteralExpression());
Microsoft.CodeAnalysis.CSharp.Features (1)
Snippets\CSharpDoWhileLoopSnippetProvider.cs (1)
37(ExpressionSyntax)(inlineExpressionInfo?.Node.WithoutLeadingTrivia() ?? generator.TrueLiteralExpression()));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\ExpressionGenerationTests.cs (1)
30f => f.TrueLiteralExpression(),
Microsoft.CodeAnalysis.Features (2)
Snippets\SnippetProviders\AbstractIfSnippetProvider.cs (1)
19=> (TIfStatementSyntax)generator.IfStatement(inlineExpressionInfo?.Node.WithoutLeadingTrivia() ?? generator.TrueLiteralExpression(), []);
Snippets\SnippetProviders\AbstractWhileLoopSnippetProvider.cs (1)
16=> (TWhileStatementSyntax)generator.WhileStatement(inlineExpressionInfo?.Node.WithoutLeadingTrivia() ?? generator.TrueLiteralExpression(), []);
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (2)
485newLiteralExpression = generator.TrueLiteralExpression(); 513return generatorInternal.ConstantPattern(generator.TrueLiteralExpression());