VisualBasicCompilation
CommonAssembly
CommonDynamicType
CommonGlobalNamespace
CommonObjectType
CommonOptions
CommonScriptClass
CommonScriptGlobalsType
CommonSourceModule
CommonSyntaxTrees
DirectiveReferences
IsCaseSensitive
Language
LanguageVersion
Options
ReferencedAssemblyNames
SyntaxTrees
AddReferences(MetadataReference[])
AddReferences(IEnumerable<MetadataReference>)
AddSyntaxTrees(SyntaxTree[])
AddSyntaxTrees(IEnumerable<SyntaxTree>)
AppendDefaultVersionResource(Stream)
ClassifyCommonConversion(ITypeSymbol, ITypeSymbol)
ClassifyConversion(ITypeSymbol, ITypeSymbol)
Clone()
CommonAddSyntaxTrees(IEnumerable<SyntaxTree>)
CommonClone()
CommonContainsSyntaxTree(SyntaxTree)
CommonCreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<Boolean>, ImmutableArray<NullableAnnotation>)
CommonCreateArrayTypeSymbol(ITypeSymbol, Int32, NullableAnnotation)
CommonCreateBuiltinOperator(String, ITypeSymbol, ITypeSymbol)
CommonCreateBuiltinOperator(String, ITypeSymbol, ITypeSymbol, ITypeSymbol)
CommonCreateErrorNamespaceSymbol(INamespaceSymbol, String)
CommonCreateErrorTypeSymbol(INamespaceOrTypeSymbol, String, Int32)
CommonCreateFunctionPointerTypeSymbol(ITypeSymbol, RefKind, ImmutableArray<ITypeSymbol>, ImmutableArray<RefKind>, SignatureCallingConvention, ImmutableArray<INamedTypeSymbol>)
CommonCreateNativeIntegerTypeSymbol(Boolean)
CommonCreatePointerTypeSymbol(ITypeSymbol)
CommonCreatePreprocessingSymbol(String)
CommonCreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)
CommonCreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)
CommonGetAssemblyOrModuleSymbol(MetadataReference)
CommonGetCompilationNamespace(INamespaceSymbol)
CommonGetEntryPoint(CancellationToken)
CommonGetSemanticModel(SyntaxTree, SemanticModelOptions)
CommonGetTypeByMetadataName(String)
CommonRemoveAllSyntaxTrees()
CommonRemoveSyntaxTrees(IEnumerable<SyntaxTree>)
CommonReplaceSyntaxTree(SyntaxTree, SyntaxTree)
CommonWithAssemblyName(String)
CommonWithOptions(CompilationOptions)
CommonWithReferences(IEnumerable<MetadataReference>)
CommonWithScriptCompilationInfo(ScriptCompilationInfo)
ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)
ContainsSymbolsWithName(Func<String, Boolean>, SymbolFilter, CancellationToken)
ContainsSyntaxTree(SyntaxTree)
Create(String, IEnumerable<SyntaxTree>, IEnumerable<MetadataReference>, VisualBasicCompilationOptions)
GetDeclarationDiagnostics(CancellationToken)
GetDiagnostics(CancellationToken)
GetMethodBodyDiagnostics(CancellationToken)
GetParseDiagnostics(CancellationToken)
GetSemanticModel(SyntaxTree, Boolean)
GetSymbolsWithName(String, SymbolFilter, CancellationToken)
GetSymbolsWithName(Func<String, Boolean>, SymbolFilter, CancellationToken)
GetUsedAssemblyReferences(CancellationToken)
RemoveAllReferences()
RemoveAllSyntaxTrees()
RemoveReferences(MetadataReference[])
RemoveReferences(IEnumerable<MetadataReference>)
RemoveSyntaxTrees(SyntaxTree[])
RemoveSyntaxTrees(IEnumerable<SyntaxTree>)
ReplaceReference(MetadataReference, MetadataReference)
ReplaceSyntaxTree(SyntaxTree, SyntaxTree)
ToMetadataReference(ImmutableArray<String>, Boolean)
WithAssemblyName(String)
WithOptions(VisualBasicCompilationOptions)
WithReferences(MetadataReference[])
WithReferences(IEnumerable<MetadataReference>)
net10.0-windows7.0
namespace Microsoft.CodeAnalysis.VisualBasic
{
public sealed class VisualBasicCompilation : Compilation
{
public override CompilationReference ToMetadataReference(ImmutableArray<string> aliases = default, bool embedInteropTypes = false);
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.CodeAnalysis.VisualBasic , Version=4.13.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.CodeAnalysis.VisualBasic (4.13.0) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API