Forráskód Böngészése

Enable nullable context in generated files.

Bart De Smet 6 éve
szülő
commit
d09b56f326

+ 2 - 0
Ix.NET/Source/AsyncQueryableGenerator.t4

@@ -93,6 +93,8 @@ return name;
 
 var toQuoted = new Func<Type, int, string>((t, i) => toQuotedImpl(t, i, true));
 #>
+#nullable enable
+
 using System.Collections.Generic;
 using System.Linq.Expressions;
 using System.Reflection;

+ 2 - 0
Ix.NET/Source/System.Interactive.Async.Providers/System/Linq/AsyncQueryableEx.Generated.cs

@@ -2,6 +2,8 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
+#nullable enable
+
 using System.Collections.Generic;
 using System.Linq.Expressions;
 using System.Reflection;

+ 2 - 0
Ix.NET/Source/System.Linq.Async.Queryable/System/Linq/AsyncQueryable.Generated.cs

@@ -2,6 +2,8 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
+#nullable enable
+
 using System.Collections.Generic;
 using System.Linq.Expressions;
 using System.Reflection;