Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mdoc
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc')
-rw-r--r--mdoc/Mono.Documentation/MDocUpdater.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc/Mono.Documentation/MDocUpdater.cs b/mdoc/Mono.Documentation/MDocUpdater.cs
index 64fba4cc..aa85d37a 100644
--- a/mdoc/Mono.Documentation/MDocUpdater.cs
+++ b/mdoc/Mono.Documentation/MDocUpdater.cs
@@ -2790,6 +2790,9 @@ namespace Mono.Documentation
private void UpdateExtensionMethods (XmlElement e, DocsNodeInfo info)
{
+ if (!writeIndex)
+ return;
+
MethodDefinition me = info.Member as MethodDefinition;
if (me == null)
return;