SyntaxGenerator.AddReturnAttributes Method

Definition

Overloads

AddReturnAttributes(SyntaxNode, IEnumerable<SyntaxNode>)

Creates a new instance of a method declaration with return attributes added.

AddReturnAttributes(SyntaxNode, SyntaxNode[])

Creates a new instance of a method declaration node with return attributes added.

AddReturnAttributes(SyntaxNode, IEnumerable<SyntaxNode>)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates a new instance of a method declaration with return attributes added.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AddReturnAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode AddReturnAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributes);
member this.AddReturnAttributes : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AddReturnAttributes (declaration As SyntaxNode, attributes As IEnumerable(Of SyntaxNode)) As SyntaxNode

Parameters

declaration
SyntaxNode
attributes
IEnumerable<SyntaxNode>

Returns

Applies to

AddReturnAttributes(SyntaxNode, SyntaxNode[])

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates a new instance of a method declaration node with return attributes added.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AddReturnAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode AddReturnAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, params Microsoft.CodeAnalysis.SyntaxNode[] attributes);
member this.AddReturnAttributes : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AddReturnAttributes (declaration As SyntaxNode, ParamArray attributes As SyntaxNode()) As SyntaxNode

Parameters

declaration
SyntaxNode
attributes
SyntaxNode[]

Returns

Applies to