/// <summary> /// Add a field to this scope. /// </summary> /// <param name="name">field name</param> /// <param name="fType">field type</param> /// <returns>a descriptor for the field "name" in this scope</returns> public FieldRef AddField(string name, Type fType) { Contract.Requires(name != null); Contract.Requires(fType != null); FieldRef field = defaultClass.AddField(name, fType); return(field); }