ProjectInfo.WithAnalyzerReferences 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
Microsoft::CodeAnalysis::ProjectInfo ^ WithAnalyzerReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^> ^ analyzerReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithAnalyzerReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> analyzerReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithAnalyzerReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>? analyzerReferences);
member this.WithAnalyzerReferences : seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> -> Microsoft.CodeAnalysis.ProjectInfo
Public Function WithAnalyzerReferences (analyzerReferences As IEnumerable(Of AnalyzerReference)) As ProjectInfo
参数
- analyzerReferences
- IEnumerable<AnalyzerReference>