diff --git a/src/Riok.Mapperly.Abstractions/PublicAPI.Shipped.txt b/src/Riok.Mapperly.Abstractions/PublicAPI.Shipped.txt index 737d71121e..5fc19ec529 100644 --- a/src/Riok.Mapperly.Abstractions/PublicAPI.Shipped.txt +++ b/src/Riok.Mapperly.Abstractions/PublicAPI.Shipped.txt @@ -137,3 +137,8 @@ Riok.Mapperly.Abstractions.FormatProviderAttribute.Default.set -> void Riok.Mapperly.Abstractions.FormatProviderAttribute.FormatProviderAttribute() -> void Riok.Mapperly.Abstractions.MapPropertyAttribute.FormatProvider.get -> string? Riok.Mapperly.Abstractions.MapPropertyAttribute.FormatProvider.set -> void +Riok.Mapperly.Abstractions.MapperAttribute.MaxRecursionDepth.get -> int +Riok.Mapperly.Abstractions.MapperAttribute.MaxRecursionDepth.set -> void +Riok.Mapperly.Abstractions.MapperMaxRecursionDepthAttribute +Riok.Mapperly.Abstractions.MapperMaxRecursionDepthAttribute.MapperMaxRecursionDepthAttribute(int maxRecursionDepth) -> void +Riok.Mapperly.Abstractions.MapperMaxRecursionDepthAttribute.MaxRecursionDepth.get -> int diff --git a/src/Riok.Mapperly/Diagnostics/DiagnosticDescriptors.cs b/src/Riok.Mapperly/Diagnostics/DiagnosticDescriptors.cs index e25496a251..dd66298261 100644 --- a/src/Riok.Mapperly/Diagnostics/DiagnosticDescriptors.cs +++ b/src/Riok.Mapperly/Diagnostics/DiagnosticDescriptors.cs @@ -512,8 +512,8 @@ public static class DiagnosticDescriptors public static readonly DiagnosticDescriptor MaxRecursionDepthMustBeZeroOrMore = new DiagnosticDescriptor( "RMG056", - $"The value {nameof(MapperAttribute.MaxRecursionDepth)} cannot be less than zero.", - $"The value {nameof(MapperAttribute.MaxRecursionDepth)} cannot be less than zero.", + $"The value of MaxRecursionDepth cannot be less than zero", + $"The value of MaxRecursionDepth cannot be less than zero", DiagnosticCategories.Mapper, DiagnosticSeverity.Error, true