File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2
2
using System . Collections ;
3
3
using System . Collections . Generic ;
4
4
using System . Diagnostics ;
5
+ using System . Diagnostics . CodeAnalysis ;
5
6
using System . Runtime . Serialization ;
6
7
using System . Text ;
7
8
@@ -108,12 +109,14 @@ public IEnumerator<LfuNode<K, V>> GetEnumerator()
108
109
return new Enumerator ( this ) ;
109
110
}
110
111
112
+ [ ExcludeFromCodeCoverage ]
111
113
IEnumerator IEnumerable . GetEnumerator ( )
112
114
{
113
115
return GetEnumerator ( ) ;
114
116
}
115
117
116
118
#if DEBUG
119
+ [ ExcludeFromCodeCoverage ]
117
120
internal static void ValidateNewNode ( LfuNode < K , V > node )
118
121
{
119
122
if ( node == null )
@@ -127,6 +130,7 @@ internal static void ValidateNewNode(LfuNode<K, V> node)
127
130
}
128
131
}
129
132
133
+ [ ExcludeFromCodeCoverage ]
130
134
internal void ValidateNode ( LfuNode < K , V > node )
131
135
{
132
136
if ( node == null )
@@ -158,6 +162,7 @@ internal Enumerator(LfuNodeList<K, V> list)
158
162
159
163
public LfuNode < K , V > Current => current ;
160
164
165
+ [ ExcludeFromCodeCoverage ]
161
166
object IEnumerator . Current
162
167
{
163
168
get
@@ -191,6 +196,7 @@ public bool MoveNext()
191
196
return true ;
192
197
}
193
198
199
+ [ ExcludeFromCodeCoverage ]
194
200
void IEnumerator . Reset ( )
195
201
{
196
202
current = default ;
You can’t perform that action at this time.
0 commit comments