By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,121 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Overridable Overloads Friend - Security issue

P: n/a
According to MSDN,
>>>>>>>>>
You should never base the security of your application on a member that is
marked with the internal virtual modifier in C# (the Overloads Overridable
Friend modifier in Visual Basic). Although members marked with these
modifiers can only be overridden by other members within the current
assembly, this rule is enforced only by the C# and Visual Basic languages.
The runtime does not enforce this rule. It is therefore possible to override
members marked as internal virtual in C# and Overloads Overridable Friend in
Visual Basic using Microsoft Intermediate Language, or any other language
that does not enforce this rule.
<<<<<<<<<

My question is, can you provide an example of code that overrides members
marked as Overloads Overridable Friend using MSIL or another language that
does not enforce this rule?
Dec 23 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.