internal DnCodeBreakpoint(SerializedDnModule module, uint token, uint offset) { this.module = module; this.token = token; this.offset = offset; this.code = null; }
internal DnCodeBreakpoint(DnModuleId module, uint token, uint offset) { this.Module = module; this.Token = token; this.Offset = offset; this.code = null; }
internal DnCodeBreakpoint(DnModuleId module, uint token, uint offset) { Module = module; Token = token; Offset = offset; code = null; }
internal DnCodeBreakpoint(DnModuleId module, uint token, uint offset) { Module = module; Token = token; Offset = offset; code = null; error = DnCodeBreakpointError.OtherError; }
static SerializedDnModule GetModule(CorCode code) { var func = code.Function; uint token = func == null ? 0 : func.Token; var mod = func == null ? null : func.Module; return(mod == null ? new SerializedDnModule() : mod.SerializedDnModule); }
internal DnCodeBreakpoint(CorCode code, uint offset) { this.module = GetModule(code); var func = code.Function; this.token = func == null ? 0 : func.Token; this.offset = offset; this.code = code; }
internal DnCodeBreakpoint(CorCode code, uint offset) { this.Module = GetModule(code); var func = code.Function; this.Token = func?.Token ?? 0; this.Offset = offset; this.code = code; }
internal DnCodeBreakpoint(DnModuleId module, CorCode code, uint offset) { Module = module; var func = code.Function; Token = func?.Token ?? 0; Offset = offset; this.code = code; error = DnCodeBreakpointError.OtherError; }
public bool Equals(CorCode other) => !ReferenceEquals(other, null) && RawObject == other.RawObject;
public bool Equals(CorCode other) { return(!ReferenceEquals(other, null) && RawObject == other.RawObject); }
static DnModuleId GetModule(CorCode code) => code.Function?.Module?.DnModuleId ?? new DnModuleId();
internal DnNativeCodeBreakpoint(CorCode code, uint offset, Func <NativeCodeBreakpointConditionContext, bool> cond) : base(code, offset) { Condition = cond ?? defaultCond; }