MetadataStreamReference?

Topics: APIs
Sep 27, 2014 at 8:49 AM
It would be nice to have a MetadataStreamReference class in addition to MetadataFileReference, so references don't always have to exist on disk.
Sep 29, 2014 at 2:36 PM
That already exists, it's just called "MetadataImageReference" instead of "MetadataStreamReference"
Marked as answer by TomasMatousek on 10/7/2014 at 2:34 PM
Oct 5, 2014 at 10:46 AM
Thanks, Just what I was looking for!
Developer
Oct 7, 2014 at 9:36 PM
Note that we have made many changes to the metadata reference APIs recently. If you can't find MetadataFileReference and MetadataImageReference types in Roslyn look for CreateFromStream, CreateFromFile, CreateFromAssembly, etc. factories on MetadataReference.
Oct 8, 2014 at 12:46 PM
Thank you very much for your reply, and this seems very much like an improvement in discoverability.

I wish you would reply to some of my other ~10 posts as well, I think most of them contain a clear problem description.