diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases.Expectations/Assertions/LogDoesNotContainAttribute.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases.Expectations/Assertions/LogDoesNotContainAttribute.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/LogDoesNotContainAttribute.cs b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/LogDoesNotContainAttribute.cs index 599908cfb..2cd8667ed 100644 --- a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/LogDoesNotContainAttribute.cs +++ b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/LogDoesNotContainAttribute.cs @@ -13,5 +13,11 @@ namespace Mono.Linker.Tests.Cases.Expectations.Assertions if (string.IsNullOrEmpty (message)) throw new ArgumentException ("Value cannot be null or empty.", nameof (message)); } + + /// <summary> + /// Property used by the result checkers of trimmer and analyzers to determine whether + /// the tool should have produced the specified warning on the annotated member. + /// </summary> + public ProducedBy ProducedBy { get; set; } = ProducedBy.TrimmerAndAnalyzer; } } |