MetalamaCompilerAnnotations.WithIncludeInReferenceAssemblyAnnotation Method
WithIncludeInReferenceAssemblyAnnotation<T>(T)
Adds an annotation that means that the declaration of the target syntax node should be included in a reference assembly, even if it otherwise wouldn't be due to its accessibility.
Declaration
public static T WithIncludeInReferenceAssemblyAnnotation<T>(this T syntaxNode) where T : SyntaxNode
Parameters
Type | Name | Description |
---|---|---|
T | syntaxNode |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |