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

RSRP-287924: "Create event invocator" produces really not well-designed code

$
0
0
Reporter Alexander Shvedov (shvedov) Alexander Shvedov (shvedov)
Created Jan 22, 2012 10:02:18 PM
Updated Feb 9, 2012 9:20:32 PM
Priority Critical
Type Usability Problem
Fix versions Next
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem Context actions
Affected versions 6.1, 6.1.1
Fixed in build No Fixed in build

Event invocator must be:
  • protected if containing type is not sealed, overwise even private - class consumers are ALWAYS should not be able to trigger the type's events!
  • marked with virtual modifier if type is not sealed - this is the standard event invocators pattern requirement.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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