21 return (uint)exceptionRegionCount <= 20u;
26 if ((uint)startOffset <= 65535u)
28 return (uint)
length <= 255u;
40 return 4 + exceptionRegionCount * (isSmallFormat ? 12 : 24);
45 return (uint)exceptionRegionCount <= 699050u;
54 return catchType.Kind ==
HandleKind.TypeReference;
69 builder.
WriteByte((
byte)exceptionTableSize);
75 builder.
WriteByte((
byte)exceptionTableSize);
76 builder.
WriteUInt16((ushort)(exceptionTableSize >> 8));
109 if ((ushort)tryOffset != tryOffset)
113 if ((
byte)tryLength != tryLength)
117 if ((ushort)handlerOffset != handlerOffset)
121 if ((
byte)handlerLength != handlerLength)
136 if (handlerOffset < 0)
140 if (handlerLength < 0)
145 int catchTokenOrOffset;
156 if (filterOffset < 0)
160 catchTokenOrOffset = filterOffset;
164 catchTokenOrOffset = 0;
169 AddUnchecked(kind, tryOffset, tryLength, handlerOffset, handlerLength, catchTokenOrOffset);
static void InvalidOperation(string message)
static void ArgumentOutOfRange(string parameterName)
static Exception InvalidArgument_Handle(string parameterName)
static string MethodHasNoExceptionRegions