18 references to HostObjectType
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (2)
255
globalsType = previousScriptCompilation.
HostObjectType
;
257
else if (globalsType != previousScriptCompilation.
HostObjectType
)
Microsoft.CodeAnalysis.CSharp (16)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
991
if (compilation.
HostObjectType
!= null)
Compilation\CSharpCompilation.cs (14)
567
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
641
this.
HostObjectType
,
660
this.
HostObjectType
,
683
this.
HostObjectType
,
713
this.
HostObjectType
,
745
this.
HostObjectType
,
809
this.
HostObjectType
,
828
this.
HostObjectType
,
1865
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1867
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1871
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1872
HostObjectType
.Name,
1876
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1879
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);