Make MetadataDisplayFormat public #72844
Labels
api-needs-work
API needs work before it is approved, it is NOT ready for implementation
Area-Compilers
Concept-API
This issue involves adding, removing, clarification, or modification of an API.
Feature Request
Milestone
Background and Motivation
After a compilation is emitted and the resulting image is loaded, we need to find a type in the loaded
Assembly
that corresponds to a sourceINamedTypeSymbol
defined in the compilation.Proposed API
namespace Microsoft.CodeAnalysis; public class SymbolDisplayFormat { + SymbolDisplayFormat MetadataDisplayFormat { get; } }
Implemented like so:
roslyn/src/Compilers/Core/Portable/SourceGeneration/Nodes/SyntaxValueProvider_ForAttributeWithMetadataName.cs
Lines 60 to 61 in cf8b467
Usage Examples
Alternative Designs
Risks
The text was updated successfully, but these errors were encountered: