4 references to WithCondition
Microsoft.CodeAnalysis.CSharp.Features (3)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
173return node.WithCondition(VisitNode(node.Condition))
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (1)
153.WithCondition((ExpressionSyntax)condition)
SplitOrMergeIfStatements\CSharpIfLikeStatementGenerator.cs (1)
109return ifStatement.WithCondition((ExpressionSyntax)condition);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
12776var newNode = node.WithAttributeLists(node.AttributeLists).WithIfKeyword(node.IfKeyword).WithOpenParenToken(node.OpenParenToken).WithCondition(node.Condition).WithCloseParenToken(node.CloseParenToken).WithStatement(node.Statement).WithElse(node.Else);