CommandLineArguments.ResolveAnalyzerReferences Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.