SyntaxToken.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[]) |
Adds this annotation to a given syntax token, creating a new syntax token of the same type with the annotation on it. |
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>) |
Adds this annotation to a given syntax token, creating a new syntax token of the same type with the annotation on it. |
WithAdditionalAnnotations(SyntaxAnnotation[])
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
Adds this annotation to a given syntax token, creating a new syntax token of the same type with the annotation on it.
public:
Microsoft::CodeAnalysis::SyntaxToken WithAdditionalAnnotations(... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxToken WithAdditionalAnnotations (params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations);
member this.WithAdditionalAnnotations : Microsoft.CodeAnalysis.SyntaxAnnotation[] -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithAdditionalAnnotations (ParamArray annotations As SyntaxAnnotation()) As SyntaxToken
Parameters
- annotations
- SyntaxAnnotation[]
Returns
Applies to
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
Adds this annotation to a given syntax token, creating a new syntax token of the same type with the annotation on it.
public:
Microsoft::CodeAnalysis::SyntaxToken WithAdditionalAnnotations(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxToken WithAdditionalAnnotations (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations);
member this.WithAdditionalAnnotations : seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithAdditionalAnnotations (annotations As IEnumerable(Of SyntaxAnnotation)) As SyntaxToken
Parameters
- annotations
- IEnumerable<SyntaxAnnotation>