diff --git a/src/Microsoft.AspNetCore.Razor.Language/src/AssemblyExtension.cs b/src/Microsoft.AspNetCore.Razor.Language/src/AssemblyExtension.cs index 86da21454..98dd8f782 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/src/AssemblyExtension.cs +++ b/src/Microsoft.AspNetCore.Razor.Language/src/AssemblyExtension.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#nullable disable - using System; using System.Reflection; @@ -30,7 +28,7 @@ public AssemblyExtension(string extensionName, Assembly assembly) public Assembly Assembly { get; } - internal RazorExtensionInitializer CreateInitializer() + internal RazorExtensionInitializer? CreateInitializer() { // It's not an error to have an assembly with no initializers. This is useful to specify a dependency // that doesn't really provide any Razor configuration. diff --git a/src/Microsoft.AspNetCore.Razor.Language/src/AttributeStructure.cs b/src/Microsoft.AspNetCore.Razor.Language/src/AttributeStructure.cs index adf3dd1a4..d2fac3fe6 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/src/AttributeStructure.cs +++ b/src/Microsoft.AspNetCore.Razor.Language/src/AttributeStructure.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#nullable disable - namespace Microsoft.AspNetCore.Razor.Language; // This is the design time equivalent of Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle. diff --git a/src/Microsoft.AspNetCore.Razor.Language/src/CSharpIdentifier.cs b/src/Microsoft.AspNetCore.Razor.Language/src/CSharpIdentifier.cs index 5b5fdcf86..c410c1da4 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/src/CSharpIdentifier.cs +++ b/src/Microsoft.AspNetCore.Razor.Language/src/CSharpIdentifier.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#nullable disable - using System.Globalization; using System.Text; diff --git a/src/Microsoft.AspNetCore.Razor.Language/src/Checksum.cs b/src/Microsoft.AspNetCore.Razor.Language/src/Checksum.cs index 6fa96c705..4bc7b22f4 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/src/Checksum.cs +++ b/src/Microsoft.AspNetCore.Razor.Language/src/Checksum.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#nullable disable - using System; using System.Globalization; using System.Text;