46 instantiations of InstructionOffset
Mono.Cecil (36)
Mono.Cecil.Cil\CodeReader.cs (10)
406 async_method.catch_handler = new InstructionOffset (GetInstruction (async_method.catch_handler.Offset)); 410 async_method.yields [i] = new InstructionOffset (GetInstruction (async_method.yields [i].Offset)); 414 async_method.resumes [i] = new InstructionOffset (GetInstruction (async_method.resumes [i].Offset)); 423 scope.start = new InstructionOffset (GetInstruction (scope.start.Offset)); 427 ? new InstructionOffset () 428 : new InstructionOffset (end_instruction); 440 sequence_point.offset = new InstructionOffset (instruction); 454 scope.Start = new InstructionOffset (start_instruction); 458 ? new InstructionOffset (end_instruction) 459 : new InstructionOffset ();
Mono.Cecil.Cil\MethodBody.cs (10)
429 result = new InstructionOffset (existing_instruction); 442 return new InstructionOffset (cache_instruction); 452 return new InstructionOffset (i == 0 ? items [0] : items [i - 1]); 455 return new InstructionOffset (items [i]); 458 return new InstructionOffset (i == 0 ? items [0] : items [i - 1]); 464 return new InstructionOffset (); 477 return new InstructionOffset (i == 0 ? items [0] : items [i - 1]); 482 return new InstructionOffset (cache_instruction); 485 return new InstructionOffset (i == 0 ? items [0] : items [i - 1]); 490 return new InstructionOffset ();
Mono.Cecil.Cil\SequencePoint.cs (2)
63 this.offset = new InstructionOffset (offset); 72 this.offset = new InstructionOffset (instruction);
Mono.Cecil.Cil\Symbols.cs (10)
168 this.start = new InstructionOffset (start); 171 this.end = new InstructionOffset (end); 557 this.catch_handler = new InstructionOffset (catchHandler); 563 this.catch_handler = new InstructionOffset (catchHandler); 569 this.catch_handler = new InstructionOffset (-1); 590 this.start = new InstructionOffset (start); 591 this.end = new InstructionOffset (end); 596 this.start = new InstructionOffset (start); 597 this.end = end != null ? new InstructionOffset (end) : new InstructionOffset ();
Mono.Cecil\AssemblyReader.cs (4)
2943 start = new InstructionOffset ((int) record.Col4), 2944 end = new InstructionOffset ((int) (record.Col4 + record.Col5)), 3216 yields.Add (new InstructionOffset (signature.ReadInt32 ())); 3217 resumes.Add (new InstructionOffset (signature.ReadInt32 ()));
Mono.Cecil.Mdb (4)
Mono.Cecil.Mdb\MdbReader.cs (4)
142 Start = new InstructionOffset (0), 143 End = new InstructionOffset (info.code_size), 151 scope.Start = new InstructionOffset (block.StartOffset); 152 scope.End = new InstructionOffset (block.EndOffset);
Mono.Cecil.Pdb (6)
Mono.Cecil.Pdb\NativePdbReader.cs (6)
112 : new ScopeDebugInformation { Start = new InstructionOffset (0), End = new InstructionOffset ((int) function.length) }; 139 async_debug_info.Yields.Add (new InstructionOffset ((int) synchronization_point.SynchronizeOffset)); 140 async_debug_info.Resumes.Add (new InstructionOffset ((int) synchronization_point.ContinuationOffset)); 166 parent.Start = new InstructionOffset ((int) scope.offset); 167 parent.End = new InstructionOffset ((int) (scope.offset + scope.length));
24 references to InstructionOffset
Mono.Cecil (24)
Mono.Cecil.Cil\MethodBody.cs (5)
425 public InstructionOffset Resolve (InstructionOffset inputOffset) 427 var result = ResolveInstructionOffset (inputOffset); 434 InstructionOffset ResolveInstructionOffset (InstructionOffset inputOffset)
Mono.Cecil.Cil\SequencePoint.cs (1)
17 internal InstructionOffset offset;
Mono.Cecil.Cil\Symbols.cs (16)
96 internal InstructionOffset start; 97 internal InstructionOffset end; 103 public InstructionOffset Start { 108 public InstructionOffset End { 516 internal InstructionOffset catch_handler; 517 internal Collection<InstructionOffset> yields; 518 internal Collection<InstructionOffset> resumes; 521 public InstructionOffset CatchHandler { 526 public Collection<InstructionOffset> Yields { 529 Interlocked.CompareExchange (ref yields, new Collection<InstructionOffset> (), null); 535 public Collection<InstructionOffset> Resumes { 538 Interlocked.CompareExchange (ref resumes, new Collection<InstructionOffset> (), null); 575 internal InstructionOffset start; 576 internal InstructionOffset end; 578 public InstructionOffset Start { 583 public InstructionOffset End {
Mono.Cecil\AssemblyReader.cs (2)
3211 var yields = new Collection<InstructionOffset> (); 3212 var resumes = new Collection<InstructionOffset> ();