[NativeAOT] simpler ObjectHasComponentSize (#83374)
authorVladimir Sadov <vsadov@microsoft.com>
Tue, 14 Mar 2023 19:47:48 +0000 (12:47 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 19:47:48 +0000 (12:47 -0700)
commit5683a5ab8fd6c5d60084c0b394e5f44e60a77d42
treec831e9fcd7d9ead0e5cddf4a5c6b82292d3d2ce0
parent93ab46bde671f163c6f3243e0b00e0bd0644a68b
[NativeAOT] simpler ObjectHasComponentSize (#83374)

* simplified ObjectHasComponentSize

* removes EETypePtr.ComponentSize and EETypePtr.IsAbstract

* call entire GetUninitializedObject on nullable underlying type (for static ctors)
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Array.NativeAot.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/EETypePtr.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.NativeAot.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/RuntimeTypeHandle.cs