diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-08-16 23:10:42 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-08-16 23:23:40 +0300 |
commit | 70602566de972dedc534490cbeb05e774c26b216 (patch) | |
tree | 7582dd4d34d3cd33a4d6fec158f67b2593712600 /mcs/class/System.ServiceModel | |
parent | 870cbdc8b984e4bb5ae7b7d962a9fd07c74a6e98 (diff) |
[ServiceModel] Don't throw in dummy InstanceContext constructor on mobile/xammac_4_5
Otherwise the NotImplementedException would prevent instantiating the class even though
we just use it as a dummy object on mobile.
Diffstat (limited to 'mcs/class/System.ServiceModel')
-rw-r--r-- | mcs/class/System.ServiceModel/Dummy_2_1.cs | 1 | ||||
-rw-r--r-- | mcs/class/System.ServiceModel/Dummy_XM_4_5.cs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/mcs/class/System.ServiceModel/Dummy_2_1.cs b/mcs/class/System.ServiceModel/Dummy_2_1.cs index 526b5f1f4b8..fd890ec76e1 100644 --- a/mcs/class/System.ServiceModel/Dummy_2_1.cs +++ b/mcs/class/System.ServiceModel/Dummy_2_1.cs @@ -47,7 +47,6 @@ namespace System.ServiceModel public InstanceContext (object implementation) { - throw new NotImplementedException (); } public object GetServiceInstance (Message message) diff --git a/mcs/class/System.ServiceModel/Dummy_XM_4_5.cs b/mcs/class/System.ServiceModel/Dummy_XM_4_5.cs index 0106b2237d5..c36efe1ad2a 100644 --- a/mcs/class/System.ServiceModel/Dummy_XM_4_5.cs +++ b/mcs/class/System.ServiceModel/Dummy_XM_4_5.cs @@ -34,7 +34,6 @@ namespace System.ServiceModel public InstanceContext (object implementation) { - throw new NotImplementedException (); } public object GetServiceInstance (Message message) |