39 instantiations of VisualBasicCompilationOptions
Microsoft.CodeAnalysis.VisualBasic (39)
VisualBasicCompilationOptions.vb (39)
484Return New VisualBasicCompilationOptions(Me) With {.OutputKind = kind} 497Return New VisualBasicCompilationOptions(Me) With {.ModuleName = moduleName} 510Return New VisualBasicCompilationOptions(Me) With {.ScriptClassName = name} 523Return New VisualBasicCompilationOptions(Me) With {.MainTypeName = name} 536Return New VisualBasicCompilationOptions(Me) With {._globalImports = globalImports} 545Return New VisualBasicCompilationOptions(Me) With {._globalImports = globalImports.AsImmutableOrEmpty()} 567Return New VisualBasicCompilationOptions(Me) With {._rootNamespace = rootNamespace} 580Return New VisualBasicCompilationOptions(Me) With {._optionStrict = value} 593Return New VisualBasicCompilationOptions(Me) With {._optionInfer = value} 606Return New VisualBasicCompilationOptions(Me) With {._optionExplicit = value} 619Return New VisualBasicCompilationOptions(Me) With {._optionCompareText = value} 632Return New VisualBasicCompilationOptions(Me) With {._embedVbCoreRuntime = value} 645Return New VisualBasicCompilationOptions(Me) With {.CheckOverflow = enabled} 658Return New VisualBasicCompilationOptions(Me) With {.ConcurrentBuild = concurrentBuild} 671Return New VisualBasicCompilationOptions(Me) With {.Deterministic = deterministic} 679Return New VisualBasicCompilationOptions(Me) With {.CurrentLocalTime = value} 692Return New VisualBasicCompilationOptions(Me) With {.DebugPlusMode = debugPlusMode} 706Return New VisualBasicCompilationOptions(Me) With {._suppressEmbeddedDeclarations = suppressEmbeddedDeclarations} 719Return New VisualBasicCompilationOptions(Me) With {._ignoreCorLibraryDuplicatedTypes = ignoreCorLibraryDuplicatedTypes} 732Return New VisualBasicCompilationOptions(Me) With {.CryptoKeyContainer = name} 749Return New VisualBasicCompilationOptions(Me) With {.CryptoKeyFile = path} 766Return New VisualBasicCompilationOptions(Me) With {.CryptoPublicKey = value} 779Return New VisualBasicCompilationOptions(Me) With {.DelaySign = value} 792Return New VisualBasicCompilationOptions(Me) With {.Platform = value} 800Return New VisualBasicCompilationOptions(Me) With {.PublicSign = value} 846Return New VisualBasicCompilationOptions(Me) With {.GeneralDiagnosticOption = value} 863Return New VisualBasicCompilationOptions(Me) With {.SpecificDiagnosticOptions = value} 872Return New VisualBasicCompilationOptions(Me) With {.SpecificDiagnosticOptions = value.ToImmutableDictionaryOrEmpty()} 885Return New VisualBasicCompilationOptions(Me) With {.ReportSuppressedDiagnostics = value} 897Return New VisualBasicCompilationOptions(Me) With {.OptimizationLevel = value} 909Return New VisualBasicCompilationOptions(Me) With {.MetadataImportOptions = value} 917Return New VisualBasicCompilationOptions(Me) With {.ReferencesSupersedeLowerVersions = value} 930Return New VisualBasicCompilationOptions(Me) With {._parseOptions = options} 938Return New VisualBasicCompilationOptions(Me) With {.XmlReferenceResolver = resolver} 946Return New VisualBasicCompilationOptions(Me) With {.SourceReferenceResolver = resolver} 954Return New VisualBasicCompilationOptions(Me) With {.SyntaxTreeOptionsProvider = provider} 962Return New VisualBasicCompilationOptions(Me) With {.MetadataReferenceResolver = resolver} 972Return New VisualBasicCompilationOptions(Me) With {.AssemblyIdentityComparer = comparer} 980Return New VisualBasicCompilationOptions(Me) With {.StrongNameProvider = provider}
74 references to VisualBasicCompilationOptions
Microsoft.CodeAnalysis.VisualBasic (74)
CommandLine\VisualBasicCommandLineArguments.vb (1)
29Public Overloads Property CompilationOptions As VisualBasicCompilationOptions
Compilation\VisualBasicCompilation.vb (10)
78Private ReadOnly _options As VisualBasicCompilationOptions 210Public Shadows ReadOnly Property Options As VisualBasicCompilationOptions 328Optional options As VisualBasicCompilationOptions = Nothing 347Optional options As VisualBasicCompilationOptions = Nothing, 368options As VisualBasicCompilationOptions, 418options As VisualBasicCompilationOptions, 619Public Shadows Function WithOptions(newOptions As VisualBasicCompilationOptions) As VisualBasicCompilation 978compilationOptions As VisualBasicCompilationOptions, 991Private Shared Function ForTree(tree As SyntaxTree, options As VisualBasicCompilationOptions, isSubmission As Boolean) As RootSingleNamespaceDeclaration 2796Return Me.WithOptions(DirectCast(options, VisualBasicCompilationOptions))
Compilation\VisualBasicDeterministicKeyBuilder.vb (1)
65Dim basicOptions = TryCast(options, VisualBasicCompilationOptions)
SourceGeneration\VisualBasicSyntaxHelper.vb (1)
104Dim vbOptions = DirectCast(options, VisualBasicCompilationOptions)
Symbols\Source\SourceAssemblySymbol.vb (2)
1468Dim compilationOptions As VisualBasicCompilationOptions = compilation.Options 1517Dim options As VisualBasicCompilationOptions = Me.DeclaringCompilation.Options
Symbols\Source\SourceModuleSymbol.vb (3)
37Private ReadOnly _options As VisualBasicCompilationOptions 58Friend ReadOnly Property Options As VisualBasicCompilationOptions 88options As VisualBasicCompilationOptions,
VisualBasicCompilationOptions.vb (56)
17Implements IEquatable(Of VisualBasicCompilationOptions) 296Friend Sub New(other As VisualBasicCompilationOptions) 479Public Shadows Function WithOutputKind(kind As OutputKind) As VisualBasicCompilationOptions 492Public Shadows Function WithModuleName(moduleName As String) As VisualBasicCompilationOptions 505Public Shadows Function WithScriptClassName(name As String) As VisualBasicCompilationOptions 518Public Shadows Function WithMainTypeName(name As String) As VisualBasicCompilationOptions 531Public Function WithGlobalImports(globalImports As ImmutableArray(Of GlobalImport)) As VisualBasicCompilationOptions 544Public Function WithGlobalImports(globalImports As IEnumerable(Of GlobalImport)) As VisualBasicCompilationOptions 553Public Function WithGlobalImports(ParamArray globalImports As GlobalImport()) As VisualBasicCompilationOptions 562Public Function WithRootNamespace(rootNamespace As String) As VisualBasicCompilationOptions 575Public Shadows Function WithOptionStrict(value As OptionStrict) As VisualBasicCompilationOptions 588Public Shadows Function WithOptionInfer(value As Boolean) As VisualBasicCompilationOptions 601Public Shadows Function WithOptionExplicit(value As Boolean) As VisualBasicCompilationOptions 614Public Shadows Function WithOptionCompareText(value As Boolean) As VisualBasicCompilationOptions 627Public Shadows Function WithEmbedVbCoreRuntime(value As Boolean) As VisualBasicCompilationOptions 640Public Shadows Function WithOverflowChecks(enabled As Boolean) As VisualBasicCompilationOptions 653Public Shadows Function WithConcurrentBuild(concurrentBuild As Boolean) As VisualBasicCompilationOptions 666Public Shadows Function WithDeterministic(deterministic As Boolean) As VisualBasicCompilationOptions 674Friend Function WithCurrentLocalTime(value As Date) As VisualBasicCompilationOptions 687Friend Function WithDebugPlusMode(debugPlusMode As Boolean) As VisualBasicCompilationOptions 701Friend Function WithSuppressEmbeddedDeclarations(suppressEmbeddedDeclarations As Boolean) As VisualBasicCompilationOptions 714Friend Function WithIgnoreCorLibraryDuplicatedTypes(ignoreCorLibraryDuplicatedTypes As Boolean) As VisualBasicCompilationOptions 727Public Shadows Function WithCryptoKeyContainer(name As String) As VisualBasicCompilationOptions 740Public Shadows Function WithCryptoKeyFile(path As String) As VisualBasicCompilationOptions 757Public Shadows Function WithCryptoPublicKey(value As ImmutableArray(Of Byte)) As VisualBasicCompilationOptions 774Public Shadows Function WithDelaySign(value As Boolean?) As VisualBasicCompilationOptions 783''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with a different platform specified. 787Public Shadows Function WithPlatform(value As Platform) As VisualBasicCompilationOptions 795Public Shadows Function WithPublicSign(value As Boolean) As VisualBasicCompilationOptions 837''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with a different report warning specified. 841Public Shadows Function WithGeneralDiagnosticOption(value As ReportDiagnostic) As VisualBasicCompilationOptions 850''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with different specific warnings specified. 854Public Shadows Function WithSpecificDiagnosticOptions(value As ImmutableDictionary(Of String, ReportDiagnostic)) As VisualBasicCompilationOptions 867''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with different specific warnings specified. 871Public Shadows Function WithSpecificDiagnosticOptions(value As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic))) As VisualBasicCompilationOptions 876''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with specified suppress diagnostics reporting option. 880Public Shadows Function WithReportSuppressedDiagnostics(value As Boolean) As VisualBasicCompilationOptions 889''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with a specified <see cref="VisualBasicCompilationOptions.OptimizationLevel"/>. 891''' <returns>A new instance of <see cref="VisualBasicCompilationOptions"/>, if the value is different; otherwise the current instance.</returns> 892Public Shadows Function WithOptimizationLevel(value As OptimizationLevel) As VisualBasicCompilationOptions 901''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with a specified <see cref="CodeAnalysis.MetadataImportOptions"/>. 903''' <returns>A new instance of <see cref="VisualBasicCompilationOptions"/>, if the value is different; otherwise the current instance.</returns> 904Public Shadows Function WithMetadataImportOptions(value As MetadataImportOptions) As VisualBasicCompilationOptions 912Friend Function WithReferencesSupersedeLowerVersions(value As Boolean) As VisualBasicCompilationOptions 921''' Creates a new <see cref="VisualBasicCompilationOptions"/> instance with a different parse option specified. 925Public Function WithParseOptions(options As VisualBasicParseOptions) As VisualBasicCompilationOptions 933Public Shadows Function WithXmlReferenceResolver(resolver As XmlReferenceResolver) As VisualBasicCompilationOptions 941Public Shadows Function WithSourceReferenceResolver(resolver As SourceReferenceResolver) As VisualBasicCompilationOptions 949Public Shadows Function WithSyntaxTreeOptionsProvider(provider As SyntaxTreeOptionsProvider) As VisualBasicCompilationOptions 957Public Shadows Function WithMetadataReferenceResolver(resolver As MetadataReferenceResolver) As VisualBasicCompilationOptions 965Public Shadows Function WithAssemblyIdentityComparer(comparer As AssemblyIdentityComparer) As VisualBasicCompilationOptions 975Public Shadows Function WithStrongNameProvider(provider As StrongNameProvider) As VisualBasicCompilationOptions 1085Public Overloads Function Equals(other As VisualBasicCompilationOptions) As Boolean Implements IEquatable(Of VisualBasicCompilationOptions).Equals 1112Return Me.Equals(TryCast(obj, VisualBasicCompilationOptions))