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