diff --git a/src/NoGuard/NoGuard.csproj b/src/NoExtras/NoExtras.csproj
similarity index 92%
rename from src/NoGuard/NoGuard.csproj
rename to src/NoExtras/NoExtras.csproj
index eb5f17f..15dace3 100644
--- a/src/NoGuard/NoGuard.csproj
+++ b/src/NoExtras/NoExtras.csproj
@@ -3,6 +3,7 @@
$(NoWarn);PolyfillTargetsForNuget
net9.0
false
+ false
diff --git a/src/NoExtras/Tests.cs b/src/NoExtras/Tests.cs
new file mode 100644
index 0000000..d035e0f
--- /dev/null
+++ b/src/NoExtras/Tests.cs
@@ -0,0 +1,17 @@
+using NUnit.Framework;
+
+[TestFixture]
+public class Tests
+{
+ [Test]
+ public void NoGuard() =>
+ Assert.IsNull(GetType().Assembly.GetType("Polyfills.Guard"));
+
+ [Test]
+ public void NoNullExtensions()
+ {
+ var method = typeof(Polyfill)
+ .GetMethod("GetNullabilityInfo", BindingFlags.Static | BindingFlags.Public, null, [typeof(MemberInfo)], null);
+ Assert.IsNull(method);
+ }
+}
\ No newline at end of file
diff --git a/src/NoGuard/Tests.cs b/src/NoGuard/Tests.cs
deleted file mode 100644
index b38e89b..0000000
--- a/src/NoGuard/Tests.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using NUnit.Framework;
-
-[TestFixture]
-public class Tests
-{
- [Test]
- public void NoGuard() =>
- Assert.IsNull(GetType().Assembly.GetType("Polyfills.Guard"));
-}
\ No newline at end of file
diff --git a/src/Polyfill.sln b/src/Polyfill.sln
index b4d896b..82052b6 100644
--- a/src/Polyfill.sln
+++ b/src/Polyfill.sln
@@ -57,7 +57,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApiBuilderTests", "ApiBuild
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsumeOnlyValueTuple", "ConsumeOnlyValueTuple\ConsumeOnlyValueTuple.csproj", "{2FE1429A-68B0-4C71-B1ED-D371C72DAD0E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NoGuard", "NoGuard\NoGuard.csproj", "{4F482296-D4BF-4E56-AF23-351CCEF1B96E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NoExtras", "NoExtras\NoExtras.csproj", "{4F482296-D4BF-4E56-AF23-351CCEF1B96E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/src/Polyfill/Nullability/NullabilityInfoExtensions.cs b/src/Polyfill/Nullability/NullabilityInfoExtensions.cs
index e847b24..ec0cc0c 100644
--- a/src/Polyfill/Nullability/NullabilityInfoExtensions.cs
+++ b/src/Polyfill/Nullability/NullabilityInfoExtensions.cs
@@ -1,7 +1,6 @@
//
#pragma warning disable
-#if PolyNullability
#nullable enable
namespace Polyfills;
@@ -152,6 +151,4 @@ static NullabilityState GetKnownState(string name, NullabilityInfo info)
static bool IsNullable(string name, NullabilityInfo info) =>
GetKnownState(name, info) == NullabilityState.Nullable;
-}
-
-#endif
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/src/Polyfill/Polyfill.targets b/src/Polyfill/Polyfill.targets
index 324fee3..bf15c24 100644
--- a/src/Polyfill/Polyfill.targets
+++ b/src/Polyfill/Polyfill.targets
@@ -17,12 +17,6 @@
$(DefineConstants);PolyPublic
-
- $(DefineConstants);PolyNullability
-
-
- $(DefineConstants);PolyGuard
-
$(DefineConstants);NETCOREAPP2X
@@ -120,6 +114,9 @@ For example:
+
+
false