Coalesce nulls rather than null test where applicable. (#1150)
This commit is contained in:
committed by
James Newton-King
parent
2061a8bb9a
commit
f4c17aedb2
@@ -271,7 +271,7 @@ namespace Newtonsoft.Json
|
||||
/// </summary>
|
||||
public virtual Type ValueType
|
||||
{
|
||||
get { return (_value != null) ? _value.GetType() : null; }
|
||||
get { return _value?.GetType(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user