Skip to content

Commit

Permalink
Remove default parameter value.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed May 13, 2021
1 parent 363cb2e commit 3d2b9dc
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ void ReportMarshallingNotSupported(
void ReportConfigurationNotSupported(
AttributeData attributeData,
string configurationName,
string? unsupportedValue = null);
string? unsupportedValue);
}

public static class IGeneratorDiagnosticsExtensions
{
public static void ReportConfigurationNotSupported(this IGeneratorDiagnostics diagnostics, AttributeData attributeData, string configurationName)
=> diagnostics.ReportConfigurationNotSupported(attributeData, configurationName, null);
}
}

0 comments on commit 3d2b9dc

Please sign in to comment.