mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
Renaming ToHashSet method to avoid collision
This commit is contained in:
@@ -119,7 +119,7 @@ namespace ICD.Common.Utils
|
||||
|
||||
// Reflection is slow and this method is called a lot, so we cache the results.
|
||||
if (!s_EnumValuesCache.ContainsKey(type))
|
||||
s_EnumValuesCache[type] = GetValuesUncached(type).ToHashSet();
|
||||
s_EnumValuesCache[type] = GetValuesUncached(type).ToIcdHashSet();
|
||||
|
||||
return s_EnumValuesCache[type];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user