The Artima Developer Community
Sponsored Link

.NET Buzz Forum
I metodi giganti del Framework .NET (1.1 e 2.0)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Adrian Florea

Posts: 206
Nickname: adrian11
Registered: Jul, 2004

Adrian Florea is a .NET developer from Italy
I metodi giganti del Framework .NET (1.1 e 2.0) Posted: Oct 8, 2006 7:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Adrian Florea.
Original Post: I metodi giganti del Framework .NET (1.1 e 2.0)
Feed Title: Web Log di Adrian Florea
Feed URL: /error.aspx?aspxerrorpath=/adrian/Rss.aspx
Feed Description: "You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Adrian Florea
Latest Posts From Web Log di Adrian Florea

Advertisement

In "verticale":

Il metodo del Framework con il corpo più lungo (sia per la versione 1.1 che per la 2.0) è il metodo pubblico void Go() della classe internal System.Web.RegularExpressions.TagRegexRunner1 che si trova nell'assembly System.Web.RegularExpressions.dll; il suo corpo in IL ha 5770 bytes, che corrispondono a 862 righe di codice C# in Reflector! - posso dire pazzesco?...

Se invece consideriamo solo i metodi pubblici dei tipi pubblici, abbiamo:

E ieri parlavo del Composite Method...

In "orizzontale":

Il metodo del Framework con più parametri:

  • per la versione 2.0 è il metodo pubblico XsltInput.ContextInfo GetAttributes(int required, string name0, out string value0, string name1, out string value1, string name2, out string value2, string name3, out string value3, string name4, out string value4, string name5, out string value5, string name6, out string value6, string name7, out string value7, string name8, out string value8, string name9, out string value9) della classe internal System.Xml.Xsl.Xslt.XsltInput che si trova nell'assembly System.Data.SqlXml.dll; ha 21 parametri!
  • per la versione 1.1 è il metodo internal statico esterno void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, IntPtr a1, IntPtr a2, string a3, int a4, IntPtr a5, int a6, int a7, IntPtr a8, int a9, IntPtr a10, int a11, IntPtr a12, uint a13, IntPtr a14, int a15) della classe statica privata NativeMethods annidata alla classe internal statica Bid che si trova nell'assembly System.Data.OracleClient.dll; ha 19 parametri!

Se invece consideriamo solo i metodi pubblici dei tipi pubblici, abbiamo che:

Il mio connazionale Ovidiu Platon, SDE nel team del CLR, offiriva nei giorni scorsi sul suo blog un esempio simile però meno estremo.

Read: I metodi giganti del Framework .NET (1.1 e 2.0)

Topic: Hype busting truth? Previous Topic   Next Topic Topic: Free Windows Powershell Help Tool

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use