sonar-dotnet icon indicating copy to clipboard operation
sonar-dotnet copied to clipboard

Add GetLeftSideOfDot from Roslyn

Open Tim-Pohlmann opened this issue 2 years ago • 0 comments

GetLeftSideOfDot would be very useful in a lot of places and should be brought over to our code base.

Example use case: https://github.com/SonarSource/sonar-dotnet/blob/95278ed63294c01e3f90ca9d4b8d82255477aebf/analyzers/src/SonarAnalyzer.CSharp/Rules/RedundantCast.cs#L146-L154

Tim-Pohlmann avatar Mar 06 '23 13:03 Tim-Pohlmann