1
Vote

Disposable type not disposed: Microsoft.SharePoint.SPWeb

description

SPDisposeCheck.exe findings:
  1. Code fragment:
    foreach (SPWeb subweb in web.Webs)
                ApplyValue(subweb, Helper.Constants.INHERITS, recursive);
    
Error description:
SPDisposeCheckID_180: Disposable type not disposed: Microsoft.SharePoint.SPWeb
\Layouts\SPRibbonVisibility\RibbonVisibility.aspx.cs 200 1

comments