xamarin-macios/tests/mtouch
Sebastien Pouliot 3a851e2a63
[mtouch][mmp] Report invalid debug symbols files. Fixes #3200 (#3203)
* [mtouch][mmp] Report invalid debug symbols files. Fixes #3200

Try to read the assembly with symbols and, if that fails, warn and
fallback to loading them without symbols.

This fixes cases were it's not easy to update or delete (e.g. nuget)
bad symbols files - so this cannot be an error without causing a lot
of pain.

However it needs to be reported, otherwise it wont be fixed (by the
publisher) and it can limit the debugability of the application and
the usefulness of the stacktraces.

Finally merge most of the resolver's code between mtouch and mmp so
we don't have to fix such issue twice anymore.

note: this needs to be slightly updated once we get a version of cecil
that can give us a more precise error message.

Also bring Rolf's tests from
https://github.com/xamarin/xamarin-macios/pull/3079

reference:
https://github.com/xamarin/xamarin-macios/issues/3200
2018-01-12 17:39:38 -05:00
..
.gitignore [tests] Import 2016-05-26 15:06:52 +02:00
Cache.cs [mtouch tests] Add Cache. 2017-01-05 10:43:55 +01:00
InlinerTest.cs [linker] Add an well known candidate inliner substep along with tests (#1513) 2017-01-17 21:49:44 -05:00
LinkerTests.cs [linker] Handle ParameterInfos preserved from XML definitions. Fixes #60176. (#2915) 2017-10-24 10:57:17 +02:00
MLaunchTool.cs [generator] Add unit test project, and port a few tests over from the makefile tests. (#2299) (#2304) 2017-07-11 08:52:24 +02:00
MTouch.cs [mtouch][mmp] Report invalid debug symbols files. Fixes #3200 (#3203) 2018-01-12 17:39:38 -05:00
MTouchTool.cs [mtouch][mmp] Report invalid debug symbols files. Fixes #3200 (#3203) 2018-01-12 17:39:38 -05:00
Makefile [mtouch tests] Update Makefile to NUnit3 syntax for helper text/targets. (#1171) 2016-11-11 17:47:54 +01:00
MiscTests.cs [tests] Ignore mtouch tests that require device support if device support was not included in the build. (#1109) 2016-11-03 13:20:31 +01:00
RegistrarTest.cs [tests][mtouch] Add test case for bug #59617. (#2926) 2017-10-27 19:14:58 +02:00
SdkTest.cs [mtouch] Don't look for assembly references in attributes in assemblies we ship. Partially fixes #49087. (#2121) 2017-05-24 21:05:21 +02:00
StringUtilsTest.cs [mtouch][mmp] Allow the use of major-only version numbers in arguments. Fixes #60280 (#3029) 2017-11-23 11:16:30 -05:00
TimingTests.cs [mtouch tests] Minor refactoring to make a few nested classes non-nested. (#1433) 2017-01-04 19:33:57 +01:00
mtouch.csproj [mtouch][mmp] Allow the use of major-only version numbers in arguments. Fixes #60280 (#3029) 2017-11-23 11:16:30 -05:00
mtouch.sln [tests] The mtouch tests now require Cecil, so add the expected project reference to the solution. (#1568) 2017-01-27 07:32:44 +01:00
packages.config [tests] Update to NUnit 3 in mtouch tests. (#1119) 2016-11-07 12:22:37 +01:00
runSingleTest.sh [tests] Import 2016-05-26 15:06:52 +02:00