New tests.
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / StreamingContext.cs
index b73ec1fa67a185cd4b6a882f45ea88b8c5d9ac8e..c70cf9e05dad7fe9408777f69639132832922c10 100644 (file)
@@ -33,6 +33,9 @@
 namespace System.Runtime.Serialization {
 
        [Serializable]
+#if NET_2_0
+       [System.Runtime.InteropServices.ComVisibleAttribute (true)]
+#endif
        public struct StreamingContext {
                StreamingContextStates state;
                object additional;
@@ -61,14 +64,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);
                }