public bool IsGenerator(IMethod method)
 {
     IType type = method.get_ReturnType();
     return ((type != base.IEnumeratorType) ? type.IsSubclassOf(this._AbstractGenerator) : true);
 }