Skip to content

Commit 535f927

Browse files
committed
Update API approvals
1 parent 9eb686a commit 535f927

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

QRCoderApiTests/net35+net40+net50+net50-windows+netstandard20/QRCoder.approved.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,10 +967,12 @@ namespace QRCoder.Exceptions
967967
}
968968
namespace QRCoder.Extensions
969969
{
970+
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
970971
public static class CustomExtensions
971972
{
972973
public static string GetStringValue(this System.Enum value) { }
973974
}
975+
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
974976
public class StringValueAttribute : System.Attribute
975977
{
976978
public StringValueAttribute(string value) { }

QRCoderApiTests/net60-windows/QRCoder.approved.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,10 +977,13 @@ namespace QRCoder.Exceptions
977977
}
978978
namespace QRCoder.Extensions
979979
{
980+
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
980981
public static class CustomExtensions
981982
{
983+
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("This method uses reflection to examine the provided enum value.")]
982984
public static string GetStringValue(this System.Enum value) { }
983985
}
986+
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
984987
public class StringValueAttribute : System.Attribute
985988
{
986989
public StringValueAttribute(string value) { }

QRCoderApiTests/net60/QRCoder.approved.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,13 @@ namespace QRCoder.Exceptions
904904
}
905905
namespace QRCoder.Extensions
906906
{
907+
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
907908
public static class CustomExtensions
908909
{
910+
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("This method uses reflection to examine the provided enum value.")]
909911
public static string GetStringValue(this System.Enum value) { }
910912
}
913+
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
911914
public class StringValueAttribute : System.Attribute
912915
{
913916
public StringValueAttribute(string value) { }

QRCoderApiTests/netstandard13/QRCoder.approved.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,10 +831,12 @@ namespace QRCoder.Exceptions
831831
}
832832
namespace QRCoder.Extensions
833833
{
834+
[System.Obsolete("This class will be removed in a future version of QRCoder.")]
834835
public static class CustomExtensions
835836
{
836837
public static string GetStringValue(this System.Enum value) { }
837838
}
839+
[System.Obsolete("This attribute will be removed in a future version of QRCoder.")]
838840
public class StringValueAttribute : System.Attribute
839841
{
840842
public StringValueAttribute(string value) { }

0 commit comments

Comments
 (0)