@@ -379,7 +379,7 @@ static public IList<string> GetAllCachedSchemaNames()
379
379
static public IfcSchemaEntityNode FindNonAbsInstanceSuperType ( IFCVersion context , string typeName )
380
380
{
381
381
string contextName = SchemaName ( context ) ;
382
- return FindNonAbsInstanceSuperType ( context , typeName ) ;
382
+ return FindNonAbsInstanceSuperType ( contextName , typeName ) ;
383
383
}
384
384
385
385
/// <summary>
@@ -490,8 +490,8 @@ static public IfcSchemaEntityNode FindNonAbsSuperType(string context, string ent
490
490
/// <returns>List of the supertypes</returns>
491
491
static public IList < IfcSchemaEntityNode > FindAllSuperTypes ( IFCVersion context , string entityName , params string [ ] stopNode )
492
492
{
493
- string schemaName = SchemaName ( context ) ;
494
- return FindAllSuperTypes ( schemaName , entityName , stopNode ) ;
493
+ string contextName = SchemaName ( context ) ;
494
+ return FindAllSuperTypes ( contextName , entityName , stopNode ) ;
495
495
}
496
496
497
497
static public IList < IfcSchemaEntityNode > FindAllSuperTypes ( string context , string entityName , params string [ ] stopNode )
@@ -555,8 +555,8 @@ static public bool IsSubTypeOf(IFCVersion ifcVersion, IFCEntityType subType, IFC
555
555
/// <returns>true if it is subtype</returns>
556
556
static public bool IsSubTypeOf ( IFCVersion context , string subTypeName , string superTypeName , bool strict = true )
557
557
{
558
- string schemaName = SchemaName ( context ) ;
559
- return IsSubTypeOf ( schemaName , subTypeName , superTypeName , strict ) ;
558
+ string contextName = SchemaName ( context ) ;
559
+ return IsSubTypeOf ( contextName , subTypeName , superTypeName , strict ) ;
560
560
}
561
561
562
562
/// <summary>
@@ -596,8 +596,8 @@ static public bool IsSubTypeOf(string context, string subTypeName, string superT
596
596
/// <returns>true if it is supertype</returns>
597
597
static public bool IsSuperTypeOf ( IFCVersion context , string superTypeName , string subTypeName , bool strict = true )
598
598
{
599
- string schemaName = SchemaName ( context ) ;
600
- return IsSuperTypeOf ( schemaName , subTypeName , superTypeName , strict ) ;
599
+ string contextName = SchemaName ( context ) ;
600
+ return IsSuperTypeOf ( contextName , subTypeName , superTypeName , strict ) ;
601
601
}
602
602
603
603
/// <summary>
0 commit comments