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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.