Running SPDisposeCheck on Microsoft.*

I found it interesting that SPDisposeCheck ignored files and namespaces that started with Microsoft and System. With a little bit of .net reflection I managed to come around the “problem”:

Microsoft.SharePoint.dll 9 varnings
Microsoft.Office.Policy.dll 1 varning
Microsoft.Office.Server.Search.dll 1 varning
microsoft.sharepoint.portal.dll 2 varnings
Microsoft.SharePoint.Publishing.dll 10 varnings
Microsoft.SharePoint.Search.dll 1 varning

Tags: , ,

Leave a Reply">Entries (RSS) and Comments (RSS).