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:
authorJoel Martinez <joelmartinez@gmail.com>2017-09-20 23:44:34 +0300
committerJoel Martinez <joelmartinez@gmail.com>2017-09-22 17:40:18 +0300
commit3ab2adaa7b8484ea1fc1a3cde0b8c64a4161ae02 (patch)
tree5496af5ed7f257a7bf3b831f4e7a00584f491696 /mdoc
parent8b35f4220bf4bc934ee3a6996524e5e7d5ff9196 (diff)
mdoc: adjustment to how explicitly implemented methods for private interfaces are documented.
This change makes sure that it only skips a method if it is not public. Closes #110
Diffstat (limited to 'mdoc')
-rw-r--r--mdoc/Mono.Documentation/monodocer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc/Mono.Documentation/monodocer.cs b/mdoc/Mono.Documentation/monodocer.cs
index 859e2833..aafd29ba 100644
--- a/mdoc/Mono.Documentation/monodocer.cs
+++ b/mdoc/Mono.Documentation/monodocer.cs
@@ -1358,7 +1358,7 @@ class MDocUpdater : MDocCommand
TypeReference iface;
MethodReference imethod;
- if (methdef.Overrides.Count == 1) {
+ if (methdef.Overrides.Count == 1 && !methdef.IsPublic) {
DocUtils.GetInfoForExplicitlyImplementedMethod (methdef, out iface, out imethod);
if (!IsPublic (iface.Resolve ())) return false;
}