-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Replace files with CoreLib mirror (<30% differences) #29433
Conversation
Sounds good to me. If |
|
<Compile Include="$(CommonPath)\Interop\Windows\Interop.Libraries.cs"> | ||
<Link>Common\Interop\Windows\Interop.Libraries.cs</Link> | ||
</Compile> | ||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.GetCPInfoEx.cs"> | ||
<Link>Common\Interop\Windows\Interop.GetCPInfoEx.cs</Link> | ||
</Compile> | ||
<Compile Include="$(CommonPath)\CoreLib\Interop\Windows\Kernel32\Interop.WideCharToMultiByte.cs"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkotas constants are used only here...i removed file on corefx and added reference to corelib. Is this a good compromise to you?(If not i can create a Interop.Encoding.Constants.cs on corecrl, remove from existent cs and after merge on corefx change ref here)
@MarcoRossignoli Thank you! |
…9433) * remove duplicates * remove unused Interop.GetFullPathNameW.cs * revert TupleExtensions.cs for netfx incompatibility * replace coreclr merged * replace constants conflicts Commit migrated from dotnet/corefx@5168f54
contributes to #27841
there are other files:
corefx\src\Common\src\CoreLib\Interop\Windows\Kernel32\Interop.MultiByteToWideChar.cs
corefx\src\Common\src\Interop\Windows\kernel32\Interop.MultiByteToWideChar.cs
corefx\src\Common\src\CoreLib\Interop\Windows\Kernel32\Interop.SetThreadErrorMode.cs
corefx\src\Common\src\Interop\Windows\kernel32\Interop.SetThreadErrorMode.cs
corefx\src\Common\src\CoreLib\Interop\Windows\Kernel32\Interop.WideCharToMultiByte.cs
corefx\src\Common\src\Interop\Windows\kernel32\Interop.WideCharToMultiByte.cs
but to replace those we need to move "constants" of CoreLib files somewhere because collide with constants on corefx(es. corefx\src\Common\src\Interop\Windows\kernel32\Interop.Encoding.Constants.cs).
Any idea?
cc: @danmosemsft @jkotas