src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (7)
1050info.AddValue(ComparerName, null, typeof(IComparer));
1051info.AddValue(HashCodeProviderName, null, typeof(IHashCodeProvider));
1056info.AddValue(ComparerName, c.Comparer, typeof(IComparer));
1057info.AddValue(HashCodeProviderName, c.HashCodeProvider, typeof(IHashCodeProvider));
1061info.AddValue(KeyComparerName, keyComparerForSerilization, typeof(IEqualityComparer));
1070info.AddValue(KeysName, serKeys, typeof(object[]));
1071info.AddValue(ValuesName, serValues, typeof(object[]));
src\libraries\System.Private.CoreLib\src\System\Exception.cs (11)
110info.AddValue("ClassName", GetClassName(), typeof(string)); // Do not rename (binary serialization)
111info.AddValue("Message", _message, typeof(string)); // Do not rename (binary serialization)
112info.AddValue("Data", _data, typeof(IDictionary)); // Do not rename (binary serialization)
113info.AddValue("InnerException", _innerException, typeof(Exception)); // Do not rename (binary serialization)
114info.AddValue("HelpURL", _helpURL, typeof(string)); // Do not rename (binary serialization)
115info.AddValue("StackTraceString", SerializationStackTraceString, typeof(string)); // Do not rename (binary serialization)
116info.AddValue("RemoteStackTraceString", _remoteStackTraceString, typeof(string)); // Do not rename (binary serialization)
117info.AddValue("RemoteStackIndex", 0, typeof(int)); // Do not rename (binary serialization)
118info.AddValue("ExceptionMethod", null, typeof(string)); // Do not rename (binary serialization)
120info.AddValue("Source", _source, typeof(string)); // Do not rename (binary serialization)
121info.AddValue("WatsonBuckets", SerializationWatsonBuckets, typeof(byte[])); // Do not rename (binary serialization)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (16)
145AddValue(name, value, typeof(object));
149AddValue(name, value, value.GetType());
155AddValue(name, (object)value, typeof(bool));
160AddValue(name, (object)value, typeof(char));
166AddValue(name, (object)value, typeof(sbyte));
171AddValue(name, (object)value, typeof(byte));
176AddValue(name, (object)value, typeof(short));
182AddValue(name, (object)value, typeof(ushort));
187AddValue(name, (object)value, typeof(int));
193AddValue(name, (object)value, typeof(uint));
198AddValue(name, (object)value, typeof(long));
204AddValue(name, (object)value, typeof(ulong));
209AddValue(name, (object)value, typeof(float));
214AddValue(name, (object)value, typeof(double));
219AddValue(name, (object)value, typeof(decimal));
224AddValue(name, (object)value, typeof(DateTime));
src\libraries\System.Private.CoreLib\src\System\Security\SecurityException.cs (6)
75info.AddValue(DemandedName, Demanded, typeof(string));
76info.AddValue(GrantedSetName, GrantedSet, typeof(string));
77info.AddValue(RefusedSetName, RefusedSet, typeof(string));
78info.AddValue(DeniedName, DenySetInstance, typeof(string));
79info.AddValue(PermitOnlyName, PermitOnlySetInstance, typeof(string));
80info.AddValue(UrlName, Url, typeof(string));