Thx <span></span><br><br>Le mardi 26 mars 2013, Robert Jordan [via Mono]  a écrit :<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        On 24.03.2013 19:08, nelson wrote:
<br>> I'm checking that code, at
<br>> <a href="https://github.com/mono/mono/blob/master/mono/metadata/security-core-clr.c" rel="nofollow" link="external" target="_blank">https://github.com/mono/mono/blob/master/mono/metadata/security-core-clr.c</a>.
<br>>
<br>> If to "ensure that the specified method can be used with reflection since
<br>> Transparent code cannot call Critical methods" is fine with me, why does
<br>> CoreCLR also prevents transparent code to call internal transparent methods
<br>> or properties through reflection ?
<br><br>In Silverlight, reflection is as powerful as statically compiled
<br>code. With other words, if the code does not compile due to member
<br>access violations, then reflection won't help either.
<br><br>While this rule doesn't add concrete security, it helps obscuring
<br>stuff from application code w/out having to decorate members with
<br>[SecurityCritical].
<br><br>Robert
<br><br><br>_______________________________________________
<br>Mono-devel-list mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4659158&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" rel="nofollow" link="external" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://mono.1490590.n4.nabble.com/Why-does-Mono-s-CoreCLR-blocks-internal-method-reflection-from-transparent-code-tp4659140p4659158.html" target="_blank" rel="nofollow" link="external">http://mono.1490590.n4.nabble.com/Why-does-Mono-s-CoreCLR-blocks-internal-method-reflection-from-transparent-code-tp4659140p4659158.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Why does Mono's CoreCLR blocks internal method reflection from transparent code ?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote><br><br>-- <br>Nelson Cabral<br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mono.1490590.n4.nabble.com/Why-does-Mono-s-CoreCLR-blocks-internal-method-reflection-from-transparent-code-tp4659140p4659159.html">Re: [Mono-dev] Why does Mono's CoreCLR blocks internal method reflection from transparent code ?</a><br/>
Sent from the <a href="http://mono.1490590.n4.nabble.com/Mono-Dev-f1517221.html">Mono - Dev mailing list archive</a> at Nabble.com.<br/>