18 references to HostObjectType
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (2)
246
globalsType = previousScriptCompilation.
HostObjectType
;
248
else if (globalsType != previousScriptCompilation.
HostObjectType
)
Microsoft.CodeAnalysis.CSharp (16)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
991
if (compilation.
HostObjectType
!= null)
Compilation\CSharpCompilation.cs (14)
526
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
600
this.
HostObjectType
,
619
this.
HostObjectType
,
642
this.
HostObjectType
,
672
this.
HostObjectType
,
704
this.
HostObjectType
,
768
this.
HostObjectType
,
787
this.
HostObjectType
,
1824
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1826
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1830
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1831
HostObjectType
.Name,
1835
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1838
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);