|
|
преди 6 години | |
|---|---|---|
| .. | ||
| Internal | 21fca52b3d Move ResourceManager to shared CoreLib. (dotnet/coreclr#22249) | преди 7 години |
| Interop | 938477a7de Remove unnecessary ThrowIfUnsupportedType calls and definitions | преди 6 години |
| Microsoft | 34619669a5 Replace Interop.ReadDir.cs with Interop.ReadDir.cs from System.IO.FileSystem (#21622) | преди 7 години |
| System | 776e2a84c3 Add Rune creation API from UTF-16 surrogate pair (dotnet/coreclr#22590) | преди 6 години |
| README.md | ccd7b52ca8 Add System.Private.CoreLib shared sources (#12162) | преди 7 години |
| System.Private.CoreLib.Shared.projitems | 85caf55c16 Move SafeHandle to managed code and shared (dotnet/coreclr#22564) | преди 6 години |
This directory contains the shared sources for System.Private.CoreLib. These are shared between dotnet/corert, dotnet/coreclr and dotnet/corefx.
The sources are synchronized with a mirroring tool that watches for new commits on either side and creates new pull requests (as @dotnet-bot) in the other repository.
Code in the shared directory should have no code specific to CoreCLR, CoreRT or CoreFX. Parts of classes that need to have different implementations on different runtimes should use partial classes and *.CoreRT.cs/*.CoreCLR.cs/*.CoreFX.cs files in the non shared portion. Code that is different based on platform (Windows/Unix) is fine to leave in the shared portion. Remember to follow the style guidelines.
Once the mirror PR is created there is a chance that the new code will require changes to get a clean CI. Any changes can be added to the PR by checking out the PR branch and adding new commits. Please follow the following guidelines for modifying these PRs.