18 references to HostObjectType
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (2)
266
globalsType = previousScriptCompilation.
HostObjectType
;
268
else if (globalsType != previousScriptCompilation.
HostObjectType
)
Microsoft.CodeAnalysis.CSharp (16)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
996
if (compilation.
HostObjectType
!= null)
Compilation\CSharpCompilation.cs (14)
577
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
651
this.
HostObjectType
,
670
this.
HostObjectType
,
693
this.
HostObjectType
,
723
this.
HostObjectType
,
755
this.
HostObjectType
,
819
this.
HostObjectType
,
838
this.
HostObjectType
,
1875
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1877
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1881
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1882
HostObjectType
.Name,
1886
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1889
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);