diff options
Diffstat (limited to 'release-notes/7.0/preview/api-diff/rc1/Microsoft.NETCore.App/7.0-rc1_Microsoft.Win32.md')
-rw-r--r-- | release-notes/7.0/preview/api-diff/rc1/Microsoft.NETCore.App/7.0-rc1_Microsoft.Win32.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/rc1/Microsoft.NETCore.App/7.0-rc1_Microsoft.Win32.md b/release-notes/7.0/preview/api-diff/rc1/Microsoft.NETCore.App/7.0-rc1_Microsoft.Win32.md new file mode 100644 index 00000000..b5c47f5e --- /dev/null +++ b/release-notes/7.0/preview/api-diff/rc1/Microsoft.NETCore.App/7.0-rc1_Microsoft.Win32.md @@ -0,0 +1,15 @@ +# Microsoft.Win32 + +``` diff + namespace Microsoft.Win32 { + public sealed class RegistryKey : MarshalByRefObject, IDisposable { +- public object? GetValue(string? name, object? defaultValue); ++ [return: NotNullIfNotNullAttribute("defaultValue")] ++ public object? GetValue(string? name, object? defaultValue); +- public object? GetValue(string? name, object? defaultValue, RegistryValueOptions options); ++ [return: NotNullIfNotNullAttribute("defaultValue")] ++ public object? GetValue(string? name, object? defaultValue, RegistryValueOptions options); + } + } +``` + |