Uh oh!
There was an error while loading. Please reload this page.
Simplify AssemblyName marshalling between VM and CoreLib - #68735
Conversation
jkotas
commented
Apr 30, 2022
- Introduce NativeAssemblyNameParts that is unmanaged view for the managed AssemblyNameParts
- Use NativeAssemblyNameParts to convert manually managed code to C#
ghost
commented
Apr 30, 2022
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue Details
|
123df0c to
90c3209CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
This is mirroring the logic that used to be in C++
Uh oh!
There was an error while loading. Please reload this page.
b2e096c to
0793a7eComparejkotas
commented
Apr 30, 2022
This is contributing towards moving more of assembly loader to C#. The next step after this PR is going to switch assembly name parsing to be C# only and delete the C++ parser. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
9b1d81c to
b8ccd39Compare- Introduce NativeAssemblyNameParts that is unmanaged view for the managed AssemblyNameParts - Use NativeAssemblyNameParts to convert manually managed code to C# - Delete unnecessary Version allocation
b8ccd39 to
a18c80eComparejkotas
commented
May 1, 2022
This is ready for review. |
denisemel9
commented
May 1, 2022
via email
Please stop emailing me. …Sent from my iPhone On Apr 30, 2022, at 10:36 AM, Jan Kotas ***@***.***> wrote:
@jkotas commented on this pull request.
In src/libraries/System.Private.CoreLib/src/System/Reflection/AssemblyName.cs:
> @@ -46,7 +46,7 @@ public AssemblyName(string assemblyName)
}
if (parts._cultureName != null)
- _cultureInfo = new CultureInfo(parts._cultureName);
+ _cultureInfo = CultureInfo.GetCultureInfo(parts._cultureName);
CultureInfo.GetCultureInfo caches the CultureInfo instances. Avoids allocation and initialization costs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread. |
DrewScoggins
commented
May 5, 2022
Improvement: dotnet/perf-autofiling-issues#5076 |