コード例 #1
0
 public DbgDotNetCodeLocationImpl(DbgDotNetCodeLocationFactoryImpl factory, ModuleId module, uint token, uint offset, DbgILOffsetMapping ilOffsetMapping)
 {
     this.factory    = factory ?? throw new ArgumentNullException(nameof(factory));
     Module          = module;
     Token           = token;
     Offset          = offset;
     ILOffsetMapping = ilOffsetMapping;
 }
コード例 #2
0
 public DbgDotNetNativeCodeLocationImpl(DbgDotNetNativeCodeLocationFactoryImpl owner, DbgModule module, ModuleId moduleId, uint token, uint offset, DbgILOffsetMapping ilOffsetMapping, ulong nativeMethodAddress, ulong nativeMethodOffset, DnDebuggerObjectHolder <CorCode> corCode)
 {
     this.owner      = owner ?? throw new ArgumentNullException(nameof(owner));
     Module          = moduleId;
     Token           = token;
     Offset          = offset;
     ILOffsetMapping = ilOffsetMapping;
     NativeAddress   = new DbgDotNetNativeFunctionAddress(nativeMethodAddress, nativeMethodOffset);
     CorCode         = corCode ?? throw new ArgumentNullException(nameof(corCode));
     DbgModule       = module ?? throw new ArgumentNullException(nameof(module));
 }
コード例 #3
0
 /// <summary>
 /// Creates a new <see cref="DbgDotNetCodeLocation"/> instance
 /// </summary>
 /// <param name="module">Module</param>
 /// <param name="token">Token of a method within the module</param>
 /// <param name="offset">IL offset of the location within the method body</param>
 /// <param name="ilOffsetMapping">IL offset mapping</param>
 /// <returns></returns>
 public abstract DbgDotNetCodeLocation Create(ModuleId module, uint token, uint offset, DbgILOffsetMapping ilOffsetMapping);
コード例 #4
0
 public abstract DbgDotNetNativeCodeLocation Create(DbgModule module, ModuleId moduleId, uint token, uint ilOffset, DbgILOffsetMapping ilOffsetMapping, ulong nativeMethodAddress, uint nativeMethodOffset, DnDebuggerObjectHolder <CorCode> corCode);