diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2019-06-05 15:55:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 15:55:52 -0700 |
commit | a64cb0a41a4ebeb4a61b8b0f1f2eeeff8dd539c9 (patch) | |
tree | 9c1ec53565ebe9a4e324d6fecdb8c303c188358a /src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs | |
parent | 3809a06b68ac70148a19a37cd3cec650ba4f27c7 (diff) | |
parent | 93d65bec7056bd753e044a7146598dc2f0458349 (diff) | |
download | coreclr-a64cb0a41a4ebeb4a61b8b0f1f2eeeff8dd539c9.tar.gz coreclr-a64cb0a41a4ebeb4a61b8b0f1f2eeeff8dd539c9.tar.bz2 coreclr-a64cb0a41a4ebeb4a61b8b0f1f2eeeff8dd539c9.zip |
Merge pull request #24937 from safern/FixNullableAnnotationsApiReview
Fix some nullable annotations from API Review
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs index 7ccdbe5ba4..6247d73fb8 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeTypedArgument.cs @@ -41,7 +41,7 @@ namespace System.Reflection internal string ToString(bool typed) { if (m_argumentType == null) - return base.ToString(); + return base.ToString()!; if (ArgumentType.IsEnum) return string.Format(typed ? "{0}" : "({1}){0}", Value, ArgumentType.FullName); |