[Mono-bugs] [Bug 387274] Type verification is enforced even when SkipVerification is requested

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 7 14:28:20 EDT 2008


User kornelpal at gmail.com added comment

--- Comment #9 from Kornél Pál <kornelpal at gmail.com>  2008-05-07 12:28:20 MST ---
According to my expecience MS runtime doesn't do any type checks on the stack
(except explicit type checking opcodes) when SkipVerification is granted.

So when I said the assembly requrests SkipVerification I was wrong. It actually
requires SkipVerification and SecurityException should be thrown when
SkipVerification permission is not granted to the executing code (that requires

When SkipVerification is granted MS.NET simply avoids verification regardless
the code requires SkipVerification.

As a conclusion SkipVerification is a regular CAS permission that causes the
runtime to skip verification when granted and not a flag in the assembly to
instruct the runtime to skip verification.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list