5 references to WithExpression
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (2)
92
StatementSyntax newStatement = expressionStatement.
WithExpression
(
135
var newStatement = expressionStatement.
WithExpression
(
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (2)
92
StatementSyntax newStatement = expressionStatement.
WithExpression
(
135
var newStatement = expressionStatement.
WithExpression
(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
12498
var newNode = node.WithAttributeLists(node.AttributeLists).
WithExpression
(node.Expression).WithSemicolonToken(node.SemicolonToken);