mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-13 15:52:03 +07:00
little fixes
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------
|
||||
-- Version X.X.X --
|
||||
-------------------
|
||||
|
||||
Fix 5.4 warning
|
||||
|
||||
-------------------
|
||||
-- Version 2.4.2 --
|
||||
-------------------
|
||||
|
||||
@@ -64,4 +64,4 @@ namespace IsoTools.Internal {
|
||||
_dict.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -91,7 +91,7 @@ namespace IsoTools.Internal {
|
||||
get { return _data.Length; }
|
||||
set {
|
||||
if ( value < _size ) {
|
||||
throw new ArgumentOutOfRangeException("capacity");
|
||||
throw new ArgumentOutOfRangeException("value");
|
||||
}
|
||||
if ( value != _data.Length ) {
|
||||
if ( value > 0 ) {
|
||||
@@ -107,4 +107,4 @@ namespace IsoTools.Internal {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user