diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-09 02:08:28 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-09 05:56:45 +0300 |
commit | 19197b6ed520d78c45e15c88bfb0c0b9095635fc (patch) | |
tree | c3f047ae97c336a7a1eb17859eaeff36ac161d71 | |
parent | c56ddc763e384ea52daac629d7e063297a0396fe (diff) |
[v4.7.1] Move RuntimeInformation from assembly to facades
It is a facade now instead of a real assembly.
-rw-r--r-- | src/v4.7.1/Facades/System.Runtime.InteropServices.RuntimeInformation.cs | 18 | ||||
-rw-r--r-- | src/v4.7.1/System.Runtime.InteropServices.RuntimeInformation.cs | 54 | ||||
-rw-r--r-- | v4.7.1/Makefile | 8 |
3 files changed, 22 insertions, 58 deletions
diff --git a/src/v4.7.1/Facades/System.Runtime.InteropServices.RuntimeInformation.cs b/src/v4.7.1/Facades/System.Runtime.InteropServices.RuntimeInformation.cs new file mode 100644 index 0000000..4a74791 --- /dev/null +++ b/src/v4.7.1/Facades/System.Runtime.InteropServices.RuntimeInformation.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Reflection.AssemblyVersionAttribute("4.0.2.0")] +[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] +[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] +[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Runtime.InteropServices.RuntimeInformation")] +[assembly:System.Reflection.AssemblyDescriptionAttribute("System.Runtime.InteropServices.RuntimeInformation")] +[assembly:System.Reflection.AssemblyFileVersionAttribute("4.7.2558.0")] +[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.7.2558.0")] +[assembly:System.Reflection.AssemblyMetadataAttribute("", "")] +[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] +[assembly:System.Reflection.AssemblyTitleAttribute("System.Runtime.InteropServices.RuntimeInformation")] +[assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.Architecture))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.OSPlatform))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.RuntimeInformation))] diff --git a/src/v4.7.1/System.Runtime.InteropServices.RuntimeInformation.cs b/src/v4.7.1/System.Runtime.InteropServices.RuntimeInformation.cs deleted file mode 100644 index da4a3f1..0000000 --- a/src/v4.7.1/System.Runtime.InteropServices.RuntimeInformation.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")] -[assembly:System.CLSCompliantAttribute(true)] -[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))] -[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] -[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] -[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Runtime.InteropServices.RuntimeInformation.dll")] -[assembly:System.Reflection.AssemblyDescriptionAttribute("System.Runtime.InteropServices.RuntimeInformation.dll")] -[assembly:System.Reflection.AssemblyFileVersionAttribute("4.7.2046.0")] -[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.7.2046.0")] -[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] -[assembly:System.Reflection.AssemblyTitleAttribute("System.Runtime.InteropServices.RuntimeInformation.dll")] -[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")] -[assembly:System.Resources.SatelliteContractVersionAttribute("4.0.0.0")] -[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] -[assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute] -[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] -[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] -[assembly:System.Security.SecurityCriticalAttribute] -namespace System.Runtime.InteropServices -{ - public enum Architecture - { - Arm = 2, - Arm64 = 3, - X64 = 1, - X86 = 0, - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public partial struct OSPlatform : System.IEquatable<System.Runtime.InteropServices.OSPlatform> - { - public static System.Runtime.InteropServices.OSPlatform Linux { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public static System.Runtime.InteropServices.OSPlatform OSX { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public static System.Runtime.InteropServices.OSPlatform Windows { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public static System.Runtime.InteropServices.OSPlatform Create(string osPlatform) { throw null; } - public override bool Equals(object obj) { throw null; } - public bool Equals(System.Runtime.InteropServices.OSPlatform other) { throw null; } - public override int GetHashCode() { throw null; } - public static bool operator ==(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) { throw null; } - public static bool operator !=(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) { throw null; } - public override string ToString() { throw null; } - } - public static partial class RuntimeInformation - { - public static string FrameworkDescription { get { throw null; } } - public static System.Runtime.InteropServices.Architecture OSArchitecture { get { throw null; } } - public static string OSDescription { get { throw null; } } - public static System.Runtime.InteropServices.Architecture ProcessArchitecture { get { throw null; } } - public static bool IsOSPlatform(System.Runtime.InteropServices.OSPlatform osPlatform) { throw null; } - } -} diff --git a/v4.7.1/Makefile b/v4.7.1/Makefile index 26234ca..4499793 100644 --- a/v4.7.1/Makefile +++ b/v4.7.1/Makefile @@ -27,7 +27,7 @@ ASSEMBLIES := Accessibility CustomMarshalers \ System.Web.Services System.Web.WebPages.Deployment System.Web.WebPages.Razor System.Web.WebPages System.Web \ System.Windows.Forms.DataVisualization System.Windows.Forms System.Windows System.Xaml System.Xml.Linq \ System.Xml.Serialization System.Xml System WindowsBase cscompmgd mscorlib \ - System.Deployment System.Numerics.Vectors System.Reflection.Context System.Runtime.InteropServices.RuntimeInformation \ + System.Deployment System.Numerics.Vectors System.Reflection.Context \ System.Web.Mobile System.Web.RegularExpressions System.Workflow.Activities System.Workflow.ComponentModel System.Workflow.Runtime ASSEMBLIES += bare/System bare/System.Xml bare/System.Configuration bare/System.ServiceModel.Activation bare/System.Web @@ -43,7 +43,7 @@ FACADE_ASSEMBLIES := Facades/System.Collections.Concurrent Facades/System.Net.Pr Facades/System.Reflection Facades/System.Text.Encoding \ Facades/System.Dynamic.Runtime Facades/System.Resources.ResourceManager Facades/System.Text.RegularExpressions \ Facades/System.Globalization Facades/System.Runtime.Extensions Facades/System.Threading.Tasks.Parallel \ - Facades/System.IO Facades/System.Runtime.InteropServices.WindowsRuntime Facades/System.Threading.Tasks \ + Facades/System.IO Facades/System.Runtime.InteropServices.RuntimeInformation Facades/System.Runtime.InteropServices.WindowsRuntime Facades/System.Threading.Tasks \ Facades/System.Linq.Expressions Facades/System.Runtime.InteropServices Facades/System.Threading.Timer \ Facades/System.Linq.Parallel Facades/System.Runtime.Numerics Facades/System.Threading \ Facades/System.Linq.Queryable Facades/System.Runtime.Serialization.Json Facades/System.Xml.ReaderWriter \ @@ -117,7 +117,6 @@ System.Reflection.Context_REFS := mscorlib System.Reflection.Metadata_REFS := System.Runtime System.Resources.ResourceManager System.Collections.Immutable System.Reflection.Primitives System.Diagnostics.Debug System.Collections System.IO System.IO.Compression System.Text.Encoding System.Runtime.InteropServices System.Linq System.Reflection System.Threading System.Runtime.Extensions System.Text.Encoding.Extensions System.Reflection.Extensions System.Runtime.Caching_REFS := mscorlib System System.Data System.Configuration System.Runtime.DurableInstancing_REFS := mscorlib System.Xml.Linq System.ServiceModel.Internals System.Transactions System.Core System.Runtime.Serialization System -System.Runtime.InteropServices.RuntimeInformation_REFS := mscorlib System.Runtime.Remoting_REFS := mscorlib System System.Web System.Xml System.Runtime.Serialization.Formatters.Soap System.Runtime.Serialization.Formatters.Soap_REFS := mscorlib System.Xml System.Runtime.Serialization_REFS := mscorlib System.Xml System.ServiceModel.Internals System System.Configuration System.Core @@ -199,6 +198,7 @@ Facades/System.Reflection_REFS := mscorlib Facades/System.Resources.ResourceManager_REFS := mscorlib Facades/System.Runtime.Extensions_REFS := mscorlib System Facades/System.Runtime.Handles_REFS := mscorlib System.Core +Facades/System.Runtime.InteropServices.RuntimeInformation_REFS := mscorlib Facades/System.Runtime.InteropServices.WindowsRuntime_REFS := mscorlib Facades/System.Runtime.InteropServices_REFS := mscorlib System.Core System Facades/System.Runtime.Numerics_REFS := mscorlib System.Numerics @@ -257,7 +257,7 @@ MSFINAL_KEY_ASSEMBLIES := Accessibility CustomMarshalers Microsoft.Build.Engine System.Configuration.Install System.Configuration System.Deployment System.Design System.Diagnostics.Tracing System.DirectoryServices.Protocols \ System.DirectoryServices System.Drawing.Design System.Drawing System.Dynamic System.EnterpriseServices System.Management \ System.Messaging System.Net.Http.WebRequest System.Net.Http System.Net System.Numerics.Vectors System.Runtime.Caching \ - System.Runtime.InteropServices.RuntimeInformation System.Runtime.Serialization.Formatters.Soap System.Security System.ServiceProcess System.Web.Services \ + System.Runtime.Serialization.Formatters.Soap System.Security System.ServiceProcess System.Web.Services \ System.Web System.Web.Mobile System.Web.RegularExpressions System.Windows cscompmgd bare/System.Configuration bare/System.Web all: $(addsuffix .dll, $(ASSEMBLIES)) |