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