From 5a638e3abc8b91ae02d38f8c43e5d9d69dd9b1c1 Mon Sep 17 00:00:00 2001 From: Staffan Gustafsson Date: Fri, 20 Nov 2020 00:43:21 +0100 Subject: [PATCH 1/2] Enable nullable: System.Management.Automation.IScriptCommandInfo --- src/System.Management.Automation/engine/CommandInfo.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/System.Management.Automation/engine/CommandInfo.cs b/src/System.Management.Automation/engine/CommandInfo.cs index d1afb8b3b12..c4975307446 100644 --- a/src/System.Management.Automation/engine/CommandInfo.cs +++ b/src/System.Management.Automation/engine/CommandInfo.cs @@ -992,6 +992,8 @@ private static string GetMemberTypeProjection(string typename, IList Members { get; } } +#nullable enable + internal interface IScriptCommandInfo { ScriptBlock ScriptBlock { get; } From d68651c9e0f8eff4df8fa4398d405e760e0e6240 Mon Sep 17 00:00:00 2001 From: Staffan Gustafsson Date: Fri, 20 Nov 2020 19:03:23 +0100 Subject: [PATCH 2/2] Removing whitespace before/after nullable pragma --- src/System.Management.Automation/engine/CommandInfo.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/System.Management.Automation/engine/CommandInfo.cs b/src/System.Management.Automation/engine/CommandInfo.cs index c4975307446..f122d205a90 100644 --- a/src/System.Management.Automation/engine/CommandInfo.cs +++ b/src/System.Management.Automation/engine/CommandInfo.cs @@ -993,7 +993,6 @@ private static string GetMemberTypeProjection(string typename, IList