4 references to WithExpression
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\ArgumentFixer.cs (1)
21
=> oldArgument.
WithExpression
(oldArgument.Expression.Cast(conversionType));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\ArgumentFixer.cs (1)
21
=> oldArgument.
WithExpression
(oldArgument.Expression.Cast(conversionType));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
11681
var newNode = node.WithNameColon(node.NameColon).WithRefKindKeyword(node.RefKindKeyword).
WithExpression
(node.Expression);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\CSharpSimplificationService.Expander.cs (1)
279
return newArgument.
WithExpression
(newArgumentExpressionWithCast);