/// <summary> /// Checks whether the specified property can be added to the generated source code. /// </summary> protected virtual bool IsPropertyAllowed(MemberPropertyDefinition p) { // If the property is ignored or the property is unhandled if (p.IsIgnored() || !p.IsTypeHandled()) { return(false); } if (p.ContainingClass.IsSingleton && (p.Name == "Singleton" || p.Name == "SingletonPtr")) { return(false); } return(true); }