Skip to content

Commit 31135f5

Browse files
committed
Merge remote-tracking branch 'origin/master' into develop
2 parents cee8667 + 437da50 commit 31135f5

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

CODE-OF-CONDUCT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Code of Conduct
2+
3+
This project has adopted the code of conduct defined by the Contributor Covenant
4+
to clarify expected behavior in our community.
5+
6+
For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).

mdoc/Consts.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace Mono.Documentation
33
{
44
public static class Consts
55
{
6-
public static string MonoVersion = "5.7.5.3";
6+
public static string MonoVersion = "5.7.5.4";
77
public const string DocId = "DocId";
88
public const string CppCli = "C++ CLI";
99
public const string CppCx = "C++ CX";

mdoc/Mono.Documentation/MDocUpdater.cs

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,17 @@ public override void Run (IEnumerable<string> args)
437437
));
438438
this.assemblies.AddRange (sets);
439439
assemblyPaths.AddRange (sets.SelectMany (s => s.AssemblyPaths));
440-
Console.WriteLine($"Frameworks Configuration contains {assemblyPaths.Count} assemblies");
440+
Console.WriteLine($"Frameworks Configuration contains {assemblyPaths.Count} assemblies");
441+
442+
443+
if (!DisableSearchDirectoryRecurse)
444+
{
445+
// unless it's been explicitly disabled, let's
446+
// add all of the subdirectories to the resolver
447+
// search paths.
448+
foreach (var assemblySet in this.assemblies)
449+
assemblySet.RecurseSearchDirectories();
450+
}
441451

442452
// Create a cache of all frameworks, so we can look up
443453
// members that may exist only other frameworks before deleting them
@@ -457,7 +467,7 @@ public override void Run (IEnumerable<string> args)
457467
foreach (var type in assembly.GetTypes())
458468
{
459469
var t = a.ProcessType(type, assembly);
460-
foreach (var member in type.GetMembers().Where(i => !DocUtils.IsIgnored(i)))
470+
foreach (var member in type.GetMembers().Where(i => !DocUtils.IsIgnored(i) && IsMemberNotPrivateEII(i)))
461471
t.ProcessMember(member);
462472
}
463473
}
@@ -481,14 +491,6 @@ public override void Run (IEnumerable<string> args)
481491
if (assemblyPaths.Count == 0)
482492
Error ("No assemblies specified.");
483493

484-
if (!DisableSearchDirectoryRecurse)
485-
{
486-
// unless it's been explicitly disabled, let's
487-
// add all of the subdirectories to the resolver
488-
// search paths.
489-
foreach (var assemblySet in this.assemblies)
490-
assemblySet.RecurseSearchDirectories ();
491-
}
492494

493495
// validation for the api-style parameter
494496
if (apistyle == "classic")
@@ -1947,7 +1949,8 @@ public static bool IsMemberNotPrivateEII(MemberReference m)
19471949
if (methdef.Overrides.Count == 1 && !methdef.IsPublic && !(methdef.IsFamily && methdef.IsVirtual && !methdef.DeclaringType.IsSealed))
19481950
{
19491951
DocUtils.GetInfoForExplicitlyImplementedMethod(methdef, out iface, out imethod);
1950-
if (!DocUtils.IsPublic(iface.Resolve())) return false;
1952+
if (!DocUtils.IsPublic(iface.Resolve()))
1953+
return false;
19511954
}
19521955
}
19531956

mdoc/mdoc.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>mdoc</id>
5-
<version>5.7.5.3</version>
5+
<version>5.7.5.4</version>
66
<title>mdoc</title>
77
<authors>Microsoft</authors>
88
<owners>Microsoft</owners>

0 commit comments

Comments
 (0)