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 5dc239a commit 06621d4Copy full SHA for 06621d4
src/Generator/Generators/CSharp/CSharpTypePrinter.cs
@@ -583,7 +583,7 @@ public TypePrinterResult VisitTemplateArgument(TemplateArgument a)
583
if (a.Type.Type == null)
584
return a.Integral.ToString(CultureInfo.InvariantCulture);
585
var type = a.Type.Type.Desugar();
586
- return type.IsPointerToPrimitiveType() ? "global::System.IntPtr" : type.Visit(this);
+ return type.IsPointerToPrimitiveType() ? IntPtrType : type.Visit(this);
587
}
588
589
public override TypePrinterResult VisitParameterDecl(Parameter parameter)
0 commit comments