Skip to content

Commit d5c8265

Browse files
authored
fixed readme for Xamarin
[skip ci]
1 parent f8416df commit d5c8265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ For Xamarin.Android you should add the following code:
291291
...
292292
var app = new App();
293293
var mainPage = app.MainPage as MainPage;
294-
mainPage.AddExpectedException(typeof(Java.Net.SocketException));
295-
mainPage.AddExpectedException(typeof(Java.Net.SocketTimeoutException));
294+
mainPage.Socket.AddExpectedException(typeof(Java.Net.SocketException));
295+
mainPage.Socket.AddExpectedException(typeof(Java.Net.SocketTimeoutException));
296296
LoadApplication(app);
297297
}
298298

0 commit comments

Comments
 (0)