15 writes to Size
Microsoft.Diagnostics.DataContractReader.Legacy (15)
ClrDataExceptionState.cs (1)
159Size = objectSize,
ClrDataFrame.cs (11)
507Size = (ulong)typeSize, 923new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 933new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 934new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register2), Size = (ulong)pointerSize, IsRegisterValue = true }, 939new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 940new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister2, varInfo.StackOffset2), Size = (ulong)pointerSize, IsRegisterValue = false }, 945new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset), Size = (ulong)pointerSize, IsRegisterValue = false }, 946new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register), Size = (ulong)pointerSize, IsRegisterValue = true }, 951new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset), Size = 2 * (ulong)pointerSize, IsRegisterValue = false }, 967return [new NativeVarLocation { AddressOrValue = regValue, Size = (ulong)pointerSize, IsRegisterValue = true }]; 976return [new NativeVarLocation { AddressOrValue = addr, Size = (ulong)pointerSize, IsRegisterValue = false }];
ClrDataValue.cs (3)
417Size = _target.Contracts.RuntimeTypeSystem.GetBaseSize(_typeHandle), 616Size = GetTypeSize(elementType), 938Size = fieldType is null
5 references to Size
Microsoft.Diagnostics.DataContractReader.Legacy (5)
ClrDataFrame.cs (1)
500&& (ulong)typeSize < locations[0].Size)
ClrDataValue.cs (4)
67_totalSize += loc.Size; 181int size = (int)loc.Size; 191Span<byte> memBytes = new(dst, (int)loc.Size); 195dst += loc.Size;