Skip to content

Commit

Permalink
Removed redundant preprocessor statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoFtZ authored and m4rs-mt committed Jan 18, 2024
1 parent 1cb936f commit 306b8f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Src/ILGPU.Analyzers.Tests/Generic/ModuleInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
// Source License. See LICENSE.txt for details.
// ---------------------------------------------------------------------------------------

// [ModuleInitializer] is only available from net5.0 and later.
#if NET5_0_OR_GREATER

using System.Runtime.CompilerServices;
using VerifyTests;

Expand All @@ -24,5 +21,3 @@ public static void Init() =>
VerifySourceGenerators.Initialize();
}
}

#endif
5 changes: 0 additions & 5 deletions Src/ILGPU.Analyzers.Tests/InterleaveFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
// Source License. See LICENSE.txt for details.
// ---------------------------------------------------------------------------------------

// [ModuleInitializer] is only available from net5.0 and later.
#if NET5_0_OR_GREATER

using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
Expand Down Expand Up @@ -207,5 +204,3 @@ partial struct MyPoint4

}
}

#endif

0 comments on commit 306b8f0

Please sign in to comment.