diff --git a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs index 56220986..1e875239 100644 --- a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs +++ b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs @@ -438,7 +438,7 @@ static void GenerateNativeBitfieldAttribute(PInvokeGenerator generator, Stream? sw.WriteLine(" /// The offset of the bitfield that was used in the native signature."); sw.WriteLine(" /// The length of the bitfield that was used in the native signature."); sw.Write(indentString); - sw.WriteLine(" public NativeTypeNameAttribute(string name, int offset, int length)"); + sw.WriteLine(" public NativeBitfieldAttribute(string name, int offset, int length)"); sw.Write(indentString); sw.WriteLine(" {"); sw.Write(indentString);