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)
553
Debug.Assert(previousSubmission == null || previousSubmission.
HostObjectType
== hostObjectType);
627
this.
HostObjectType
,
646
this.
HostObjectType
,
669
this.
HostObjectType
,
699
this.
HostObjectType
,
731
this.
HostObjectType
,
795
this.
HostObjectType
,
814
this.
HostObjectType
,
1851
if (
HostObjectType
!= null && _lazyHostObjectTypeSymbol is null)
1853
TypeSymbol? symbol = Assembly.GetTypeByReflectionType(
HostObjectType
);
1857
MetadataTypeName mdName = MetadataTypeName.FromNamespaceAndTypeName(
HostObjectType
.Namespace ?? String.Empty,
1858
HostObjectType
.Name,
1862
new MissingAssemblySymbol(AssemblyIdentity.FromAssemblyDefinition(
HostObjectType
.GetTypeInfo().Assembly)).Modules[0],
1865
CreateReflectionTypeNotFoundError(
HostObjectType
));
Compilation\CSharpScriptCompilationInfo.cs (1)
17
Debug.Assert(previousCompilationOpt == null || previousCompilationOpt.
HostObjectType
== globalsType);