13 references to ComponentSize
System.Private.CoreLib (13)
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (1)
391
return
ComponentSize
== StringComponentSize.Value && IsCanonical;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (9)
379
nuint byteCount = (uint)length * (nuint)pMT->
ComponentSize
;
415
nuint elementSize = (nuint)pMT->
ComponentSize
;
466
nuint elementSize = (nuint)pMT->
ComponentSize
;
542
nuint destSize = pDestArrayMT->
ComponentSize
;
587
nuint srcSize = pSrcArrayMT->
ComponentSize
;
645
nuint srcElSize = RuntimeHelpers.GetMethodTable(sourceArray)->
ComponentSize
;
646
nuint destElSize = RuntimeHelpers.GetMethodTable(destinationArray)->
ComponentSize
;
670
nuint totalByteLength = pMT->
ComponentSize
* array.NativeLength;
710
nuint elementSize = pMT->
ComponentSize
;
System\Array.NativeAot.cs (1)
455
return this.GetMethodTable()->
ComponentSize
;
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (2)
190
rawSize += (uint)Unsafe.As<RawArrayData>(obj).Length * (nuint)pMT->
ComponentSize
;
199
return array.GetMethodTable()->
ComponentSize
;