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)
552
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
626
this.
HostObjectType
,
645
this.
HostObjectType
,
668
this.
HostObjectType
,
698
this.
HostObjectType
,
730
this.
HostObjectType
,
794
this.
HostObjectType
,
813
this.
HostObjectType
,
1850
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1852
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1856
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1857
HostObjectType
.Name,
1861
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1864
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);