Remove NET_1_1 directive from FormatterServices.cs.
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / StreamingContext.cs
index b73ec1fa67a185cd4b6a882f45ea88b8c5d9ac8e..2ad691a1ab924cf53975cc551db5c4ed123e8631 100644 (file)
@@ -33,6 +33,7 @@
 namespace System.Runtime.Serialization {
 
        [Serializable]
+       [System.Runtime.InteropServices.ComVisibleAttribute (true)]
        public struct StreamingContext {
                StreamingContextStates state;
                object additional;
@@ -61,14 +62,14 @@ namespace System.Runtime.Serialization {
                        }
                }
 
-               override public bool Equals (Object o)
+               override public bool Equals (Object obj)
                {
                        StreamingContext other;
                        
-                       if (!(o is StreamingContext))
+                       if (!(obj is StreamingContext))
                                return false;
 
-                       other = (StreamingContext) o;
+                       other = (StreamingContext) obj;
 
                        return (other.state == this.state) && (other.additional == this.additional);
                }