public virtual System.Object getTileCompVal(int t, int c) { if (specType != SPEC_TYPE_TILE_COMP) { throw new System.InvalidOperationException("Illegal use of ModuleSpec class"); } return getSpec(t, c); }