Project.RemoveAnalyzerReference(AnalyzerReference) Method

Definition

Creates a new instance of this project updated to no longer include the specified analyzer reference.

public:
 Microsoft::CodeAnalysis::Project ^ RemoveAnalyzerReference(Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^ analyzerReference);
public Microsoft.CodeAnalysis.Project RemoveAnalyzerReference (Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.RemoveAnalyzerReference : Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Project
Public Function RemoveAnalyzerReference (analyzerReference As AnalyzerReference) As Project

Parameters

analyzerReference
AnalyzerReference

Returns

Applies to