File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1844,7 +1844,7 @@ ENDFUNC
1844
1844
*** named On{Event} with event's parameters.
1845
1845
************************************************************************
1846
1846
FUNCTION OnCompleted(lvResult, lcMethod)
1847
- LOCAL lParamText,lCount
1847
+ LOCAL lParamText
1848
1848
1849
1849
IF ISNULL(lvResult) OR VARTYPE(THIS.oHandler) != " O" && If the call to WaitForEvent was canceled or the handler was unsubscribed:
1850
1850
RETURN
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ public void EventSubscriber_WaitForFutureEvents()
35
35
static void VerifyResults ( EventSubscriber subscriber )
36
36
{
37
37
var result = subscriber . WaitForEvent ( ) ;
38
- Assert . IsTrue ( result . Name == nameof ( Loopback . NoParams ) && result . Params . Length == 0 ) ;
38
+ Assert . IsTrue ( result . Name == nameof ( Loopback . NoParams ) && result . Params . Count == 0 ) ;
39
39
result = subscriber . WaitForEvent ( ) ;
40
- Assert . IsTrue ( result . Name == nameof ( Loopback . TwoParams ) && result . Params . Length == 2 && ( string ) result . Params [ 0 ] == "A" && ( int ) result . Params [ 1 ] == 1 ) ;
40
+ Assert . IsTrue ( result . Name == nameof ( Loopback . TwoParams ) && result . Params . Count == 2 && ( string ) result . Params [ 0 ] == "A" && ( int ) result . Params [ 1 ] == 1 ) ;
41
41
}
42
42
}
43
43
You can’t perform that action at this time.
0 commit comments