Skip to content

Commit 1f70f0c

Browse files
authored
Qualify the well-known IntPtr SpecialTypeInfo instance (#104758)
1 parent f9016e3 commit 1f70f0c

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration

1 file changed

+1
-1
lines changed

src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/ManagedTypeInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public sealed record SpecialTypeInfo(string FullTypeName, string DiagnosticForma
8888
public static readonly SpecialTypeInfo Void = new("void", "void", SpecialType.System_Void);
8989
public static readonly SpecialTypeInfo String = new("string", "string", SpecialType.System_String);
9090
public static readonly SpecialTypeInfo Boolean = new("bool", "bool", SpecialType.System_Boolean);
91-
public static readonly SpecialTypeInfo IntPtr = new("System.IntPtr", "System.IntPtr", SpecialType.System_IntPtr);
91+
public static readonly SpecialTypeInfo IntPtr = new("nint", "nint", SpecialType.System_IntPtr);
9292

9393
public bool Equals(SpecialTypeInfo? other)
9494
{

0 commit comments

Comments
 (0)