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