Commit ccadee5
David Karlaš
Bug 50464 - Running xunit.runner.console.exe on xunit.net test DLL from Xamarin Studio as a Default Run Configuration causes exception
In theory at time of AssemblyUnloadEvent exception ERR_UNLOADED when fetching Location should never happen since we fetched and cached location value at time of AssemblyLoadEvent. But since there is bug in runtime which sometimes doesn’t sent AssemblyLoad event, we can get exception… Since we never received assembly it’s reasonable to assume source_to_type doesn’t have type of that assembly, hence it doesn’t need remove. For Unloaded assembly message, it’s better to say “<unknown>” then crash.1 parent 3051621 commit ccadee5
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1920 | 1920 | | |
1921 | 1921 | | |
1922 | 1922 | | |
1923 | | - | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
1924 | 1933 | | |
1925 | 1934 | | |
1926 | 1935 | | |
| |||
1962 | 1971 | | |
1963 | 1972 | | |
1964 | 1973 | | |
1965 | | - | |
1966 | | - | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
1967 | 1978 | | |
1968 | | - | |
| 1979 | + | |
1969 | 1980 | | |
1970 | 1981 | | |
1971 | 1982 | | |
| |||
0 commit comments