Skip to content

Commit

Permalink
Update API approvals
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed May 25, 2024
1 parent 9eb686a commit 535f927
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -967,10 +967,12 @@ namespace QRCoder.Exceptions
}
namespace QRCoder.Extensions
{
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
public static class CustomExtensions
{
public static string GetStringValue(this System.Enum value) { }
}
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
public class StringValueAttribute : System.Attribute
{
public StringValueAttribute(string value) { }
Expand Down
3 changes: 3 additions & 0 deletions QRCoderApiTests/net60-windows/QRCoder.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -977,10 +977,13 @@ namespace QRCoder.Exceptions
}
namespace QRCoder.Extensions
{
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
public static class CustomExtensions
{
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("This method uses reflection to examine the provided enum value.")]
public static string GetStringValue(this System.Enum value) { }
}
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
public class StringValueAttribute : System.Attribute
{
public StringValueAttribute(string value) { }
Expand Down
3 changes: 3 additions & 0 deletions QRCoderApiTests/net60/QRCoder.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -904,10 +904,13 @@ namespace QRCoder.Exceptions
}
namespace QRCoder.Extensions
{
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
public static class CustomExtensions
{
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("This method uses reflection to examine the provided enum value.")]
public static string GetStringValue(this System.Enum value) { }
}
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
public class StringValueAttribute : System.Attribute
{
public StringValueAttribute(string value) { }
Expand Down
2 changes: 2 additions & 0 deletions QRCoderApiTests/netstandard13/QRCoder.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,12 @@ namespace QRCoder.Exceptions
}
namespace QRCoder.Extensions
{
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
public static class CustomExtensions
{
public static string GetStringValue(this System.Enum value) { }
}
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
public class StringValueAttribute : System.Attribute
{
public StringValueAttribute(string value) { }
Expand Down

0 comments on commit 535f927

Please sign in to comment.