Skip to content

Commit

Permalink
Add missing property assignments (fixes #358)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElektroKill committed Sep 12, 2024
1 parent b1fbfbc commit f4e9d2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions dnSpy/dnSpy.Contracts.Debugger/DbgMessageEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ public sealed class DbgMessageProcessExitedEventArgs : DbgMessageProcessEventArg
/// <param name="process">Process</param>
/// <param name="exitCode">Process exit code</param>
public DbgMessageProcessExitedEventArgs(DbgProcess process, int exitCode)
: base(process) {
}
: base(process) => ExitCode = exitCode;
}

/// <summary>
Expand Down Expand Up @@ -420,8 +419,7 @@ public sealed class DbgMessageThreadExitedEventArgs : DbgMessageThreadEventArgs
/// <param name="thread">Thread</param>
/// <param name="exitCode">Thread exit code</param>
public DbgMessageThreadExitedEventArgs(DbgThread thread, int exitCode)
: base(thread) {
}
: base(thread) => ExitCode = exitCode;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ public ExportDocumentViewerToolTipProviderAttribute()
/// <summary>Constructor</summary>
/// <param name="order">Order of this instance</param>
public ExportDocumentViewerToolTipProviderAttribute(double order)
: base(typeof(IDocumentViewerToolTipProvider)) {
}
: base(typeof(IDocumentViewerToolTipProvider)) => Order = order;

/// <summary>
/// Order of this instance
Expand Down

0 comments on commit f4e9d2c

Please sign in to comment.