AnalyzerReference.GetGenerators 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.
Overloads
GetGenerators() |
Obsolete.
Gets all the source generators defined in this assembly reference. |
GetGenerators(String) |
Gets all the generators defined in this assembly reference for the given |
GetGenerators()
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
Caution
Use GetGenerators(string language) or GetGeneratorsForAllLanguages()
Gets all the source generators defined in this assembly reference.
[System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")]
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
[<System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")>]
abstract member GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
abstract member GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
Public Overridable Function GetGenerators () As ImmutableArray(Of ISourceGenerator)
Returns
- Attributes
Applies to
GetGenerators(String)
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
Gets all the generators defined in this assembly reference for the given language
.
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators (string language);
abstract member GetGenerators : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
Public Overridable Function GetGenerators (language As String) As ImmutableArray(Of ISourceGenerator)
Parameters
- language
- String
Language name.