Example #1
0
 /// <summary>
 /// Creates a ManagedMethodId.
 /// </summary>
 /// <param name="module">Module version ID in which the method exists.</param>
 /// <param name="method">Method ID.</param>
 public ManagedMethodId(
     Guid module,
     ManagedModuleMethodId method)
 {
     Module = module;
     Method = method;
 }
 /// <summary>
 /// Creates an ExceptionRegionUpdate.
 /// </summary>
 /// <param name="method">Method information before the change was made.</param>
 /// <param name="delta">Total of lines modified after the update.</param>
 /// <param name="newSpan">Updated text span for the active statement.</param>
 public ManagedExceptionRegionUpdate(
     ManagedModuleMethodId method,
     int delta,
     SourceSpan newSpan)
 {
     Method  = method;
     Delta   = delta;
     NewSpan = newSpan;
 }
Example #3
0
 /// <summary>
 /// Creates a ManagedActiveStatementUpdate.
 /// </summary>
 /// <param name="method">Method information before the change was made.</param>
 /// <param name="ilOffset">Old IL offset of the active statement.</param>
 /// <param name="newSpan">Updated text span for the active statement.</param>
 public ManagedActiveStatementUpdate(
     ManagedModuleMethodId method,
     int ilOffset,
     SourceSpan newSpan)
 {
     Method   = method;
     ILOffset = ilOffset;
     NewSpan  = newSpan;
 }