SyntaxGenerator.InsertReturnAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InsertReturnAttributes(SyntaxNode, Int32, SyntaxNode[]) |
Creates a new instance of a method declaration with return attributes inserted. |
InsertReturnAttributes(SyntaxNode, Int32, IEnumerable<SyntaxNode>) |
Creates a new instance of a method declaration with return attributes inserted. |
InsertReturnAttributes(SyntaxNode, Int32, 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 inserted.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ InsertReturnAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode InsertReturnAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, params Microsoft.CodeAnalysis.SyntaxNode[] attributes);
member this.InsertReturnAttributes : Microsoft.CodeAnalysis.SyntaxNode * int * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function InsertReturnAttributes (declaration As SyntaxNode, index As Integer, ParamArray attributes As SyntaxNode()) As SyntaxNode
Parameters
- declaration
- SyntaxNode
- index
- Int32
- attributes
- SyntaxNode[]
Returns
Applies to
InsertReturnAttributes(SyntaxNode, Int32, 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 inserted.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ InsertReturnAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public abstract Microsoft.CodeAnalysis.SyntaxNode InsertReturnAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributes);
abstract member InsertReturnAttributes : Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function InsertReturnAttributes (declaration As SyntaxNode, index As Integer, attributes As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- declaration
- SyntaxNode
- index
- Int32
- attributes
- IEnumerable<SyntaxNode>