The resource is not written until ResXResourceWriter.Generate is called. The resource that was added must be serializable.
If the resource being added is a string, it is written as a string; otherwise, the resource is serialized and stored in a binary format.