3 references to WithBlock
Microsoft.CodeAnalysis.CSharp (2)
Syntax.xml.Syntax.Generated.cs (2)
9088
public CatchClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) =>
WithBlock
(this.Block.WithAttributeLists(this.Block.AttributeLists.AddRange(items)));
9089
public CatchClauseSyntax AddBlockStatements(params StatementSyntax[] items) =>
WithBlock
(this.Block.WithStatements(this.Block.Statements.AddRange(items)));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
12905
var newNode = node.WithCatchKeyword(node.CatchKeyword).WithDeclaration(node.Declaration).WithFilter(node.Filter).
WithBlock
(node.Block);