summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
index 1d7d4a7671..0d38eaaebc 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
@@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
@@ -15,12 +16,12 @@ namespace System.Reflection
{
}
- public CustomAttributeFormatException(string message)
+ public CustomAttributeFormatException(string? message)
: this(message, null)
{
}
- public CustomAttributeFormatException(string message, Exception inner)
+ public CustomAttributeFormatException(string? message, Exception? inner)
: base(message, inner)
{
HResult = HResults.COR_E_CUSTOMATTRIBUTEFORMAT;