11 references to Offset
Microsoft.DotNet.ILAssembler (11)
Actions\GrammarActions.Debug.cs (1)
277int ilOffset = method.Definition.MethodBody.Offset;
Actions\GrammarActions.MethodBodies.ExceptionHandling.cs (1)
267private int CurrentMethodBodyOffset => _currentMethod?.Definition.MethodBody.Offset ?? 0;
MethodBodyWriter.cs (9)
35public void MarkLabel(Label label) => MarkLabel(label, Offset); 164long shortDistance = (long)targetOffset - Offset - 2; 173_branches.Add(new BranchFixup(operand, target, Offset, code, location)); 190int endOffset = checked(Offset + 1 + sizeof(int) + targets.Count * sizeof(int)); 240bool invalid = tryStart < 0 || tryEnd < tryStart || tryEnd > Offset 241|| handlerStart < 0 || handlerEnd < handlerStart || handlerEnd > Offset; 245if (filterStart < 0 || filterStart > Offset) 248string.Format(DiagnosticMessageTemplates.InvalidFilterOffset, filterStart, Offset), region.Location)); 256tryStart, tryEnd, handlerStart, handlerEnd, Offset), region.Location));