Skip to content

Commit

Permalink
expose GetNameForParameter (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Jul 22, 2023
1 parent 63cc0ac commit 3713d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>20.5.1</Version>
<NoWarn>CS1591;CS0649;xUnit1026;xUnit1013;msb3277;CS0436;CS1573;NU1901;NU1902</NoWarn>
<Version>20.6.0</Version>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>11</LangVersion>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Naming/VerifierSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void NameForParameter<T>(ParameterToName<T> func)
parameterToNameLookup[typeof(T)] = o => func((T) o);
}

internal static string GetNameForParameter(object? parameter)
public static string GetNameForParameter(object? parameter)
{
var builder = new StringBuilder();
GetNameForParameter(parameter, builder, true);
Expand Down

0 comments on commit 3713d93

Please sign in to comment.