Context passed to a source transformer when InitializeServices(InitializeServicesContext) is called.
Namespace: Metalama.Compiler
Assembly: Metalama.Compiler.Interface.dll
Syntax
public sealed class InitializeServicesContext
Properties
Name | Description |
---|---|
AnalyzerConfigOptionsProvider | Gets the AnalyzerConfigOptionsProvider, which allows to access |
Compilation | Gets the Compilation. |
Options | Gets options of the current InitializeServicesContext. |
Methods
Name | Description |
---|---|
ReportDiagnostic(Diagnostic) | Adds a Diagnostic to the user's compilation. |