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)
169
this.start = new
InstructionOffset
(start);
172
this.end = new
InstructionOffset
(end);
558
this.catch_handler = new
InstructionOffset
(catchHandler);
564
this.catch_handler = new
InstructionOffset
(catchHandler);
570
this.catch_handler = new
InstructionOffset
(-1);
591
this.start = new
InstructionOffset
(start);
592
this.end = new
InstructionOffset
(end);
597
this.start = new
InstructionOffset
(start);
598
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)
97
internal
InstructionOffset
start;
98
internal
InstructionOffset
end;
104
public
InstructionOffset
Start {
109
public
InstructionOffset
End {
517
internal
InstructionOffset
catch_handler;
518
internal Collection<
InstructionOffset
> yields;
519
internal Collection<
InstructionOffset
> resumes;
522
public
InstructionOffset
CatchHandler {
527
public Collection<
InstructionOffset
> Yields {
530
Interlocked.CompareExchange (ref yields, new Collection<
InstructionOffset
> (), null);
536
public Collection<
InstructionOffset
> Resumes {
539
Interlocked.CompareExchange (ref resumes, new Collection<
InstructionOffset
> (), null);
576
internal
InstructionOffset
start;
577
internal
InstructionOffset
end;
579
public
InstructionOffset
Start {
584
public
InstructionOffset
End {
Mono.Cecil\AssemblyReader.cs (2)
3211
var yields = new Collection<
InstructionOffset
> ();
3212
var resumes = new Collection<
InstructionOffset
> ();