Open Youssef1313 opened 3 years ago
Implementation-wise, it looks like one of the analyzers is purely about "out" and the other is purely about "ref". I think the important part here is to adjust the description.
Are you suggesting to merge the 2 analyzers into one or simply to merge/consolidate the 2 descriptions?
to merge the 2 analyzers into one
@Evangelink Either that, or distinguishing the descriptions.
@mavasani Any preference here?
I think I prefer the top one for both cases and just use the top (remove the bottom one).
https://github.com/dotnet/roslyn-analyzers/blob/e8cd97afe333a9bb9aa8b30c7bd00b1ef2b43bd7/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/MicrosoftCodeQualityAnalyzersResources.resx#L1160-L1162
https://github.com/dotnet/roslyn-analyzers/blob/e8cd97afe333a9bb9aa8b30c7bd00b1ef2b43bd7/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/MicrosoftCodeQualityAnalyzersResources.resx#L1241-L1243
See if both analyzers should be consolidated into one.