Skip to content

Commit 8a473f6

Browse files
committed
use static methods
1 parent 56bc4ca commit 8a473f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CustomCode-Analyzer/Analyzer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ Location GetMemberLocation()
923923
/// <summary>
924924
/// Validates parameter default values for UnsupportedDefaultValueRule
925925
/// </summary>
926-
private bool IsValidParameterDefaultValue(IParameterSymbol parameter)
926+
private static bool IsValidParameterDefaultValue(IParameterSymbol parameter)
927927
{
928928
// If no explicit default value is specified, it's considered valid
929929
if (!parameter.HasExplicitDefaultValue)
@@ -963,7 +963,7 @@ private bool IsValidParameterDefaultValue(IParameterSymbol parameter)
963963
/// <summary>
964964
/// Validates type support for UnsupportedParameterTypeRule
965965
/// </summary>
966-
private bool IsValidParameterType(ITypeSymbol typeSymbol, Compilation compilation)
966+
private static bool IsValidParameterType(ITypeSymbol typeSymbol, Compilation compilation)
967967
{
968968
if (typeSymbol == null)
969969
{

0 commit comments

Comments
 (0)