Skip to content

Commit

Permalink
Qualify the well-known IntPtr SpecialTypeInfo instance (#104758)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky authored Jul 17, 2024
1 parent f9016e3 commit 1f70f0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public sealed record SpecialTypeInfo(string FullTypeName, string DiagnosticForma
public static readonly SpecialTypeInfo Void = new("void", "void", SpecialType.System_Void);
public static readonly SpecialTypeInfo String = new("string", "string", SpecialType.System_String);
public static readonly SpecialTypeInfo Boolean = new("bool", "bool", SpecialType.System_Boolean);
public static readonly SpecialTypeInfo IntPtr = new("System.IntPtr", "System.IntPtr", SpecialType.System_IntPtr);
public static readonly SpecialTypeInfo IntPtr = new("nint", "nint", SpecialType.System_IntPtr);

public bool Equals(SpecialTypeInfo? other)
{
Expand Down

0 comments on commit 1f70f0c

Please sign in to comment.