未验证 提交 894e89d2 编写于 作者: S Stephen Toub 提交者: GitHub

Use #nullable restore in code generators (#238)

上级 760b7c61
......@@ -5,7 +5,7 @@
// This file was generated by a tool.
// See src/System.Text.Encodings.Web/tools/GenUnicodeRanges
#nullable enable
#nullable restore
namespace System.Text.Unicode
{
......
......@@ -36,7 +36,7 @@ static void Main(string[] args)
StringBuilder runtimeCodeBuilder = new StringBuilder();
WriteCopyrightAndHeader(runtimeCodeBuilder);
runtimeCodeBuilder.AppendLine();
runtimeCodeBuilder.AppendLine("#nullable enable");
runtimeCodeBuilder.AppendLine("#nullable restore");
runtimeCodeBuilder.AppendLine();
runtimeCodeBuilder.AppendLine("namespace System.Text.Unicode");
runtimeCodeBuilder.AppendLine("{");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册