more AssemblyNameInfo support in System.Reflection.Metadata #108226
-
When I was adapting my code to the ILVerification breaking change dotnet/docs#41786 in .NET 9, I was a bit surprised that the following API does not exist yet. I'm posting this as a discussion for now because this doesn't explain the use scenarios yet. namespace System.Reflection.Metadata
{
public readonly partial struct AssemblyDefinition
{
// existing API
public System.Reflection.AssemblyName GetAssemblyName();
+ // new API
+ public System.Reflection.Metadata.AssemblyNameInfo GetAssemblyNameInfo();
}
public readonly partial struct AssemblyReference
{
// existing API
public System.Reflection.AssemblyName GetAssemblyName();
+ // new API
+ public System.Reflection.Metadata.AssemblyNameInfo GetAssemblyNameInfo();
}
} Difficulties in implementing similar methods in application code:
|
Beta Was this translation helpful? Give feedback.
Answered by
KalleOlaviNiemitalo
Apr 8, 2025
Replies: 1 comment
-
These APIs are now being proposed in #113749 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KalleOlaviNiemitalo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These APIs are now being proposed in #113749