Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -132,15 +132,13 @@ namespace Server.Engines.Reports
|
|||
{
|
||||
get
|
||||
{
|
||||
if (((_index == -1)
|
||||
if (((_index == -1)
|
||||
|| (_index >= _collection.Count)))
|
||||
{
|
||||
throw new System.IndexOutOfRangeException("Enumerator not started.");
|
||||
}
|
||||
else
|
||||
{
|
||||
return _currentElement;
|
||||
}
|
||||
|
||||
return _currentElement;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -151,15 +149,13 @@ namespace Server.Engines.Reports
|
|||
{
|
||||
get
|
||||
{
|
||||
if (((_index == -1)
|
||||
if (((_index == -1)
|
||||
|| (_index >= _collection.Count)))
|
||||
{
|
||||
throw new System.IndexOutOfRangeException("Enumerator not started.");
|
||||
}
|
||||
else
|
||||
{
|
||||
return _currentElement;
|
||||
}
|
||||
|
||||
return _currentElement;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue