CreateGeneratedCodeAnnotation(string)
Creates a SyntaxAnnotation that can be added to syntax nodes to mean that they have been generated by some component, typically by an aspect.
Declaration
public static SyntaxAnnotation CreateGeneratedCodeAnnotation(string origin)
Parameters
Type | Name | Description |
---|---|---|
string | origin | A human-readable text that identifies the originating component (typically an aspect). |
Returns
Type | Description |
---|---|
SyntaxAnnotation | A SyntaxAnnotation that can be added to syntax. |