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
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2019-09-12 00:27:30 +0300
committerJoel Martinez <joelmartinez@gmail.com>2019-09-20 16:37:53 +0300
commitd8b5ab743cf5f59325cd286b3bd2e4cb36298f9b (patch)
treea9d102ac7af31ddeb02baab4c4c7f6175bcd5e10 /mdoc/Mono.Documentation/MDocUpdater.cs
parent4cf5f00116950f98851b591c34d8b44edd3fd4ed (diff)
avoid updating extension method if -index is false
Diffstat (limited to 'mdoc/Mono.Documentation/MDocUpdater.cs')
-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;