/// <summary> /// Gets all fields of this type that match the given binding flags. /// </summary> public FieldInfo[] GetFields(BindingFlags flags) { return(GenericsReflection.GetFields(this, flags)); }
/// <summary> /// Gets all public fields of this type. /// </summary> public FieldInfo[] GetFields() { return(GenericsReflection.GetFields(this, BindFlags.PublicMembers)); }