projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2010-03-30 Sebastien Pouliot <sebastien@ximian.com>
[mono.git]
/
mcs
/
class
/
corlib
/
System.Runtime.Serialization
/
SerializationInfo.cs
diff --git
a/mcs/class/corlib/System.Runtime.Serialization/SerializationInfo.cs
b/mcs/class/corlib/System.Runtime.Serialization/SerializationInfo.cs
index d0776fe525dbddb67e5df4aa8865d1e45f621b80..2e92f1c7ca75504b839cd92f82164127a2a2cf01 100644
(file)
--- a/
mcs/class/corlib/System.Runtime.Serialization/SerializationInfo.cs
+++ b/
mcs/class/corlib/System.Runtime.Serialization/SerializationInfo.cs
@@
-38,6
+38,7
@@
using System.Collections;
namespace System.Runtime.Serialization
{
namespace System.Runtime.Serialization
{
+ [System.Runtime.InteropServices.ComVisibleAttribute (true)]
public sealed class SerializationInfo
{
Hashtable serialized = new Hashtable ();
public sealed class SerializationInfo
{
Hashtable serialized = new Hashtable ();
@@
-148,6
+149,11
@@
namespace System.Runtime.Serialization
return entry.Value;
}
return entry.Value;
}
+ internal bool HasKey (string name)
+ {
+ return serialized [name] != null;
+ }
+
public void SetType (Type type)
{
if (type == null)
public void SetType (Type type)
{
if (type == null)
@@
-339,6
+345,7
@@
namespace System.Runtime.Serialization
}
/* used by the runtime */
}
/* used by the runtime */
+#pragma warning disable 169
private SerializationEntry [] get_entries ()
{
SerializationEntry [] res = new SerializationEntry [this.MemberCount];
private SerializationEntry [] get_entries ()
{
SerializationEntry [] res = new SerializationEntry [this.MemberCount];
@@
-349,5
+356,6
@@
namespace System.Runtime.Serialization
return res;
}
return res;
}
+#pragma warning restore 169
}
}
}
}