diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/Logging/SourceLines.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/Logging/SourceLines.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Logging/SourceLines.cs b/test/Mono.Linker.Tests.Cases/Logging/SourceLines.cs index 5d54b8515..50f626cc5 100644 --- a/test/Mono.Linker.Tests.Cases/Logging/SourceLines.cs +++ b/test/Mono.Linker.Tests.Cases/Logging/SourceLines.cs @@ -1,6 +1,5 @@ using System; using System.Diagnostics.CodeAnalysis; -using System.Linq.Expressions; using Mono.Linker.Tests.Cases.Expectations.Assertions; using Mono.Linker.Tests.Cases.Expectations.Metadata; @@ -9,11 +8,11 @@ namespace Mono.Linker.Tests.Cases.Logging [SkipKeptItemsValidation] [SetupCompileBefore ("FakeSystemAssembly.dll", new[] { "../PreserveDependencies/Dependencies/PreserveDependencyAttribute.cs" })] [SetupCompileArgument ("/debug:full")] - [LogContains ("(37,4): Trim analysis warning IL2074: Mono.Linker.Tests.Cases.Logging.SourceLines.UnrecognizedReflectionPattern(): " + + [LogContains ("(36,4): Trim analysis warning IL2074: Mono.Linker.Tests.Cases.Logging.SourceLines.UnrecognizedReflectionPattern(): " + "The requirements declared via the 'DynamicallyAccessedMembersAttribute' on the return value of method 'Mono.Linker.Tests.Cases.Logging.SourceLines.GetUnknownType()' " + "don't match those on the field 'System.Type Mono.Linker.Tests.Cases.Logging.SourceLines::type'. " + "The source value must declare at least the same requirements as those declared on the target location it's assigned to ")] - [LogContains ("(38,4): Trim analysis warning IL2074: Mono.Linker.Tests.Cases.Logging.SourceLines.UnrecognizedReflectionPattern(): " + + [LogContains ("(37,4): Trim analysis warning IL2074: Mono.Linker.Tests.Cases.Logging.SourceLines.UnrecognizedReflectionPattern(): " + "The requirements declared via the 'DynamicallyAccessedMembersAttribute' on the return value of method 'Mono.Linker.Tests.Cases.Logging.SourceLines.GetUnknownType()' " + "don't match those on the field 'System.Type Mono.Linker.Tests.Cases.Logging.SourceLines::type'. " + "The source value must declare at least the same requirements as those declared on the target location it's assigned to ")] |