HighTechTalks DotNet Forums  

Overloads Overridable Friend - vb

Dotnet Security microsoft.public.dotnet.security


Discuss Overloads Overridable Friend - vb in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Internet User
 
Posts: n/a

Default Overloads Overridable Friend - vb - 12-24-2007 , 09:42 AM






According to MSDN,

Quote:
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?




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.