public static string GetDocumentationForMember(IMemberDefinition member)
 {
     V_0 = DocumentationManager.GetDocumentationCache(member);
     if (V_0 == null)
     {
         return(null);
     }
     return(V_0.GetDocumentationForMember(member));
 }
        private static DocumentationCache GetDocumentationCache(ModuleDefinition module)
        {
            if (DocumentationManager.IsCachedModule(module))
            {
                return(DocumentationManager.cachedDocumentation);
            }
            V_0 = DocumentationManager.locker;
            V_1 = false;
            try
            {
                Monitor.Enter(V_0, ref V_1);
                if (!DocumentationManager.IsCachedModule(module))
                {
                    if (!XmlDocumentationResolver.TryResolveDocumentationLocation(module, out V_2))
                    {
                        DocumentationManager.cachedDocumentation = null;
                        DocumentationManager.cachedXmlFile       = null;
                    }
                    else
                    {
                        if (!String.op_Inequality(DocumentationManager.cachedXmlFile, V_2))
                        {
                            V_3 = DocumentationManager.cachedDocumentation;
                            goto Label1;
                        }
                        else
                        {
                            DocumentationManager.cachedDocumentation = DocumentationManager.ReadDocumentation(V_2);
                            DocumentationManager.cachedXmlFile       = V_2;
                        }
                    }
                    DocumentationManager.CacheModule(module);
                    goto Label0;
                }
                else
                {
                    V_3 = DocumentationManager.cachedDocumentation;
                }
            }
            finally
            {
                if (V_1)
                {
                    Monitor.Exit(V_0);
                }
            }
Label1:
            return(V_3);

Label0:
            return(DocumentationManager.cachedDocumentation);
        }
 private static DocumentationCache GetDocumentationCache(IMemberDefinition member)
 {
     return(DocumentationManager.GetDocumentationCache(DocumentationManager.GetModuleForMember(member)));
 }