We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a58e4 commit 423b9a7Copy full SHA for 423b9a7
src/Generator/Generators/C/CCodeGenerator.cs
@@ -54,7 +54,7 @@ public virtual string QualifiedName(Declaration decl)
54
55
public string QualifiedIdentifier(Declaration decl)
56
{
57
- if (!string.IsNullOrEmpty(TranslationUnit.Module.OutputNamespace))
+ if (!string.IsNullOrEmpty(TranslationUnit.Module?.OutputNamespace))
58
59
if (string.IsNullOrEmpty(decl.QualifiedName))
60
return $"{decl.TranslationUnit.Module.OutputNamespace}";
0 commit comments