SyntaxTrivia.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 SyntaxTrivia with the specified annotations. |
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>) |
Creates a new SyntaxTrivia with the specified annotations. |
WithAdditionalAnnotations(SyntaxAnnotation[])
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
Creates a new SyntaxTrivia with the specified annotations.
public:
Microsoft::CodeAnalysis::SyntaxTrivia WithAdditionalAnnotations(... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxTrivia WithAdditionalAnnotations (params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations);
member this.WithAdditionalAnnotations : Microsoft.CodeAnalysis.SyntaxAnnotation[] -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Function WithAdditionalAnnotations (ParamArray annotations As SyntaxAnnotation()) As SyntaxTrivia
Parameters
- annotations
- SyntaxAnnotation[]
Returns
Applies to
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
- Source:
- SyntaxTrivia.cs
Creates a new SyntaxTrivia with the specified annotations.
public:
Microsoft::CodeAnalysis::SyntaxTrivia WithAdditionalAnnotations(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxTrivia WithAdditionalAnnotations (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations);
member this.WithAdditionalAnnotations : seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Function WithAdditionalAnnotations (annotations As IEnumerable(Of SyntaxAnnotation)) As SyntaxTrivia
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.