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)
490
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
564
this.
HostObjectType
,
583
this.
HostObjectType
,
606
this.
HostObjectType
,
636
this.
HostObjectType
,
668
this.
HostObjectType
,
732
this.
HostObjectType
,
751
this.
HostObjectType
,
1788
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1790
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1794
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1795
HostObjectType
.Name,
1799
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1802
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);