4 references to WithExpression
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyHelper`1.cs (1)
197
return arrowExpression.
WithExpression
(
Microsoft.CodeAnalysis.CSharp.Features (2)
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (1)
265
return accessor.WithExpressionBody(oldExpressionBody.
WithExpression
(expression))
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyHelper`1.cs (1)
197
return arrowExpression.
WithExpression
(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
13551
var newNode = node.WithArrowToken(node.ArrowToken).
WithExpression
(node.Expression);