未验证 提交 2e7438ab 编写于 作者: E Elinor Fung 提交者: GitHub

Fix SpecialTypeInfo.Byte (#67261)

上级 ee650cdc
......@@ -51,7 +51,7 @@ public static ManagedTypeInfo CreateTypeInfoForTypeSymbol(ITypeSymbol type)
public sealed record SpecialTypeInfo(string FullTypeName, string DiagnosticFormattedName, SpecialType SpecialType) : ManagedTypeInfo(FullTypeName, DiagnosticFormattedName)
{
public static readonly SpecialTypeInfo Byte = new("byte", "byte", SpecialType.System_Void);
public static readonly SpecialTypeInfo Byte = new("byte", "byte", SpecialType.System_Byte);
public static readonly SpecialTypeInfo Int32 = new("int", "int", SpecialType.System_Int32);
public static readonly SpecialTypeInfo Void = new("void", "void", SpecialType.System_Void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册