11 references to Offset
ILAssembler (11)
Actions\GrammarActions.Debug.cs (1)
136
int ilOffset = _currentMethod.Definition.MethodBody.
Offset
;
Actions\GrammarActions.MethodBodies.ExceptionHandling.cs (1)
274
private int CurrentMethodBodyOffset => _currentMethod?.Definition.MethodBody.
Offset
?? 0;
MethodBodyWriter.cs (9)
35
public void MarkLabel(Label label) => MarkLabel(label,
Offset
);
162
long shortDistance = (long)targetOffset -
Offset
- 2;
171
_branches.Add(new BranchFixup(operand, target,
Offset
, code, location));
188
int endOffset = checked(
Offset
+ 1 + sizeof(int) + targets.Count * sizeof(int));
238
bool invalid = tryStart < 0 || tryEnd < tryStart || tryEnd >
Offset
239
|| handlerStart < 0 || handlerEnd < handlerStart || handlerEnd >
Offset
;
243
if (filterStart < 0 || filterStart >
Offset
)
246
string.Format(DiagnosticMessageTemplates.InvalidFilterOffset, filterStart,
Offset
), region.Location));
254
tryStart, tryEnd, handlerStart, handlerEnd,
Offset
), region.Location));