16 writes to Size
Microsoft.Diagnostics.DataContractReader.Legacy (16)
ClrDataExceptionState.cs (1)
167
Size
= objectSize,
ClrDataFrame.cs (12)
541
Size
= (ulong)typeSize,
960
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
970
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
971
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register2),
Size
= (ulong)pointerSize, IsRegisterValue = true },
976
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
977
new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister2, varInfo.StackOffset2),
Size
= (ulong)pointerSize, IsRegisterValue = false },
982
new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset),
Size
= (ulong)pointerSize, IsRegisterValue = false },
983
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
988
new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset),
Size
= 2 * (ulong)pointerSize, IsRegisterValue = false },
1045
return [new NativeVarLocation { AddressOrValue = address,
Size
= size, IsRegisterValue = false }];
1057
return [new NativeVarLocation { AddressOrValue = regValue,
Size
= (ulong)pointerSize, IsRegisterValue = true }];
1066
return [new NativeVarLocation { AddressOrValue = addr,
Size
= (ulong)pointerSize, IsRegisterValue = false }];
ClrDataValue.cs (3)
473
Size
= _target.Contracts.RuntimeTypeSystem.GetBaseSize(_typeHandle),
676
Size
= GetTypeSize(elementType),
998
Size
= 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
;
189
int size = (int)loc.
Size
;
199
Span<byte> memBytes = new(dst, (int)loc.
Size
);
203
dst += loc.
Size
;