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