Issue Details (XML | Word | Printable)

Key: BOO-1021
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Cedric Vivier
Reporter: Cedric Vivier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Automatically set protected member in a final/sealed type as private

Created: 22/May/08 02:42 PM   Updated: 22/May/08 08:48 PM   Resolved: 22/May/08 08:48 PM
Return to search
Component/s: None
Affects Version/s: 0.8.2
Fix Version/s: 0.9

Time Tracking:
Not Specified


 Description  « Hide

Since a protected member [1] in a final/sealed type is in the end private, make the compiler emit it as a private member.

We get warnings about unused members free and we make IL analysis tools happy at the same time.

[1] for instance a field, since fields are protected by default.



Cedric Vivier added a comment - 22/May/08 08:48 PM

fixed in rev. 2967