dotnet / roslyn-analyzers

MIT License
1.59k stars 466 forks source link

SealMethodsThatSatisfyPrivateInterfacesFixer fails to insert 'End Sub' #2285

Open sharwell opened 5 years ago

sharwell commented 5 years ago

See disabled test SealMethodsThatSatisfyPrivateInterfacesFixerTests.TestBasic_AbstractMethodChangedToNotAbstract.

Youssef1313 commented 3 years ago

This is a Roslyn API issue. https://github.com/dotnet/roslyn/issues/17753. Note: When the issue is fixed and the test is enabled, VB should be re-enabled again in:

https://github.com/dotnet/roslyn-analyzers/blob/abf4867b7a138180a0184421856e166022e164eb/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/SealMethodsThatSatisfyPrivateInterfaces.Fixer.cs#L18