Skip to content

Commit fac1d6b

Browse files
authored
Merge pull request #131 from cdonnellytx/feature/playNiceWithPolyfillLib
💣 feat: play nice with PolyfillLib
2 parents 48efa2f + 21af1ab commit fac1d6b

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Code/Light.GuardClauses.Performance/StringAssertions/ContainsBenchmark.cs renamed to Code/Light.GuardClauses.Performance/FrameworkExtensions/ContainsBenchmark.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using BenchmarkDotNet.Attributes;
33

4-
namespace Light.GuardClauses.Performance.StringAssertions
4+
namespace Light.GuardClauses.FrameworkExtensions.Performance.StringAssertions
55
{
66
public class ContainsOrdinalBenchmark
77
{

Code/Light.GuardClauses/Check.Contains.cs renamed to Code/Light.GuardClauses/FrameworkExtensions/StringExtensions.Contains.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using JetBrains.Annotations;
44
using NotNullAttribute = System.Diagnostics.CodeAnalysis.NotNullAttribute;
55

6-
namespace Light.GuardClauses;
6+
namespace Light.GuardClauses.FrameworkExtensions;
77

8-
public static partial class Check
8+
public static partial class StringExtensions
99
{
1010
/// <summary>
1111
/// Checks if the string contains the specified value using the given comparison type.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace Light.GuardClauses.FrameworkExtensions;
2+
3+
/// <summary>
4+
/// Provides extension methods for the <see cref="string" /> class.
5+
/// </summary>
6+
// ReSharper disable once RedundantTypeDeclarationBody -- required for Source Code Transformation
7+
public static partial class StringExtensions { }

0 commit comments

Comments
 (0)