Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-466209: Build: Sealing/unsealing a class is not detected as a public change

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Sep 11, 2017 2:57:31 PM
Updated Apr 19, 2018 6:06:41 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Create a regular class:
public class Foo { } 
2. In a dependent assembly, add an inheriting class:
public class Bar : Foo { } 
3. Build
4. Make Foo sealed:
public sealed class Foo { } 
5. Build again

Expected: dependent projects will be rebuilt and building the project with Bar will fail
Actual: No dependent projects are rebuilt

Also happens when unsealing a class.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>