6 references to WithBody
ILLink.CodeFixProvider (1)
RequiresUnsafeCodeFixProvider.cs (1)
445
.
WithBody
(blockBody);
Microsoft.CodeAnalysis.CSharp (3)
_generated\2\Syntax.xml.Syntax.Generated.cs (3)
13029
internal override BaseMethodDeclarationSyntax WithBodyCore(BlockSyntax? body) =>
WithBody
(body);
13046
return
WithBody
(body.WithAttributeLists(body.AttributeLists.AddRange(items)));
13052
return
WithBody
(body.WithStatements(body.Statements.AddRange(items)));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
376
=> SyntaxFactory.DestructorDeclaration(destructorMethod.ContainingType.Name).
WithBody
(SyntaxFactory.Block());
Microsoft.DotNet.GenFacades (1)
NotSupportedAssemblyGenerator.cs (1)
166
return node.
WithBody
(block);