Compilation
_features
Assembly
AssemblyName
CommonAssembly
CommonDynamicType
CommonGlobalNamespace
CommonObjectType
CommonOptions
CommonScriptClass
CommonScriptGlobalsType
CommonSourceModule
CommonSyntaxTrees
DirectiveReferences
DynamicType
ExternalReferences
GlobalNamespace
IsCaseSensitive
Language
ObjectType
Options
ReferencedAssemblyNames
References
ScriptClass
ScriptCompilationInfo
SourceModule
SyntaxTrees
AddReferences(MetadataReference[])
AddReferences(IEnumerable<MetadataReference>)
AddSyntaxTrees(SyntaxTree[])
AddSyntaxTrees(IEnumerable<SyntaxTree>)
AppendDefaultVersionResource(Stream)
CheckTupleElementLocations(Int32, ImmutableArray<Location>)
CheckTupleElementNames(Int32, ImmutableArray<String>)
CheckTupleElementNullableAnnotations(Int32, ImmutableArray<NullableAnnotation>)
ClassifyCommonConversion(ITypeSymbol, ITypeSymbol)
Clone()
CommonAddSyntaxTrees(IEnumerable<SyntaxTree>)
CommonBindScriptClass()
CommonClone()
CommonContainsSyntaxTree(SyntaxTree)
CommonCreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<Boolean>)
CommonCreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<Boolean>, ImmutableArray<NullableAnnotation>)
CommonCreateArrayTypeSymbol(ITypeSymbol, Int32)
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>)
CommonCreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>)
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, Boolean)
CommonGetSemanticModel(SyntaxTree, SemanticModelOptions)
CommonGetSpecialType(SpecialType)
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)
CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>)
CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)
CreateArrayTypeSymbol(ITypeSymbol, Int32)
CreateArrayTypeSymbol(ITypeSymbol, Int32, NullableAnnotation)
CreateBuiltinOperator(String, ITypeSymbol, ITypeSymbol)
CreateBuiltinOperator(String, ITypeSymbol, ITypeSymbol, ITypeSymbol)
CreateDefaultWin32Resources(Boolean, Boolean, Stream, Stream)
CreateErrorNamespaceSymbol(INamespaceSymbol, String)
CreateErrorTypeSymbol(INamespaceOrTypeSymbol, String, Int32)
CreateFunctionPointerTypeSymbol(ITypeSymbol, RefKind, ImmutableArray<ITypeSymbol>, ImmutableArray<RefKind>, SignatureCallingConvention, ImmutableArray<INamedTypeSymbol>)
CreateNativeIntegerTypeSymbol(Boolean)
CreatePointerTypeSymbol(ITypeSymbol)
CreatePreprocessingSymbol(String)
CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>)
CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>)
CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)
CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)
Emit(Stream, Stream, Stream, Stream, IEnumerable<ResourceDescription>, EmitOptions, CancellationToken)
Emit(Stream, Stream, Stream, Stream, IEnumerable<ResourceDescription>, EmitOptions, IMethodSymbol, CancellationToken)
Emit(Stream, Stream, Stream, Stream, IEnumerable<ResourceDescription>, EmitOptions, IMethodSymbol, Stream, IEnumerable<EmbeddedText>, CancellationToken)
Emit(Stream, Stream, Stream, Stream, IEnumerable<ResourceDescription>, EmitOptions, IMethodSymbol, Stream, IEnumerable<EmbeddedText>, Stream, CancellationToken)
EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken)
EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol, Boolean>, Stream, Stream, Stream, CancellationToken)
EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol, Boolean>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken)
GetAssemblyOrModuleSymbol(MetadataReference)
GetCompilationNamespace(INamespaceSymbol)
GetDeclarationDiagnostics(CancellationToken)
GetDiagnostics(CancellationToken)
GetEntryPoint(CancellationToken)
GetMetadataReference(IAssemblySymbol)
GetMethodBodyDiagnostics(CancellationToken)
GetParseDiagnostics(CancellationToken)
GetRequiredLanguageVersion(Diagnostic)
GetSemanticModel(SyntaxTree, Boolean)
GetSemanticModel(SyntaxTree, SemanticModelOptions)
GetSpecialType(SpecialType)
GetSymbolsWithName(String, SymbolFilter, CancellationToken)
GetSymbolsWithName(Func<String, Boolean>, SymbolFilter, CancellationToken)
GetTypeByMetadataName(String)
GetTypesByMetadataName(String)
GetUnreferencedAssemblyIdentities(Diagnostic)
GetUsedAssemblyReferences(CancellationToken)
HasImplicitConversion(ITypeSymbol, ITypeSymbol)
IsSymbolAccessibleWithin(ISymbol, ISymbol, ITypeSymbol)
RemoveAllReferences()
RemoveAllSyntaxTrees()
RemoveReferences(MetadataReference[])
RemoveReferences(IEnumerable<MetadataReference>)
RemoveSyntaxTrees(SyntaxTree[])
RemoveSyntaxTrees(IEnumerable<SyntaxTree>)
ReplaceReference(MetadataReference, MetadataReference)
ReplaceSyntaxTree(SyntaxTree, SyntaxTree)
SupportsRuntimeCapability(RuntimeCapability)
SyntaxTreeCommonFeatures(IEnumerable<SyntaxTree>)
ToMetadataReference(ImmutableArray<String>, Boolean)
WithAssemblyName(String)
WithOptions(CompilationOptions)
WithReferences(MetadataReference[])
WithReferences(IEnumerable<MetadataReference>)
WithScriptCompilationInfo(ScriptCompilationInfo)
ClassifyConversion(Compilation, ITypeSymbol, ITypeSymbol)
Emit(Compilation, String, String, String, String, IEnumerable<ResourceDescription>, CancellationToken)
WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions)
WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, CompilationWithAnalyzersOptions)
WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions, CancellationToken)
net5.0
namespace Microsoft.CodeAnalysis
{
public abstract class Compilation
{
public bool IsSymbolAccessibleWithin(ISymbol! symbol, ISymbol! within, ITypeSymbol? throughType = null);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
.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 net5.0 | |
Assembly | Microsoft.CodeAnalysis , Version=4.13.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.CodeAnalysis.Common (4.13.0) netstandard2.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API