diff --git a/Directory.Packages.props b/Directory.Packages.props
index 53852be2020..70a8c9d0b27 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -79,7 +79,7 @@
-
+
diff --git a/docs/package.json b/docs/package.json
index 5b903f9e8f1..9a2c1a5fa84 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -55,7 +55,7 @@
"brace-expansion": "5.0.12",
"qs": "6.17.1",
"dompurify": "3.4.17",
- "node-forge": "1.4.2",
+ "node-forge": "1.4.3",
"picomatch": "4.0.7",
"svgo": "4.1.0",
"yaml": "2.9.1"
diff --git a/docs/yarn.lock b/docs/yarn.lock
index 7211d561d1b..0671ecf436c 100644
--- a/docs/yarn.lock
+++ b/docs/yarn.lock
@@ -7567,10 +7567,10 @@ node-emoji@^2.1.0:
emojilib "^2.4.0"
skin-tone "^2.0.0"
-node-forge@1.4.2:
- version "1.4.2"
- resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.4.2.tgz#9988b154241e3b401a969a76cfb7aca7ddb5e70b"
- integrity sha512-rRtAR5XLJ8gCKd9du4qrKAsgCG1ObGP4gLeNJMa4vYSeq4bmBMOJk5IHkrviBV0q7uoAJlVd8HEQYQSVUb4FGQ==
+node-forge@1.4.3:
+ version "1.4.3"
+ resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.4.3.tgz#5dc578529ac8e162f58038c6673337cabfab3277"
+ integrity sha512-P6wzfh6t70avmV8FrVEAd/36sOPJQ+hkaJVX1Laap9J/77m7M0eyozDvc8SwnDf4P7MP94gwbAAo0rg3YVXT+g==
node-releases@^2.0.53:
version "2.0.53"
diff --git a/tests/TUnit.Core.SourceGenerator.Tests/ClassArgumentParameterTypesTests.Test.verified.txt b/tests/TUnit.Core.SourceGenerator.Tests/ClassArgumentParameterTypesTests.Test.verified.txt
index 7c76165291c..0979e1d5d5d 100644
--- a/tests/TUnit.Core.SourceGenerator.Tests/ClassArgumentParameterTypesTests.Test.verified.txt
+++ b/tests/TUnit.Core.SourceGenerator.Tests/ClassArgumentParameterTypesTests.Test.verified.txt
@@ -200,7 +200,7 @@ internal static class TUnit_TestProject_Bugs__7440_RequiredConstructorArgumentTe
Name = "Value",
IsStatic = false,
IsNullable = false,
- Getter = o => ((dynamic)o).Value,
+ Getter = global::TUnit.Core.PropertyMetadataFactory.CreateGenericGetter(typeof(global::TUnit.TestProject.Bugs._7440.RequiredConstructorArgumentTests<>), "Value"),
ClassMetadata = null!,
ContainingTypeMetadata = null!
},
@@ -211,7 +211,7 @@ internal static class TUnit_TestProject_Bugs__7440_RequiredConstructorArgumentTe
Name = "Number",
IsStatic = false,
IsNullable = false,
- Getter = o => ((dynamic)o).Number,
+ Getter = global::TUnit.Core.PropertyMetadataFactory.CreateGenericGetter(typeof(global::TUnit.TestProject.Bugs._7440.RequiredConstructorArgumentTests<>), "Number"),
ClassMetadata = null!,
ContainingTypeMetadata = null!
}
@@ -933,7 +933,7 @@ internal static class TUnit_TestProject_Bugs__7440_SingleGenericRequiredFieldTes
Name = "Property",
IsStatic = false,
IsNullable = false,
- Getter = o => ((dynamic)o).Property,
+ Getter = global::TUnit.Core.PropertyMetadataFactory.CreateGenericGetter(typeof(global::TUnit.TestProject.Bugs._7440.SingleGenericRequiredFieldTests<>), "Property"),
ClassMetadata = null!,
ContainingTypeMetadata = null!
}
diff --git a/tests/TUnit.Core.SourceGenerator.Tests/GenericPropertyMetadataTests.GeneratesCachedAotCompatibleGetters.verified.txt b/tests/TUnit.Core.SourceGenerator.Tests/GenericPropertyMetadataTests.GeneratesCachedAotCompatibleGetters.verified.txt
index 9e18eb144c4..d70c7c2b52d 100644
--- a/tests/TUnit.Core.SourceGenerator.Tests/GenericPropertyMetadataTests.GeneratesCachedAotCompatibleGetters.verified.txt
+++ b/tests/TUnit.Core.SourceGenerator.Tests/GenericPropertyMetadataTests.GeneratesCachedAotCompatibleGetters.verified.txt
@@ -60,7 +60,7 @@ internal static class TUnit_TestProject_Bugs__7499_GenericPropertyMetadataTests_
private static readonly global::TUnit.Core.MethodMetadata __mm_0 = global::TUnit.Core.MethodMetadataFactory.Create("MetadataGettersReadClosedInstance", __classType, typeof(global::System.Threading.Tasks.Task), __classMetadata);
private static global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests __CreateInstance_0(global::System.Type[] typeArgs, object?[] args)
{
- return (global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests)global::System.Activator.CreateInstance(typeof(global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests), args)!;
+ return new global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests(global::TUnit.Core.Helpers.CastHelper.Cast(args[0]));
}
private static global::System.Threading.Tasks.ValueTask __Invoke_0(global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests instance, int methodIndex, object?[] args, global::System.Threading.CancellationToken cancellationToken)
{
@@ -106,7 +106,7 @@ internal static class TUnit_TestProject_Bugs__7499_GenericPropertyMetadataTests_
};
private static global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests __CreateInstance_1(global::System.Type[] typeArgs, object?[] args)
{
- return (global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests)global::System.Activator.CreateInstance(typeof(global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests), new object[] { 42 })!;
+ return new global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests(global::TUnit.Core.Helpers.CastHelper.Cast(args[0]));
}
private static global::System.Threading.Tasks.ValueTask __Invoke_1(global::TUnit.TestProject.Bugs._7499.GenericPropertyMetadataTests instance, int methodIndex, object?[] args, global::System.Threading.CancellationToken cancellationToken)
{