Поделиться через


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.

Атрибуты

Применяется к