If you use reflector to, for example, look at the implementation of the OnMouseEnter method of ButtonBase, it calls IntSecurity.AllWindows.Assert before showing a ToolTip control.
Why?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Calling Assert instructs the runtime to bypass particular security checks. This increases performance and allows underprivileged code to call methods with CAS permission requirements.
You can find more information on MSDN
here.