1 write to MethodSize
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\GCInfo\X86\GCInfo.cs (1)
118
MethodSize
= target.GCDecodeUnsigned(ref offset);
13 references to MethodSize
Microsoft.Diagnostics.DataContractReader.Contracts (13)
Contracts\GCInfo\X86\GCInfo.cs (13)
122
Debug.Assert(relativeOffset <=
MethodSize
);
124
Header = InfoHdr.DecodeHeader(target, ref offset,
MethodSize
, (int)gcInfoVersion);
455
uint IGCInfoDecoder.GetCodeLength() =>
MethodSize
;
626
uint methodSize =
MethodSize
;
1061
CodeSize:
MethodSize
,
1070
GSCookieValidRangeEnd: gsCookie.HasValue ?
MethodSize
: 0,
1101
SortedSet<uint> boundaries = [0,
MethodSize
];
1105
if (offset < 0 || (uint)offset >
MethodSize
|| ((uint)offset ==
MethodSize
&& !Header.Interruptible))
1106
throw new BadImageFormatException($"X86 GC transition offset {offset} is outside code size {
MethodSize
}.");
1114
if (local.BeginOffset > local.EndOffset || local.EndOffset >
MethodSize
)
1115
throw new BadImageFormatException($"X86 local lifetime [{local.BeginOffset},{local.EndOffset}) exceeds code size {
MethodSize
}.");
1158
if (offset <
MethodSize
)