10 references to GetUninitializedObject
mscorlib (6)
system\runtime\remoting\message.cs (2)
3875
SerializationMonkey m = (SerializationMonkey) FormatterServices.
GetUninitializedObject
(typeof(SerializationMonkey));
4239
SerializationMonkey m = (SerializationMonkey) FormatterServices.
GetUninitializedObject
(typeof(SerializationMonkey));
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (1)
912
static Object instanceOfVoid = FormatterServices.
GetUninitializedObject
(Converter.typeofSystemVoid);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
542
pr.PRnewObj = FormatterServices.
GetUninitializedObject
(pr.PRdtType);
979
var = FormatterServices.
GetUninitializedObject
(pr.PRdtType);
system\runtime\serialization\safeserializationmanager.cs (1)
427
object deserialized = FormatterServices.
GetUninitializedObject
(m_realType);
System.Runtime.Serialization (2)
System\Runtime\Serialization\SurrogateDataContract.cs (1)
70
return FormatterServices.
GetUninitializedObject
(objType);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
959
return FormatterServices.
GetUninitializedObject
(DataContract.GetDataContractForInitialization(id).TypeForInitialization);
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
252
this.cachedActivity = (Activity)FormatterServices.
GetUninitializedObject
(this.cachedDefinitionActivity.GetType());
AuthoringOM\Serializer\ActivitySurrogateSelector.cs (1)
163
this.returnedObject = FormatterServices.
GetUninitializedObject
(this.type);