/// <summary> /// Retrieves FieldInfo[] (public) for the given type /// </summary> /// <param name="type">The type.</param> /// <returns>Value of a field supported by a given object</returns> private static FieldInfo[] RetrieveFields(Type type) => FieldTypeCache.Retrieve(type, FieldTypeCache.GetAllFieldsFunc(type));