diff --git a/src/Unitverse.Core.Tests/Resources/PrimaryConstructor.txt b/src/Unitverse.Core.Tests/Resources/PrimaryConstructor.txt
new file mode 100644
index 0000000..ac96c74
--- /dev/null
+++ b/src/Unitverse.Core.Tests/Resources/PrimaryConstructor.txt
@@ -0,0 +1,3 @@
+namespace TestNamespace.SubNameSpace;
+
+public class RequestHandler(string options) { private readonly string _options = options; }
\ No newline at end of file
diff --git a/src/Unitverse.Core.Tests/TestClasses.Designer.cs b/src/Unitverse.Core.Tests/TestClasses.Designer.cs
index 07907dd..3813f55 100644
--- a/src/Unitverse.Core.Tests/TestClasses.Designer.cs
+++ b/src/Unitverse.Core.Tests/TestClasses.Designer.cs
@@ -1534,7 +1534,8 @@ public static string NullableReferenceTypes {
}
///
- /// Looks up a localized string similar to using System;
+ /// Looks up a localized string similar to // # UseSeparateChecksForNullAndEmpty=true
+ ///
///using System.Collections.Generic;
///using System.Text;
///
@@ -1544,14 +1545,14 @@ public static string NullableReferenceTypes {
/// {
/// public NullOrWhitespace(string argumentOne, string argumentTwo)
/// {
- /// ArgumentException.ThrowIfNullOrWhiteSpace(argumentOne);
- /// ArgumentException.ThrowIfNullOrWhiteSpace(argumentTwo);
/// }
///
- /// public int MethodOne(string argumentOne)
+ /// public void MethodOne(string argumentOne)
/// {
- /// ArgumentException.ThrowIfNullOrWhiteSpace(argumentOne);
- /// [rest of string was truncated]";.
+ /// }
+ /// }
+ ///}
+ ///.
///
public static string NullOrWhiteSpaceSeparation {
get {
@@ -1741,6 +1742,15 @@ public static string PocoInitialization {
}
}
+ ///
+ /// Looks up a localized string similar to public class RequestHandler(IOptions<CommonOptions> options) { private readonly CommonOptions _options = options.Value!; }.
+ ///
+ public static string PrimaryConstructor {
+ get {
+ return ResourceManager.GetString("PrimaryConstructor", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to using System.ComponentModel;
///using System.Windows.Media;
diff --git a/src/Unitverse.Core.Tests/TestClasses.resx b/src/Unitverse.Core.Tests/TestClasses.resx
index cd4cb84..4b060ab 100644
--- a/src/Unitverse.Core.Tests/TestClasses.resx
+++ b/src/Unitverse.Core.Tests/TestClasses.resx
@@ -295,6 +295,9 @@
Resources\PocoInitialization.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
+
+ Resources\PrimaryConstructor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
+
Resources\PropertyChangeTestFile.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
diff --git a/src/Unitverse.Core.Tests/UnitTestGeneratorTests.cs b/src/Unitverse.Core.Tests/UnitTestGeneratorTests.cs
index 9b18c65..a4f24a7 100644
--- a/src/Unitverse.Core.Tests/UnitTestGeneratorTests.cs
+++ b/src/Unitverse.Core.Tests/UnitTestGeneratorTests.cs
@@ -75,7 +75,7 @@ public static IEnumerable