Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Metalama.​Compiler

Metalama.​Compiler.​Services

Metalama.​Framework.​Engine

Metalama.​Framework.​Engine.​Aspect­Weavers

Metalama.​Framework.​Engine.​Code­Model

Metalama.​Framework.​Engine.​Collections

Metalama.​Framework.​Engine.​Diagnostics

Metalama.​Framework.​Engine.​Formatting

Metalama.​Framework.​Engine.​Metrics

Metalama.​Framework.​Engine.​Services

Metalama.​Framework.​Engine.​Utilities

Metalama.​Framework.​Engine.​Utilities.​Roslyn

Metalama.​Framework.​Engine.​Utilities.​Threading

Metalama.​Testing.​Aspect­Testing

Metalama.​Testing.​Unit­Testing

Post­Sharp API migration

  • Article

Method WithIncludeInReferenceAssemblyAnnotation

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
  • Navigation