diff options
Diffstat (limited to 'mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs')
-rw-r--r-- | mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs b/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs index 673442c82eb..6a7b49a70c5 100644 --- a/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs +++ b/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs @@ -64,7 +64,7 @@ namespace System.Runtime.Remoting.Messaging { get { return _args.Length; } } - public virtual object [] Args
+ public virtual object [] Args { get { return _args; } set { _args = value; } @@ -120,7 +120,7 @@ namespace System.Runtime.Remoting.Messaging { get { return ((IMethodReturnMessage)WrappedMessage).TypeName; } } - public string Uri
+ public string Uri { get { return ((IMethodReturnMessage)WrappedMessage).Uri; } set { Properties["__Uri"] = value; } @@ -146,21 +146,21 @@ namespace System.Runtime.Remoting.Messaging { return _outArgInfo.GetInOutArgName(index); } - class DictionaryWrapper : MethodReturnDictionary
- {
- IDictionary _wrappedDictionary;
- static string[] _keys = new string[] {"__Args", "__Return"};
-
- public DictionaryWrapper(IMethodReturnMessage message, IDictionary wrappedDictionary) : base (message)
- {
- _wrappedDictionary = wrappedDictionary;
- MethodKeys = _keys;
- }
- - protected override IDictionary AllocInternalProperties()
- {
- return _wrappedDictionary;
- }
+ class DictionaryWrapper : MethodReturnDictionary + { + IDictionary _wrappedDictionary; + static string[] _keys = new string[] {"__Args", "__Return"}; + + public DictionaryWrapper(IMethodReturnMessage message, IDictionary wrappedDictionary) : base (message) + { + _wrappedDictionary = wrappedDictionary; + MethodKeys = _keys; + } + + protected override IDictionary AllocInternalProperties() + { + return _wrappedDictionary; + } protected override void SetMethodProperty (string key, object value) { |