Testing how much hate this is going to bring me.
These annotations let ProjectN deal with the fact that we now have two
definitions of System.Environment in the system. This is needed as long
as Project N is stuck on 2.1-level version of the framework.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
{
public static partial class Environment
{
+#if PROJECTN
+ [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
+#endif
public enum SpecialFolder
{
ApplicationData = SpecialFolderValues.CSIDL_APPDATA,
{
public static partial class Environment
{
+#if PROJECTN
+ [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
+#endif
public enum SpecialFolderOption
{
None = 0,
namespace System
{
+#if PROJECTN
+ [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
+#endif
public enum EnvironmentVariableTarget
{
Process = 0,
namespace System
{
+#if PROJECTN
+ [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
+#endif
public sealed class OperatingSystem : ISerializable, ICloneable
{
private readonly Version _version;