mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Fixed threading exception in TypeExtensions
This commit is contained in:
parent
a6fbd5a6d2
commit
7e3aef4cb3
2 changed files with 3 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Fixed JSON DateTime parsing in .Net Standard
|
- Fixed JSON DateTime parsing in .Net Standard
|
||||||
|
- Fixed threading exception in TypeExtensions
|
||||||
|
|
||||||
## [9.4.0] - 2019-05-10
|
## [9.4.0] - 2019-05-10
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -369,7 +369,7 @@ namespace ICD.Common.Utils.Extensions
|
||||||
: extends.FullName;
|
: extends.FullName;
|
||||||
}
|
}
|
||||||
|
|
||||||
s_TypeToMinimalName.Add(extends, name);
|
s_TypeToMinimalName[extends] = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
return name;
|
return name;
|
||||||
|
|
@ -389,7 +389,7 @@ namespace ICD.Common.Utils.Extensions
|
||||||
if (!s_TypeToNameWithoutAssemblyDetails.TryGetValue(extends, out name))
|
if (!s_TypeToNameWithoutAssemblyDetails.TryGetValue(extends, out name))
|
||||||
{
|
{
|
||||||
name = RemoveAssemblyDetails(extends.AssemblyQualifiedName);
|
name = RemoveAssemblyDetails(extends.AssemblyQualifiedName);
|
||||||
s_TypeToNameWithoutAssemblyDetails.Add(extends, name);
|
s_TypeToNameWithoutAssemblyDetails[extends] = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
return name;
|
return name;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue