CommandLineArguments.ResolveAnalyzerReferences Method

Definition

Resolves analyzer references stored in AnalyzerReferences using given file resolver.

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)

Parameters

analyzerLoader
IAnalyzerAssemblyLoader

Load an assembly from a file path

Returns

Yields resolved AnalyzerFileReference or UnresolvedAnalyzerReference.

Attributes

Applies to