Method
GetDiagnostics
func GetDiagnostics(projectId: ProjectId, analyzerOptions: CompilationWithAnalyzersOptions? = null, cancellationToken: CancellationToken = default) -> ImmutableArray<Diagnostic>
Declaring type: Workspace
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Workspace.cs
Gets diagnostics for the specified project, including analyzer diagnostics.
Parameters
| Name | Type | Description |
|---|---|---|
projectId |
ProjectId | |
analyzerOptions |
CompilationWithAnalyzersOptions? | |
cancellationToken |
CancellationToken |
Return value
ImmutableArray<Diagnostic>