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:
authorRanhaoXu <v-jex@microsoft.com>2021-09-07 11:10:59 +0300
committerGitHub <noreply@github.com>2021-09-07 11:10:59 +0300
commit3f9c168e198cc104b368a0629bd3981bd34d953c (patch)
tree6724e6a2707d80cf917e1032fce076be600cb116
parente09a476bf30a6bda0ecc922d80b2092cddbc8cb5 (diff)
Added a debug message when unable to resolve a type (#574)
Co-authored-by: anmeng10101 <33647870+anmeng10101@users.noreply.github.com>
-rw-r--r--mdoc/Mono.Documentation/Updater/Frameworks/MDocMetadataResolver.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc/Mono.Documentation/Updater/Frameworks/MDocMetadataResolver.cs b/mdoc/Mono.Documentation/Updater/Frameworks/MDocMetadataResolver.cs
index fd3a7730..518ec46d 100644
--- a/mdoc/Mono.Documentation/Updater/Frameworks/MDocMetadataResolver.cs
+++ b/mdoc/Mono.Documentation/Updater/Frameworks/MDocMetadataResolver.cs
@@ -88,6 +88,8 @@ namespace Mono.Documentation.Updater.Frameworks
return exported_type.Resolve ();
}
+ Console.WriteLine(string.Format("Unable to get type {0} in module {1}({2}) from assembly {3}({4})",
+ reference.FullName, reference.Module.Name, reference.Module.FileName, module.Assembly.FullName, module.Assembly.MainModule.FileName));
return null;
}