/// <summary>
        /// Tries buildding the cache for the specified type.
        /// In case of an issue while building, null will be returned.
        ///
        /// If you want to know more as to why building failed, <see cref="GetBuildError(Type)"/>
        /// </summary>
        public static SerializableTypeCache TryBuild(Type type)
        {
            SerializableTypeCache stc = new SerializableTypeCache();

            try
            {
                stc.Build(type);
            }
            catch (Exception ex)
            {
                buildErrors.Set(type, ex.ToString());
                return(null);
            }

            return(stc);
        }