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