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)
586
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
660
this.
HostObjectType
,
679
this.
HostObjectType
,
702
this.
HostObjectType
,
732
this.
HostObjectType
,
764
this.
HostObjectType
,
828
this.
HostObjectType
,
847
this.
HostObjectType
,
1884
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1886
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1890
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1891
HostObjectType
.Name,
1895
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1898
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);