API Browser

Method

GetDocumentDiagnosticsWithAnalyzers

func GetDocumentDiagnosticsWithAnalyzers(projectId: ProjectId, documentId: DocumentId, analyzerOptions: CompilationWithAnalyzersOptions? = null, cancellationToken: CancellationToken = default) -> ImmutableArray<Diagnostic>

Declaring type: Workspace
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Workspace.cs

Parameters

Name Type Description
projectId ProjectId
documentId DocumentId
analyzerOptions CompilationWithAnalyzersOptions?
cancellationToken CancellationToken

Return value

ImmutableArray<Diagnostic>