15 writes to Size
Microsoft.Diagnostics.DataContractReader.Legacy (15)
ClrDataExceptionState.cs (1)
167Size = objectSize,
ClrDataFrame.cs (11)
541Size = (ulong)typeSize, 957new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 967new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 968new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register2), Size = (ulong)pointerSize, IsRegisterValue = true }, 973new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 974new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister2, varInfo.StackOffset2), Size = (ulong)pointerSize, IsRegisterValue = false }, 979new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset), Size = (ulong)pointerSize, IsRegisterValue = false }, 980new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 985new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset), Size = 2 * (ulong)pointerSize, IsRegisterValue = false }, 1001return [new NativeVarLocation { AddressOrValue = regValue, Size = (ulong)pointerSize, IsRegisterValue = true }]; 1010return [new NativeVarLocation { AddressOrValue = addr, Size = (ulong)pointerSize, IsRegisterValue = false }];
ClrDataValue.cs (3)
473Size = _target.Contracts.RuntimeTypeSystem.GetBaseSize(_typeHandle), 676Size = GetTypeSize(elementType), 998Size = fieldType is null
5 references to Size
Microsoft.Diagnostics.DataContractReader.Legacy (5)
ClrDataFrame.cs (1)
534&& (ulong)typeSize < locations[0].Size)
ClrDataValue.cs (4)
71_totalSize += loc.Size; 189int size = (int)loc.Size; 199Span<byte> memBytes = new(dst, (int)loc.Size); 203dst += loc.Size;