Skip to content

Exception when typing out AssemblyInformationalVersion #77

@KirillOsenkov

Description

@KirillOsenkov

Describe the Bug

When typing [assembly: AssemblyInformationalVersion] in the editor, there's an exception in here:

.Select(x => new KeyValuePair<string, string?>(x.AttributeClass!.Name.Substring(8).Replace("Attribute", ""), (string?)x.ConstructorArguments[0].Value))

because the constructor arguments is empty. And as far as I can tell the generator gets turned off after the exception and stops working.

Version Info

1.0.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions