mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-13 03:35:04 +00:00
fix: use ToString() instead of as string to support .NET Standard
This commit is contained in:
@@ -145,8 +145,8 @@ namespace ICD.Common.Utils.Extensions
|
||||
{
|
||||
if (extends == null)
|
||||
throw new ArgumentNullException("extends");
|
||||
|
||||
return extends.Value as string;
|
||||
|
||||
return extends.Value == null ? null : extends.Value.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user