Mono.ArgumentNullOrEmptyException When trying to write embedded symbols assembly to stream #920
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I want to write an
AssemblyDefinitionwith symbols embedded to a stream. I am doing:But this throws an exception:
I have not tested this, but I believe the call to
CheckFileNameinEmbeddedPortablePdbWriterProvider.GetSymbolWriteris not necessary, as I don't think the file name is used byEmbeddedPortablePdbWriter.github.com/jbevain/cecil@56d4409b8a/Mono.Cecil.Cil/PortablePdb.cs (L485-L493)Because of this check, it seems to be impossible to write embedded symbols without writing into a file.