sasadata.blogg.se

Dsp builder and incremental compilation
Dsp builder and incremental compilation








dsp builder and incremental compilation

Supported in VB and can be created by passing in false in theĪppropriate locations in memberIsReadOnly.ĬreateAnonymousTypeSymbol(ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray) Returns a new anonymous type symbol with the given member types, names, and source locations.Īnonymous type members will be readonly by default. On the returned object will allow to continue building up the Compilation incrementally.ĬreateAnonymousTypeSymbol(ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray) Methods such as AddSyntaxTrees or AddReferences False otherwise.Ĭreate(String, IEnumerable, IEnumerable, CSharpCompilationOptions)Ĭreates a new compilation from scratch. Returns true if this compilation contains the specified tree. When predicate is just a simple string check. This will be faster than ContainsSymbolsWithName(Func, SymbolFilter, CancellationToken) Return true if there is a source declaration symbol name that matches the provided name. Return true if there is a source declaration symbol name that meets given predicate.ĬontainsSymbolsWithName(String, SymbolFilter, CancellationToken) Otherwise, it creates a new semantic model using (,System.Boolean).ĬommonReplaceSyntaxTree(SyntaxTree, SyntaxTree)Ĭreates a new compilation with the specified references.ĬommonWithScriptCompilationInfo(ScriptCompilationInfo)ĬontainsSymbolsWithName(Func, SymbolFilter, CancellationToken) If is non-null, it attempts to use (,System.Boolean) Gets a SemanticModel for the given syntaxTree. Uses theįull name of the container class stored in ScriptClassName to find the symbol.ĬommonCreateAnonymousTypeSymbol(ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray)ĬommonCreateAnonymousTypeSymbol(ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray)ĬommonCreateArrayTypeSymbol(ITypeSymbol, Int32)ĬommonCreateArrayTypeSymbol(ITypeSymbol, Int32, NullableAnnotation)ĬommonCreateErrorNamespaceSymbol(INamespaceSymbol, String)ĬommonCreateErrorTypeSymbol(INamespaceOrTypeSymbol, String, Int32)ĬommonCreateFunctionPointerTypeSymbol(ITypeSymbol, RefKind, ImmutableArray, ImmutableArray)ĬommonCreateFunctionPointerTypeSymbol(ITypeSymbol, RefKind, ImmutableArray, ImmutableArray, SignatureCallingConvention, ImmutableArray)ĬommonCreateNativeIntegerTypeSymbol(Boolean)ĬommonCreatePointerTypeSymbol(ITypeSymbol)ĬommonCreateTupleTypeSymbol(ImmutableArray, ImmutableArray, ImmutableArray)ĬommonCreateTupleTypeSymbol(ImmutableArray, ImmutableArray, ImmutableArray, ImmutableArray)ĬommonCreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray, ImmutableArray)ĬommonCreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray, ImmutableArray, ImmutableArray)ĬommonGetAssemblyOrModuleSymbol(MetadataReference)ĬommonGetCompilationNamespace(INamespaceSymbol)ĬommonGetSemanticModel(SyntaxTree, Boolean) Resolves a symbol that represents script container (Script class). To this compilation's programming language.Ĭlassif圜onversion(ITypeSymbol, ITypeSymbol)Ĭlassifies a conversion from source to destination.Ĭreate a duplicate of this compilation with different symbol instances. The syntax trees (parsed from source code) that this compilation was created with.Ĭreates a new compilation with additional metadata references.Ĭreates a new compilation with additional syntax trees.Ĭlassif圜ommonConversion(ITypeSymbol, ITypeSymbol)Ĭlassifies a conversion from source to destination according Gets the IModuleSymbol for the module being created by compiling all of The options the compilation was created with.Īll metadata references - references passed to the compilationĬonstructor as well as references specified via #r directives.Ī symbol representing the implicit Script class. NET System.Object type, which could have a TypeKind ofĮrror if there was no COR Library in this Compilation. The language version that was used to parse the syntax trees of this compilation. Referenced metadata, merged into a single namespace hierarchy.

Dsp builder and incremental compilation code#

The root namespace that contains all namespaces and types defined in source code or in Metadata references passed to the compilation constructor. The TypeSymbol for the type 'dynamic' in this Compilation. Simple assembly name, or null if not specified. The IAssemblySymbol that represents the assembly being created.










Dsp builder and incremental compilation