VisualBasicGeneratorDriver.Create 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
Create(ImmutableArray<ISourceGenerator>, ImmutableArray<AdditionalText>, VisualBasicParseOptions, AnalyzerConfigOptionsProvider)
public static Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts = default, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider);
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver
Public Shared Function Create (generators As ImmutableArray(Of ISourceGenerator), Optional additionalTexts As ImmutableArray(Of AdditionalText) = Nothing, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider = Nothing) As VisualBasicGeneratorDriver
Public Shared Function Create (generators As ImmutableArray(Of ISourceGenerator), additionalTexts As ImmutableArray(Of AdditionalText), parseOptions As VisualBasicParseOptions, analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider) As VisualBasicGeneratorDriver
Parameters
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
- parseOptions
- VisualBasicParseOptions
- analyzerConfigOptionsProvider
- AnalyzerConfigOptionsProvider
Returns
- Attributes
Applies to
Create(ImmutableArray<ISourceGenerator>, ImmutableArray<AdditionalText>, VisualBasicParseOptions, AnalyzerConfigOptionsProvider, GeneratorDriverOptions)
public static Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts = default, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider = default, Microsoft.CodeAnalysis.GeneratorDriverOptions driverOptions = default);
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider * Microsoft.CodeAnalysis.GeneratorDriverOptions -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver
Public Shared Function Create (generators As ImmutableArray(Of ISourceGenerator), Optional additionalTexts As ImmutableArray(Of AdditionalText) = Nothing, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider = Nothing, Optional driverOptions As GeneratorDriverOptions = Nothing) As VisualBasicGeneratorDriver
Parameters
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
- parseOptions
- VisualBasicParseOptions
- analyzerConfigOptionsProvider
- AnalyzerConfigOptionsProvider
- driverOptions
- GeneratorDriverOptions
Returns
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.