Skip to content

Commit d1f8b6c

Browse files
committed
remove cast
1 parent 4ff8f61 commit d1f8b6c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SharpDbg.Infrastructure/Debugger/BreakpointManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class BreakpointInfo
2424
public int? ResolvedEndLine { get; set; }
2525
public int? MethodToken { get; set; }
2626
public int? ILOffset { get; set; }
27-
public long? ModuleBaseAddress { get; set; }
27+
public CORDB_ADDRESS? ModuleBaseAddress { get; set; }
2828
}
2929

3030
/// <summary>

src/SharpDbg.Infrastructure/Debugger/ModuleInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class ModuleInfo : IDisposable
3131
/// <summary>
3232
/// Base address of the module in memory
3333
/// </summary>
34-
public long BaseAddress { get; }
34+
public CORDB_ADDRESS BaseAddress { get; }
3535
public bool IsUserCode { get; }
3636

3737
public ModuleInfo(CorDebugModule module, string modulePath, SymbolReader? symbolReader, bool isUserCode)
@@ -41,7 +41,7 @@ public ModuleInfo(CorDebugModule module, string modulePath, SymbolReader? symbol
4141
IsUserCode = isUserCode;
4242
ModuleName = Path.GetFileName(modulePath);
4343
SymbolReader = symbolReader;
44-
BaseAddress = (long)module.BaseAddress;
44+
BaseAddress = module.BaseAddress;
4545
}
4646

4747
/// <summary>

0 commit comments

Comments
 (0)