-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assembly default to nullable, remove pointer support, bump to v2
- Loading branch information
Showing
28 changed files
with
117 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Source/RuntimeNullables.Fody.Tests/NullableDisabledTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
using TestAssembly; | ||
|
||
namespace RuntimeNullables.Fody.Tests; | ||
|
||
[TestClass] | ||
public class NullableDisabledTests | ||
{ | ||
[TestMethod] | ||
public void NonNull() => NullableDisabled.NonNull(null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...e/RuntimeNullables.Fody.Tests/VerifyILTests.NullableDisabled.Debug.DotNet6_0.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.class public abstract auto ansi sealed beforefieldinit TestAssembly.NullableDisabled | ||
extends [System.Runtime]System.Object | ||
{ | ||
.method public hidebysig static string | ||
NonNull(string x) cil managed | ||
{ | ||
.maxstack 8 | ||
IL_0000: ldarg.0 | ||
IL_0001: ret | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...e/RuntimeNullables.Fody.Tests/VerifyILTests.NullableDisabled.Debug.DotNet7_0.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.class public abstract auto ansi sealed beforefieldinit TestAssembly.NullableDisabled | ||
extends [System.Runtime]System.Object | ||
{ | ||
.method public hidebysig static string | ||
NonNull(string x) cil managed | ||
{ | ||
.maxstack 8 | ||
IL_0000: ldarg.0 | ||
IL_0001: ret | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...RuntimeNullables.Fody.Tests/VerifyILTests.NullableDisabled.Release.DotNet6_0.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.class public abstract auto ansi sealed beforefieldinit TestAssembly.NullableDisabled | ||
extends [System.Runtime]System.Object | ||
{ | ||
.method public hidebysig static string | ||
NonNull(string x) cil managed | ||
{ | ||
.maxstack 8 | ||
IL_0000: ldarg.0 | ||
IL_0001: ret | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...RuntimeNullables.Fody.Tests/VerifyILTests.NullableDisabled.Release.DotNet7_0.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.class public abstract auto ansi sealed beforefieldinit TestAssembly.NullableDisabled | ||
extends [System.Runtime]System.Object | ||
{ | ||
.method public hidebysig static string | ||
NonNull(string x) cil managed | ||
{ | ||
.maxstack 8 | ||
IL_0000: ldarg.0 | ||
IL_0001: ret | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.