If the designer loader has not been loaded or has not been marked as modified, the BasicDesignerLoader.Flush method returns immediately. Otherwise, BasicDesignerLoader.Flush asks the serialization manager to create a serialization session and then calls BasicDesignerLoader.PerformFlush(IDesignerSerializationManager).