private static void Report(IIfcTessellatedFaceSet obj, TextHighliter sb) { if (obj is IIfcPolygonalFaceSet) { Report((IIfcPolygonalFaceSet)obj, sb); } else { sb.Append($"{obj.GetType().Name} not implemented in IIfcTessellatedFaceSet.", Brushes.Red); } }