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 22using System . Collections ;
33using System . Collections . Generic ;
44using System . Diagnostics ;
5+ using System . Diagnostics . CodeAnalysis ;
56using System . Runtime . Serialization ;
67using System . Text ;
78
@@ -108,12 +109,14 @@ public IEnumerator<LfuNode<K, V>> GetEnumerator()
108109 return new Enumerator ( this ) ;
109110 }
110111
112+ [ ExcludeFromCodeCoverage ]
111113 IEnumerator IEnumerable . GetEnumerator ( )
112114 {
113115 return GetEnumerator ( ) ;
114116 }
115117
116118#if DEBUG
119+ [ ExcludeFromCodeCoverage ]
117120 internal static void ValidateNewNode ( LfuNode < K , V > node )
118121 {
119122 if ( node == null )
@@ -127,6 +130,7 @@ internal static void ValidateNewNode(LfuNode<K, V> node)
127130 }
128131 }
129132
133+ [ ExcludeFromCodeCoverage ]
130134 internal void ValidateNode ( LfuNode < K , V > node )
131135 {
132136 if ( node == null )
@@ -158,6 +162,7 @@ internal Enumerator(LfuNodeList<K, V> list)
158162
159163 public LfuNode < K , V > Current => current ;
160164
165+ [ ExcludeFromCodeCoverage ]
161166 object IEnumerator . Current
162167 {
163168 get
@@ -191,6 +196,7 @@ public bool MoveNext()
191196 return true ;
192197 }
193198
199+ [ ExcludeFromCodeCoverage ]
194200 void IEnumerator . Reset ( )
195201 {
196202 current = default ;
You can’t perform that action at this time.
0 commit comments