15 writes to Size
Microsoft.Diagnostics.DataContractReader.Legacy (15)
ClrDataExceptionState.cs (1)
167
Size
= objectSize,
ClrDataFrame.cs (11)
541
Size
= (ulong)typeSize,
957
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
967
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
968
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register2),
Size
= (ulong)pointerSize, IsRegisterValue = true },
973
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
974
new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister2, varInfo.StackOffset2),
Size
= (ulong)pointerSize, IsRegisterValue = false },
979
new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset),
Size
= (ulong)pointerSize, IsRegisterValue = false },
980
new NativeVarLocation { AddressOrValue = ReadRegister(context, target, varInfo.Register),
Size
= (ulong)pointerSize, IsRegisterValue = true },
985
new NativeVarLocation { AddressOrValue = ComputeStackAddress(context, target, varInfo.BaseRegister, varInfo.StackOffset),
Size
= 2 * (ulong)pointerSize, IsRegisterValue = false },
1001
return [new NativeVarLocation { AddressOrValue = regValue,
Size
= (ulong)pointerSize, IsRegisterValue = true }];
1010
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
;