3 references to WithBlock
Microsoft.CodeAnalysis.CSharp (2)
Syntax.xml.Syntax.Generated.cs (2)
9236
public FinallyClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) =>
WithBlock
(this.Block.WithAttributeLists(this.Block.AttributeLists.AddRange(items)));
9237
public FinallyClauseSyntax 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)
12942
var newNode = node.WithFinallyKeyword(node.FinallyKeyword).
WithBlock
(node.Block);