public bool isStaticClass() { AggregateSymbol agg = GetNakedAgg(false); if (agg == null) return false; if (!agg.IsStatic()) return false; return true; } public bool computeManagedType(SymbolLoader symbolLoader)
// Generate an error if CType is static. public bool CheckForStaticClass(Symbol symCtx, CType CType, ErrorCode err) { if (!CType.isStaticClass()) return false; ReportStaticClassError(symCtx, CType, err); return true; }