共用方式為


CommandLineArguments.ResolveAnalyzerReferences 方法

定義

使用指定的檔案解析程式解析儲存在 中的 AnalyzerReferences 分析器參考。

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^> ^ ResolveAnalyzerReferences(Microsoft::CodeAnalysis::IAnalyzerAssemblyLoader ^ analyzerLoader);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__182))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__186))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__200))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__190))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__192))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__204))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> ResolveAnalyzerReferences (Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader analyzerLoader);
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__182))>]
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__186))>]
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__200))>]
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__190))>]
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__192))>]
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.CommandLineArguments+<ResolveAnalyzerReferences>d__204))>]
member this.ResolveAnalyzerReferences : Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader -> seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>
Public Iterator Function ResolveAnalyzerReferences (analyzerLoader As IAnalyzerAssemblyLoader) As IEnumerable(Of AnalyzerReference)

參數

analyzerLoader
IAnalyzerAssemblyLoader

從檔案路徑載入元件

傳回

產生已 AnalyzerFileReference 解析或 UnresolvedAnalyzerReference

屬性

適用於