3 references to WithStatement
Microsoft.CodeAnalysis.CSharp (1)
Syntax.xml.Syntax.Generated.cs (1)
7813
internal override CommonForEachStatementSyntax WithStatementCore(StatementSyntax statement) =>
WithStatement
(statement);
Microsoft.CodeAnalysis.CSharp.Features (1)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
220
.
WithStatement
(ReplaceStatementIfNeeded(node.Statement));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
12671
var newNode = node.WithAttributeLists(node.AttributeLists).WithAwaitKeyword(node.AwaitKeyword).WithForEachKeyword(node.ForEachKeyword).WithOpenParenToken(node.OpenParenToken).WithType(node.Type).WithIdentifier(node.Identifier).WithInKeyword(node.InKeyword).WithExpression(node.Expression).WithCloseParenToken(node.CloseParenToken).
WithStatement
(node.Statement);