diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 5157aa53e8..82ad11282f 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -11,9 +11,7 @@ - - diff --git a/src/StrictJsonTests/FodyWeavers.xml b/src/StrictJsonTests/FodyWeavers.xml deleted file mode 100644 index fd845c4834..0000000000 --- a/src/StrictJsonTests/FodyWeavers.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/StrictJsonTests/StrictJsonTests.csproj b/src/StrictJsonTests/StrictJsonTests.csproj index 6a2fb86ac8..9237a311d2 100644 --- a/src/StrictJsonTests/StrictJsonTests.csproj +++ b/src/StrictJsonTests/StrictJsonTests.csproj @@ -3,8 +3,6 @@ net9.0 - - diff --git a/src/Verify.ClipboardAccept/FodyWeavers.xml b/src/Verify.ClipboardAccept/FodyWeavers.xml deleted file mode 100644 index 00e1d9a1c1..0000000000 --- a/src/Verify.ClipboardAccept/FodyWeavers.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/Verify.Tests/FodyWeavers.xml b/src/Verify.Tests/FodyWeavers.xml deleted file mode 100644 index 4e9e95f7d1..0000000000 --- a/src/Verify.Tests/FodyWeavers.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/Verify.Tests/Serialization/SerializationTests.cs b/src/Verify.Tests/Serialization/SerializationTests.cs index 0ec53ed7e2..c57fdfc806 100644 --- a/src/Verify.Tests/Serialization/SerializationTests.cs +++ b/src/Verify.Tests/Serialization/SerializationTests.cs @@ -3037,7 +3037,7 @@ public Task Type() => [Fact] public Task Field() { - var target = Info.OfField("MyField"); + var target = typeof(SerializationTests).GetField("MyField"); return Verify(target); } @@ -3046,14 +3046,14 @@ public Task Field() [Fact] public Task GetProperty() { - var target = Info.OfPropertyGet("MyProperty"); + var target = typeof(SerializationTests).GetProperty("MyProperty")!.GetMethod; return Verify(target); } [Fact] public Task SetProperty() { - var target = Info.OfPropertySet("MyProperty"); + var target = typeof(SerializationTests).GetProperty("MyProperty")!.SetMethod; return Verify(target); } @@ -3068,16 +3068,16 @@ public Task Property() [Fact] public Task Method() => - Verify(Info.OfMethod("Method")); + Verify(typeof(SerializationTests).GetMethod("Method")); [Fact] public Task Constructor() => - Verify(Info.OfConstructor()); + Verify(typeof(SerializationTests).GetConstructor([])); [Fact] public Task Parameter() { - var method = Info.OfMethod("MyMethodWithParameters"); + var method = typeof(SerializationTests).GetMethod("MyMethodWithParameters")!; return Verify(method .GetParameters() .First()); @@ -3085,10 +3085,10 @@ public Task Parameter() [Fact] public Task MethodWithParameters() => - Verify(Info.OfMethod("MyMethodWithParameters")); + Verify(typeof(SerializationTests).GetMethod("MyMethodWithParameters")); // ReSharper disable once UnusedMember.Local - static void MyMethodWithParameters(int x, string y) + public static void MyMethodWithParameters(int x, string y) { } diff --git a/src/Verify.Tests/Verify.Tests.csproj b/src/Verify.Tests/Verify.Tests.csproj index 8e68413f91..d94b318e15 100644 --- a/src/Verify.Tests/Verify.Tests.csproj +++ b/src/Verify.Tests/Verify.Tests.csproj @@ -9,8 +9,6 @@ - -