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>2020-06-03 23:50:29 +0300
committerJoel Martinez <joelmartinez@gmail.com>2020-06-03 23:50:29 +0300
commit558df5058d03d922383a00384e7a7ac652663dfc (patch)
treee858e85aff737fa14fc8e635a8a836889612001d /mdoc/Mono.Documentation/MDocUpdater.cs
parent3f2551cd74dc1980295fde7ce221c745001db1ab (diff)
for 5.7.6, blocking private types from the cache
Diffstat (limited to 'mdoc/Mono.Documentation/MDocUpdater.cs')
-rw-r--r--mdoc/Mono.Documentation/MDocUpdater.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc/Mono.Documentation/MDocUpdater.cs b/mdoc/Mono.Documentation/MDocUpdater.cs
index c1bb62cc..f2e9a09c 100644
--- a/mdoc/Mono.Documentation/MDocUpdater.cs
+++ b/mdoc/Mono.Documentation/MDocUpdater.cs
@@ -464,7 +464,7 @@ namespace Mono.Documentation
{
var a = cacheIndex.StartProcessingAssembly(assemblySet, assembly, assemblySet.Importers, assemblySet.Id, assemblySet.Version);
- foreach (var type in assembly.GetTypes())
+ foreach (var type in assembly.GetTypes().Where(t => DocUtils.IsPublic(t)))
{
var t = a.ProcessType(type, assembly);
foreach (var member in type.GetMembers().Where(i => !DocUtils.IsIgnored(i) && IsMemberNotPrivateEII(i)))