Don't use the $ syntax

This commit is contained in:
Frederik Carlier
2016-05-22 19:24:59 +02:00
parent 55c515bd39
commit 5d16fb0275

View File

@@ -351,7 +351,7 @@ namespace Claunia.PropertyList
if (typeof(List<Object>).IsAssignableFrom(c))
return Wrap(((List<Object>)o).ToArray());
throw new PropertyListException($"Cannot wrap an object of type {o.GetType().Name}.");
throw new PropertyListException(string.Format("Cannot wrap an object of type {0}.", o.GetType().Name));
}
/// <summary>