SyntaxGenerator.AddReturnAttributes 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
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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.