20 references to GetUninitializedObject
Microsoft.AspNetCore.Connections.Abstractions (1)
src\Shared\ParameterDefaultValue\ParameterDefaultValue.cs (1)
87private static object? CreateValueType(Type t) => RuntimeHelpers.GetUninitializedObject(t);
Microsoft.AspNetCore.Http.Abstractions (1)
src\Shared\ParameterDefaultValue\ParameterDefaultValue.cs (1)
87private static object? CreateValueType(Type t) => RuntimeHelpers.GetUninitializedObject(t);
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
1423private static object? CreateValueType(Type t) => RuntimeHelpers.GetUninitializedObject(t);
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ParameterDefaultValue\ParameterDefaultValue.cs (1)
87private static object? CreateValueType(Type t) => RuntimeHelpers.GetUninitializedObject(t);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ParameterDefaultValue\ParameterDefaultValue.cs (1)
87private static object? CreateValueType(Type t) => RuntimeHelpers.GetUninitializedObject(t);
Microsoft.Extensions.Configuration.Binder (1)
src\libraries\Common\src\Extensions\ParameterDefaultValue\ParameterDefaultValue.cs (1)
46RuntimeHelpers.GetUninitializedObject(t);
Microsoft.Extensions.DependencyInjection (1)
src\libraries\Common\src\Extensions\ParameterDefaultValue\ParameterDefaultValue.cs (1)
46RuntimeHelpers.GetUninitializedObject(t);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\libraries\Common\src\Extensions\ParameterDefaultValue\ParameterDefaultValue.cs (1)
46RuntimeHelpers.GetUninitializedObject(t);
System.Linq.Expressions (4)
System\Linq\Expressions\Interpreter\DefaultValueInstruction.cs (1)
30frame.Push(RuntimeHelpers.GetUninitializedObject(_type));
System\Linq\Expressions\Interpreter\LocalAccess.cs (2)
390RuntimeHelpers.GetUninitializedObject(_type); 431RuntimeHelpers.GetUninitializedObject(_type);
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
166frame.Push(RuntimeHelpers.GetUninitializedObject(_defaultValueType));
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\SimpleTypeInfos.cs (1)
342: RuntimeHelpers.GetUninitializedObject(valueInfo.DataType));
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
924return RuntimeHelpers.GetUninitializedObject(type);
src\System\RuntimeType.CreateUninitializedCache.CoreCLR.cs (1)
13/// A cache which allows optimizing <see cref="RuntimeHelpers.GetUninitializedObject(Type)"/>.
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
999return RuntimeHelpers.GetUninitializedObject(type);
System.Private.Windows.Core (1)
System\Private\Windows\Core\BinaryFormat\Deserializer\ClassRecordDeserializer.cs (1)
46RuntimeHelpers.GetUninitializedObject(type);
System.Resources.Extensions (1)
System\Resources\Extensions\BinaryFormat\Deserializer\ClassRecordDeserializer.cs (1)
46RuntimeHelpers.GetUninitializedObject(type);
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\FormatterServices.cs (2)
197Type type) => RuntimeHelpers.GetUninitializedObject(type); 201Type type) => RuntimeHelpers.GetUninitializedObject(type);