diff options
author | Mateo Torres-Ruiz <mateoatr@users.noreply.github.com> | 2020-05-13 09:58:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 09:58:58 +0300 |
commit | df72dcfc27e27735c84c68507426a568799b66e9 (patch) | |
tree | d8f6b31389735e578d6fb960cb955fefa834962d /test/Mono.Linker.Tests.Cases.Expectations | |
parent | ffec224a2a69f0cde4c43d9c90090dcb294ca6c6 (diff) |
Use MessageContainer for logging errors (#1155)
* Log errors via MessageContainer
* Use LinkerErrorExceptions for all throws. Don't stop linker on first error found.
* Move FoundErrors to LinkContext and clean exceptions.
* Use same code for errors with same message.
* Fix test and whitespace formatting
* Update exit message
Co-authored-by: Marek Safar <marek.safar@gmail.com>
* Add error for unexpected scenarios.
* Print all inner exceptions.
* Update FeatureSubstitutionsInvalid test.
* Update docs/error-codes.md
Co-authored-by: Sven Boemer <sbomer@gmail.com>
* Print all inner exceptions in LinkerFatalErrorException
* Whitespace formatting
Co-authored-by: Marek Safar <marek.safar@gmail.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
Diffstat (limited to 'test/Mono.Linker.Tests.Cases.Expectations')
-rw-r--r-- | test/Mono.Linker.Tests.Cases.Expectations/Assertions/NoLinkedOutputAttribute.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/NoLinkedOutputAttribute.cs b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/NoLinkedOutputAttribute.cs new file mode 100644 index 000000000..0537a62e1 --- /dev/null +++ b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/NoLinkedOutputAttribute.cs @@ -0,0 +1,9 @@ +using System; + +namespace Mono.Linker.Tests.Cases.Expectations.Assertions +{ + public class NoLinkedOutputAttribute : Attribute + { + public NoLinkedOutputAttribute () { } + } +} |