Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EmptyEnumerator.cs
Go to the documentation of this file.
1
using
System.Collections
;
2
using
System.Collections.Generic
;
3
using
System.Diagnostics.CodeAnalysis
;
4
5
namespace
System.Linq.Parallel
;
6
7
internal
sealed
class
EmptyEnumerator
<T> :
QueryOperatorEnumerator
<T, int>,
IEnumerator
<T>,
IEnumerator
,
IDisposable
8
{
9
public
T
Current
=>
default
(T);
10
11
object
IEnumerator.Current =>
null
;
12
13
internal
override
bool
MoveNext
([
MaybeNullWhen
(
false
)][
AllowNull
]
ref
T
currentElement
,
ref
int
currentKey)
14
{
15
return
false
;
16
}
17
18
public
bool
MoveNext
()
19
{
20
return
false
;
21
}
22
23
void
IEnumerator
.
Reset
()
24
{
25
}
26
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Linq.Parallel.EmptyEnumerator.MoveNext
bool MoveNext()
Definition
EmptyEnumerator.cs:18
System.Linq.Parallel.EmptyEnumerator.MoveNext
override bool MoveNext([MaybeNullWhen(false)][AllowNull] ref T currentElement, ref int currentKey)
Definition
EmptyEnumerator.cs:13
System.Linq.Parallel.EmptyEnumerator.Current
T Current
Definition
EmptyEnumerator.cs:9
System.Linq.Parallel.EmptyEnumerator
Definition
EmptyEnumerator.cs:8
System.Linq.Parallel.QueryOperatorEnumerator
Definition
QueryOperatorEnumerator.cs:8
System.Collections.Generic.IEnumerator
Definition
IEnumerator.cs:4
System.Collections.IEnumerator.Reset
void Reset()
System.IDisposable
Definition
IDisposable.cs:4
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Collections
Definition
BlockingCollection.cs:8
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Linq.Parallel
Definition
AnyAllSearchOperator.cs:5
source
System.Linq.Parallel
System.Linq.Parallel
EmptyEnumerator.cs
Generated by
1.10.0