We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad4f28c commit 060cb8eCopy full SHA for 060cb8e
src/Generator/Generators/CSharp/CSharpMarshal.cs
@@ -769,7 +769,7 @@ private void MarshalRefClass(Class @class)
769
if (Context.Parameter.IsIndirect)
770
{
771
// Kythera-specific classes.
772
- if (@class.Namespace.Name == "Kyt")
+ if (@class.IsInNamespace("Kyt"))
773
774
Method cctor = @class.HasNonTrivialCopyConstructor ? @class.Methods.First(c => c.IsCopyConstructor) : null;
775
if (cctor != null && cctor.IsGenerated)
0 commit comments