/// <summary> /// Are this member an the given type definition in the same scope? /// </summary> public bool HasSameScope(NetTypeDefinition type) { return((DeclaringType != null) && (DeclaringType.HasSameScope(type))); }