Skip to content

Commit

Permalink
Refactoring: switched AssemblyLocation property to use expression body.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed May 19, 2024
1 parent 3fd1a9e commit 999ebf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mhlib/CurrentApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static string AppCopyright
/// <summary>
/// Get the full path to the running assembly.
/// </summary>
public static string AssemblyLocation { get => Assembly.GetEntryAssembly().Location; }
public static string AssemblyLocation => Assembly.GetEntryAssembly().Location;

/// <summary>
/// CurrentApp class constructor.
Expand Down

0 comments on commit 999ebf0

Please sign in to comment.