Open sandboxFocus

Class InitializeServicesContext

Context passed to a source transformer when InitializeServices(InitializeServicesContext) is called.

Inheritance
InitializeServicesContext
Namespace: Metalama.Compiler
Assembly: Metalama.Compiler.Interface.dll
Syntax
public sealed class InitializeServicesContext

Properties

Name Description
AnalyzerConfigOptionsProvider

Gets the AnalyzerConfigOptionsProvider, which allows to access .editorconfig options.

Compilation

Gets the Compilation.

Options

Gets options of the current InitializeServicesContext.

Methods

Name Description
ReportDiagnostic(Diagnostic)

Adds a Diagnostic to the user's compilation.

Extension Methods