mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-14 04:58:33 +00:00
fix: use ToString() instead of as string to support .NET Standard
This commit is contained in:
parent
c0ed7f9b26
commit
78f5c4a7b6
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ namespace ICD.Common.Utils.Extensions
|
||||||
if (extends == null)
|
if (extends == null)
|
||||||
throw new ArgumentNullException("extends");
|
throw new ArgumentNullException("extends");
|
||||||
|
|
||||||
return extends.Value as string;
|
return extends.Value == null ? null : extends.Value.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue