diff options
author | Sven Boemer <sbomer@gmail.com> | 2021-09-03 22:58:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 22:58:57 +0300 |
commit | 39505a8e73d3ed4e6befa5b8bc7d32e2380c889a (patch) | |
tree | 9db6df09e51deaac5440962e45022b24a74a2ede /test/Mono.Linker.Tests | |
parent | 3e5edda958a88e799456ab787a16ff34b7df53e0 (diff) |
Nullable annotations part 1 (#2253)
* Nullable annotations part 1
Enable nullable annotations for LinkContext and the XML processing classes.
Diffstat (limited to 'test/Mono.Linker.Tests')
-rw-r--r-- | test/Mono.Linker.Tests/Tests/AnnotationStoreTest.cs | 2 | ||||
-rw-r--r-- | test/Mono.Linker.Tests/Tests/MessageContainerTests.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Mono.Linker.Tests/Tests/AnnotationStoreTest.cs b/test/Mono.Linker.Tests/Tests/AnnotationStoreTest.cs index 36ee6b5c6..325929981 100644 --- a/test/Mono.Linker.Tests/Tests/AnnotationStoreTest.cs +++ b/test/Mono.Linker.Tests/Tests/AnnotationStoreTest.cs @@ -10,7 +10,7 @@ namespace Mono.Linker.Tests.Tests [SetUp] public void Setup () { - var ctx = new LinkContext (null, new ConsoleLogger ()); + var ctx = new LinkContext (null, new ConsoleLogger (), string.Empty); store = new AnnotationStore (ctx); } diff --git a/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs b/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs index 8aaafb749..b81d7a6e7 100644 --- a/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs +++ b/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs @@ -8,7 +8,7 @@ namespace Mono.Linker.Tests [Test] public void MSBuildFormat () { - LinkContext context = new LinkContext (new Pipeline (), new ConsoleLogger ()); + LinkContext context = new LinkContext (new Pipeline (), new ConsoleLogger (), string.Empty); var msg = MessageContainer.CreateCustomErrorMessage ("text", 6001); Assert.AreEqual ("ILLink: error IL6001: text", msg.ToMSBuildString ()); |