Skip to content

Generated source code causes CS1591 warnings if GenerateDocumentationFile is true #311

Description

@RobinsonWM

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:

$"public static implicit operator global::Lua.LuaValue({typeMetadata.FullTypeName} value)"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions