Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateo Torres-Ruiz <mateoatr@users.noreply.github.com>2020-05-13 09:58:58 +0300
committerGitHub <noreply@github.com>2020-05-13 09:58:58 +0300
commitdf72dcfc27e27735c84c68507426a568799b66e9 (patch)
treed8f6b31389735e578d6fb960cb955fefa834962d /test/Mono.Linker.Tests.Cases.Expectations/Assertions
parentffec224a2a69f0cde4c43d9c90090dcb294ca6c6 (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/Assertions')
-rw-r--r--test/Mono.Linker.Tests.Cases.Expectations/Assertions/NoLinkedOutputAttribute.cs9
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 () { }
+ }
+}