mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Refactoring - use ?? in more places
This commit is contained in:
1 parent
85d6e9f022
commit
22d2273ce4
88 files changed
+231
-972
No files matched your search
@@ -709,14 +709,8 @@ namespace System.Management.Automation
|
||||
/// </summary>
|
||||
public override string Message
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == _message)
|
||||
{
|
||||
_message = (null != _wrapperException) ? _wrapperException.Message : String.Empty;
|
||||
}
|
||||
|
||||
return _message;
|
||||
get {
|
||||
return _message ?? (_message = (null != _wrapperException) ? _wrapperException.Message : String.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user