-
-
Save imhameed/ccd542f151624c6399bd6d5c0f74b085 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Runtime.CompilerServices; | |
namespace MySingleView | |
{ | |
public class Application | |
{ | |
[MethodImpl(MethodImplOptions.NoInlining)] | |
static string Raise() { | |
throw new InvalidOperationException("okay"); | |
} | |
public static string SelectHostName (string name, int port) | |
{ | |
string result = null; | |
int failures = 0; | |
try { | |
System.Console.WriteLine ("--DEBUG: before"); | |
Raise(); | |
System.Console.WriteLine ("--DEBUG: after"); | |
} catch (Exception e) { | |
failures++; | |
} | |
} | |
return result; | |
} | |
static void Main (string[] args) | |
{ | |
SelectHostName ("fe80::48d:fb00:89bf:c36c", 49861); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment