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:
authorSven Boemer <sbomer@gmail.com>2021-09-03 22:58:57 +0300
committerGitHub <noreply@github.com>2021-09-03 22:58:57 +0300
commit39505a8e73d3ed4e6befa5b8bc7d32e2380c889a (patch)
tree9db6df09e51deaac5440962e45022b24a74a2ede /test/Mono.Linker.Tests
parent3e5edda958a88e799456ab787a16ff34b7df53e0 (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.cs2
-rw-r--r--test/Mono.Linker.Tests/Tests/MessageContainerTests.cs2
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 ());