diff options
author | RanhaoXu <v-jex@microsoft.com> | 2021-09-07 11:10:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 11:10:59 +0300 |
commit | 3f9c168e198cc104b368a0629bd3981bd34d953c (patch) | |
tree | 6724e6a2707d80cf917e1032fce076be600cb116 /mdoc | |
parent | e09a476bf30a6bda0ecc922d80b2092cddbc8cb5 (diff) |
Added a debug message when unable to resolve a type (#574)
Co-authored-by: anmeng10101 <33647870+anmeng10101@users.noreply.github.com>
Diffstat (limited to 'mdoc')
-rw-r--r-- | mdoc/Mono.Documentation/Updater/Frameworks/MDocMetadataResolver.cs | 2 |
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; } |