@@ -98,7 +98,7 @@ public void TestDebugLineHelloWorld()
9898 inputContext . DebugLinePrinter = Console . Out ;
9999 var dwarf = DwarfFile . Read ( inputContext ) ;
100100
101- inputContext . DebugLineStream . Position = 0 ;
101+ inputContext . DebugLineStream ! . Position = 0 ;
102102
103103 var copyInputDebugLineStream = new MemoryStream ( ) ;
104104 inputContext . DebugLineStream . CopyTo ( copyInputDebugLineStream ) ;
@@ -134,7 +134,7 @@ public void TestDebugLineHelloWorld()
134134
135135 var inputDebugLineBuffer = copyInputDebugLineStream . ToArray ( ) ;
136136 var outputDebugLineBuffer = ( ( MemoryStream ) reloadContext . DebugLineStream ) . ToArray ( ) ;
137- CollectionAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
137+ ByteArrayAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
138138 }
139139
140140 [ TestMethod ]
@@ -157,7 +157,7 @@ public void TestDebugLineLibMultipleObjs()
157157 inputContext . DebugLinePrinter = Console . Out ;
158158 var dwarf = DwarfFile . Read ( inputContext ) ;
159159
160- inputContext . DebugLineStream . Position = 0 ;
160+ inputContext . DebugLineStream ! . Position = 0 ;
161161
162162 var copyInputDebugLineStream = new MemoryStream ( ) ;
163163 inputContext . DebugLineStream . CopyTo ( copyInputDebugLineStream ) ;
@@ -193,7 +193,7 @@ public void TestDebugLineLibMultipleObjs()
193193
194194 var inputDebugLineBuffer = copyInputDebugLineStream . ToArray ( ) ;
195195 var outputDebugLineBuffer = ( ( MemoryStream ) reloadContext . DebugLineStream ) . ToArray ( ) ;
196- CollectionAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
196+ ByteArrayAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
197197 }
198198
199199 [ TestMethod ]
@@ -215,7 +215,7 @@ public void TestDebugLineSmall()
215215 inputContext . DebugLinePrinter = Console . Out ;
216216 var dwarf = DwarfFile . Read ( inputContext ) ;
217217
218- inputContext . DebugLineStream . Position = 0 ;
218+ inputContext . DebugLineStream ! . Position = 0 ;
219219 var copyInputDebugLineStream = new MemoryStream ( ) ;
220220 inputContext . DebugLineStream . CopyTo ( copyInputDebugLineStream ) ;
221221 inputContext . DebugLineStream . Position = 0 ;
@@ -249,7 +249,7 @@ public void TestDebugLineSmall()
249249
250250 var inputDebugLineBuffer = copyInputDebugLineStream . ToArray ( ) ;
251251 var outputDebugLineBuffer = ( ( MemoryStream ) reloadContext . DebugLineStream ) . ToArray ( ) ;
252- CollectionAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
252+ ByteArrayAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
253253 }
254254
255255
@@ -274,7 +274,7 @@ public void TestDebugLineMultipleFunctions()
274274 inputContext . DebugLinePrinter = Console . Out ;
275275 var dwarf = DwarfFile . Read ( inputContext ) ;
276276
277- inputContext . DebugLineStream . Position = 0 ;
277+ inputContext . DebugLineStream ! . Position = 0 ;
278278 var copyInputDebugLineStream = new MemoryStream ( ) ;
279279 inputContext . DebugLineStream . CopyTo ( copyInputDebugLineStream ) ;
280280 inputContext . DebugLineStream . Position = 0 ;
@@ -308,7 +308,7 @@ public void TestDebugLineMultipleFunctions()
308308
309309 var inputDebugLineBuffer = copyInputDebugLineStream . ToArray ( ) ;
310310 var outputDebugLineBuffer = ( ( MemoryStream ) reloadContext . DebugLineStream ) . ToArray ( ) ;
311- CollectionAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
311+ ByteArrayAssert . AreEqual ( inputDebugLineBuffer , outputDebugLineBuffer ) ;
312312 }
313313
314314
0 commit comments