Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Ensure that private members do not cause problems between debug/release versions #402

Open
erik-kallen opened this issue Mar 8, 2015 · 0 comments
Assignees
Milestone

Comments

@erik-kallen
Copy link
Contributor

In the 3.x branch, the name of private members get burnt to the class using a [UsedMemberNamesAttribute]. This means that when building a release assembly referencing a debug assembly (or vice versa) and deriving from a type in the other assembly, there is a risk for a member name collision.

Possible solutions include:

  1. make the [UsedMemberNames] have different lists for minified and non-minified scripts.
  2. name all non-public class members like $x$theName, where x is the depth of the class hierarchy of the type. Note that internal interface members need not have this applied to them because they are not minified in release builds.
@erik-kallen erik-kallen added this to the 3.0 milestone Mar 8, 2015
@erik-kallen erik-kallen self-assigned this Apr 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant