SyntaxNodeOrToken.WithAdditionalAnnotations 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
WithAdditionalAnnotations(SyntaxAnnotation[]) |
Creates a new node or token identical to this one with the specified annotations. |
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>) |
Creates a new node or token identical to this one with the specified annotations. |
WithAdditionalAnnotations(SyntaxAnnotation[])
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
Creates a new node or token identical to this one with the specified annotations.
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithAdditionalAnnotations(... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithAdditionalAnnotations (params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations);
member this.WithAdditionalAnnotations : Microsoft.CodeAnalysis.SyntaxAnnotation[] -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithAdditionalAnnotations (ParamArray annotations As SyntaxAnnotation()) As SyntaxNodeOrToken
Parameters
- annotations
- SyntaxAnnotation[]
Returns
Applies to
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
Creates a new node or token identical to this one with the specified annotations.
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithAdditionalAnnotations(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithAdditionalAnnotations (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations);
member this.WithAdditionalAnnotations : seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithAdditionalAnnotations (annotations As IEnumerable(Of SyntaxAnnotation)) As SyntaxNodeOrToken
Parameters
- annotations
- IEnumerable<SyntaxAnnotation>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.