2 overrides of GetReturnAttributes
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1016public override IReadOnlyList<SyntaxNode> GetReturnAttributes(SyntaxNode declaration)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
1614Public Overrides Function GetReturnAttributes(declaration As SyntaxNode) As IReadOnlyList(Of SyntaxNode)
4 references to GetReturnAttributes
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.cs (2)
4312var attrs = Generator.GetReturnAttributes(declM); 4421var rattrs = Generator.GetReturnAttributes(declM);
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SyntaxGenerator.cs (2)
1048=> RemoveNodes(declaration, GetAttributes(declaration).Concat(GetReturnAttributes(declaration))); 1133=> this.InsertReturnAttributes(declaration, this.GetReturnAttributes(declaration).Count, attributes);