40 references to Offset
Mono.Cecil (23)
Mono.Cecil.Cil\CodeReader.cs (8)
405 if (async_method.catch_handler.Offset > -1) 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)); 425 var end_instruction = GetInstruction (scope.end.Offset); 452 var start_instruction = GetInstruction (scope.Start.Offset); 456 var end_instruction = GetInstruction (scope.End.Offset);
Mono.Cecil.Cil\MethodBody.cs (1)
439 int offset = inputOffset.Offset;
Mono.Cecil.Cil\SequencePoint.cs (1)
26 get { return offset.Offset; }
Mono.Cecil\AssemblyReader.cs (4)
2930 if (scope.Start.Offset >= sub_scope.Start.Offset && scope.End.Offset <= sub_scope.End.Offset) {
Mono.Cecil\AssemblyWriter.cs (9)
2339 (uint) scope.Start.Offset, 2340 (uint) ((scope.End.IsEndOfMethod ? method_info.code_size : scope.End.Offset) - scope.Start.Offset))); 2456 signature.WriteUInt32 ((uint) scope.Start.Offset); 2460 : scope.End.Offset; 2462 signature.WriteUInt32 ((uint) (end_offset - scope.Start.Offset)); 2471 signature.WriteUInt32 ((uint) async_method.catch_handler.Offset + 1); 2475 signature.WriteUInt32 ((uint) async_method.yields [i].Offset); 2476 signature.WriteUInt32 ((uint) async_method.resumes [i].Offset);
Mono.Cecil.Mdb (6)
Mono.Cecil.Mdb\MdbReader.cs (4)
169 if (scope.Start.Offset >= sub_scope.Start.Offset && scope.End.Offset <= sub_scope.End.Offset) {
Mono.Cecil.Mdb\MdbWriter.cs (2)
139 writer.OpenScope (scope.Start.Offset); 146 writer.CloseScope (scope.End.IsEndOfMethod ? info.code_size : scope.End.Offset);
Mono.Cecil.Pdb (11)
Mono.Cecil.Pdb\NativePdbReader.cs (4)
221 if (scope.Start.Offset >= sub_scope.Start.Offset && scope.End.Offset <= sub_scope.End.Offset) {
Mono.Cecil.Pdb\NativePdbWriter.cs (7)
127 async_metadata.WriteUInt32 ((uint) async_debug_info.CatchHandler.Offset); 130 async_metadata.WriteUInt32 ((uint) async_debug_info.Yields [i].Offset); 132 async_metadata.WriteUInt32 ((uint) async_debug_info.Resumes [i].Offset); 142 var start_offset = scope.Start.Offset; 145 : scope.End.Offset; 324 var start = scope.Start.Offset; 325 var end = scope.End.IsEndOfMethod ? debug_info.code_size : scope.End.Offset;