Boo

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

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.8.2
  • Fix Version/s: 0.9
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

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.

Activity

Hide
Cedric Vivier added a comment -

fixed in rev. 2967

Show
Cedric Vivier added a comment - fixed in rev. 2967

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: