You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated source code causes CS1591 warnings if GenerateDocumentationFile is true #311
If the .csproj file has <GenerateDocumentationFile>true</GenerateDocumentationFile>, and it does not have <NoWarn>1591</NoWarn>, and a class using [LuaObject] is public, then the generated source code has build warnings that the user cannot fix.
LuaWrapper_T_.LuaObject.g.cs(61,42): Warning CS1591 : Missing XML comment for publicly visible type or member 'LuaWrapper<T>.implicit operator LuaValue(LuaWrapper<T>)'
I believe the source code generator could be changed to emit XML documentation here:
changed the title [-]Generated source code cause CS1591 warnings if GenerateDocumentationFile is true[/-][+]Generated source code causes CS1591 warnings if GenerateDocumentationFile is true[/+]on May 16, 2026
Fixed by #349 (merged in a23f1a1). Generated files now suppress CS1591 and CS0612/CS0618; diagnostics in handwritten code and Obsolete(..., true) errors remain active. Regression tests and CI passed.
Activity
[-]Generated source code cause CS1591 warnings if GenerateDocumentationFile is true[/-][+]Generated source code causes CS1591 warnings if GenerateDocumentationFile is true[/+]akeit0 commentedon Oct 10, 2026
Fixed by #349 (merged in a23f1a1). Generated files now suppress CS1591 and CS0612/CS0618; diagnostics in handwritten code and Obsolete(..., true) errors remain active. Regression tests and CI passed.