Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.CodeAnalysis.ResourceDescription does not expose any public members #41372

Open
smera opened this issue Feb 3, 2020 · 0 comments
Open
Labels
Area-Compilers Concept-API This issue involves adding, removing, clarification, or modification of an API.

Comments

@smera
Copy link

smera commented Feb 3, 2020

I'm using Microsoft.CodeAnalysis.CommandLineArguments to statically predict files the compiler is going to read. In particular, I'm facing a case where resources are passed on the command line. The member

public ImmutableArray<ResourceDescription> ManifestResources {get; internal set;}

lists the collection of resources, but Microsoft.CodeAnalysis.ResourceDescription does not expose any public members. In particular, I'd like to get to the FileName of the resource. In its current shape, there is no public information I can get from a resource description.

https://github.com/dotnet/roslyn/blob/e704ca635bd6de70a0250e34c4567c7a28fa9f6d/src/Compilers/Core/Portable/ResourceDescription.cs

Is there any reason for that? Can the corresponding members be turned into public ones?

@sharwell sharwell added Area-Compilers Concept-API This issue involves adding, removing, clarification, or modification of an API. labels Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Concept-API This issue involves adding, removing, clarification, or modification of an API.
Projects
None yet
Development

No branches or pull requests

2 participants