Skip to content

Commit ce0549f

Browse files
committed
Added nullability enable to all expected files
* Allows nullability annotations for any nullable types
1 parent 6528ecf commit ce0549f

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

  • src/Ubiquity.NET.CommandLine.SrcGen.UT/TestFiles/RootCommandAttributeTests

src/Ubiquity.NET.CommandLine.SrcGen.UT/TestFiles/RootCommandAttributeTests/Basic_golden_path_succeeds/expected.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// the code is regenerated.
88
// </auto-generated>
99
// ------------------------------------------------------------------------------
10+
#nullable enable
11+
1012
using static global::Ubiquity.NET.CommandLine.SymbolValidationExtensions;
1113

1214
namespace TestNamespace

src/Ubiquity.NET.CommandLine.SrcGen.UT/TestFiles/RootCommandAttributeTests/DemoSource_succeeds/expected.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// the code is regenerated.
88
// </auto-generated>
99
// ------------------------------------------------------------------------------
10+
#nullable enable
11+
1012
using static global::Ubiquity.NET.CommandLine.SymbolValidationExtensions;
1113

1214
namespace TestNamespace

src/Ubiquity.NET.CommandLine.SrcGen.UT/TestFiles/RootCommandAttributeTests/Generator_handles_nullable_types/expected.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// the code is regenerated.
88
// </auto-generated>
99
// ------------------------------------------------------------------------------
10+
#nullable enable
11+
1012
using static global::Ubiquity.NET.CommandLine.SymbolValidationExtensions;
1113

1214
namespace TestNamespace

0 commit comments

Comments
 (0)