16 writes to Size
Microsoft.Diagnostics.DataContractReader.Legacy (16)
ClrDataExceptionState.cs (1)
167Size = objectSize,
ClrDataFrame.cs (12)
541Size = (ulong)typeSize, 960new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 970new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 971new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register2), Size = (ulong)pointerSize, IsRegisterValue = true }, 976new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 977new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister2, varInfo.StackOffset2), Size = (ulong)pointerSize, IsRegisterValue = false }, 982new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset), Size = (ulong)pointerSize, IsRegisterValue = false }, 983new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 988new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset), Size = 2 * (ulong)pointerSize, IsRegisterValue = false }, 1045return [new NativeVarLocation { AddressOrValue = address, Size = size, IsRegisterValue = false }]; 1057return [new NativeVarLocation { AddressOrValue = regValue, Size = (ulong)pointerSize, IsRegisterValue = true }]; 1066return [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;