summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/OperatingSystem.cs
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-02-10 20:35:12 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2017-02-10 20:35:12 +0900
commit4b11dc566a5bbfa1378d6266525c281b028abcc8 (patch)
treeb48831a898906734f8884d08b6e18f1144ee2b82 /src/mscorlib/src/System/OperatingSystem.cs
parentdb20f3f1bb8595633a7e16c8900fd401a453a6b5 (diff)
downloadcoreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.tar.gz
coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.tar.bz2
coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.zip
Imported Upstream version 1.0.0.9910upstream/1.0.0.9910
Diffstat (limited to 'src/mscorlib/src/System/OperatingSystem.cs')
-rw-r--r--src/mscorlib/src/System/OperatingSystem.cs21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/mscorlib/src/System/OperatingSystem.cs b/src/mscorlib/src/System/OperatingSystem.cs
index a11d4bcce8..a388fc6e33 100644
--- a/src/mscorlib/src/System/OperatingSystem.cs
+++ b/src/mscorlib/src/System/OperatingSystem.cs
@@ -13,14 +13,12 @@
namespace System {
using System.Runtime.Serialization;
using System.Globalization;
- using System.Security.Permissions;
using System.Runtime.InteropServices;
using System.Diagnostics.Contracts;
- [ComVisible(true)]
[Serializable]
- public sealed class OperatingSystem : ICloneable , ISerializable
+ internal sealed class OperatingSystem : ICloneable , ISerializable
{
private Version _version;
private PlatformID _platform;
@@ -30,9 +28,6 @@ namespace System {
private OperatingSystem()
{
}
-
- public OperatingSystem(PlatformID platform, Version version) : this(platform, version, null) {
- }
internal OperatingSystem(PlatformID platform, Version version, string servicePack) {
if( platform < PlatformID.Win32S || platform > PlatformID.MacOSX) {
@@ -82,20 +77,6 @@ namespace System {
info.AddValue("_servicePack", _servicePack);
}
- public PlatformID Platform {
- get { return _platform; }
- }
-
- public string ServicePack {
- get {
- if( _servicePack == null) {
- return string.Empty;
- }
-
- return _servicePack;
- }
- }
-
public Version Version {
get { return _version; }
}