Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(tests): remove unnecessary warning enables from verified test f…
…iles
  • Loading branch information
thomhurst committed Oct 10, 2025
commit a4725a1f893a18793bcfbbd9e5c0ebb8e4b27fa8
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -82,8 +80,6 @@ internal static class BasicTests_SynchronousTest_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -163,8 +159,6 @@ internal static class BasicTests_AsynchronousTest_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -82,8 +80,6 @@ internal static class BasicTests_SynchronousTest_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -163,8 +159,6 @@ internal static class BasicTests_AsynchronousTest_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -82,8 +80,6 @@ internal static class BasicTests_SynchronousTest_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -163,8 +159,6 @@ internal static class BasicTests_AsynchronousTest_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -86,8 +84,6 @@ internal static class STAThreadTests_With_STA_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -171,8 +167,6 @@ internal static class STAThreadTests_Without_STA_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -257,8 +251,6 @@ internal static class STAThreadTests_STA_WithSimpleAwait_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -343,8 +335,6 @@ internal static class STAThreadTests_STA_WithTaskYield_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -429,8 +419,6 @@ internal static class STAThreadTests_STA_WithConfigureAwaitTrue_ModuleInitialize

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -515,8 +503,6 @@ internal static class STAThreadTests_STA_WithNestedAsyncCalls_ModuleInitializer_

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -601,8 +587,6 @@ internal static class STAThreadTests_STA_WithTaskFromResult_ModuleInitializer_GU

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -687,8 +671,6 @@ internal static class STAThreadTests_STA_WithCompletedTask_ModuleInitializer_GUI

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -773,8 +755,6 @@ internal static class STAThreadTests_STA_WithTaskRun_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -859,8 +839,6 @@ internal static class STAThreadTests_STA_WithMultipleAwaits_ModuleInitializer_GU

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -945,8 +923,6 @@ internal static class STAThreadTests_STA_WithAsyncEnumerable_ModuleInitializer_G

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -1031,8 +1007,6 @@ internal static class STAThreadTests_STA_WithTaskWhenAll_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -84,8 +82,6 @@ internal static class DerivedTest_Test1_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -130,7 +126,7 @@ internal sealed class DerivedTest_Test2_TestSource_GUID : global::TUnit.Core.Int
Name = "condition",
TypeReference = global::TUnit.Core.TypeReference.CreateConcrete("bool, System.Private.CoreLib"),
IsNullable = false,
ReflectionInfo = typeof(global::TUnit.TestProject.Library.Bugs._1889.BaseTest<DummyReferenceTypeClass>).GetMethod("Test2", global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.Instance, null, new global::System.Type[] { typeof(bool) }, null)!.GetParameters()[0]
ReflectionInfo = typeof(global::TUnit.TestProject.Library.Bugs._1889.BaseTest<DummyReferenceTypeClass>).GetMethod("Test2", global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, new global::System.Type[] { typeof(bool) }, null)!.GetParameters()[0]
}
},
Class = global::TUnit.Core.ClassMetadata.GetOrAdd("TestsBase`1:global::TUnit.TestProject.Bugs._1889.DerivedTest", () =>
Expand Down Expand Up @@ -187,8 +183,6 @@ internal static class DerivedTest_Test2_ModuleInitializer_GUID

// <auto-generated/>
#pragma warning disable
#pragma warning enable IL2072
#pragma warning enable IL3050

#nullable enable
namespace TUnit.Generated;
Expand Down Expand Up @@ -234,7 +228,7 @@ internal sealed class DerivedTest_Test3_TestSource_GUID : global::TUnit.Core.Int
Name = "condition",
TypeReference = global::TUnit.Core.TypeReference.CreateConcrete("bool, System.Private.CoreLib"),
IsNullable = false,
ReflectionInfo = typeof(global::TUnit.TestProject.Library.Bugs._1889.BaseTest<DummyReferenceTypeClass>).GetMethod("Test3", global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.Instance, null, new global::System.Type[] { typeof(bool) }, null)!.GetParameters()[0]
ReflectionInfo = typeof(global::TUnit.TestProject.Library.Bugs._1889.BaseTest<DummyReferenceTypeClass>).GetMethod("Test3", global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, new global::System.Type[] { typeof(bool) }, null)!.GetParameters()[0]
}
},
Class = global::TUnit.Core.ClassMetadata.GetOrAdd("TestsBase`1:global::TUnit.TestProject.Bugs._1889.DerivedTest", () =>
Expand Down
Loading