Skip to content

vb-->C# designer components is never assigned to, and will always have its default value full #739

@jayobrien

Description

@jayobrien

I have converted extensive VB.net code to C#. There are multiple warnings in designer.cs that Field 'XXX.components' is never assigned to, and will always have its default value null. Where these occur, there is a comment above // Required by the Windows Form Designer

An example of the warning would be the line private IContainer components;

It also shows up in DataGridViewTextTextBoxColumn

The code runs with no problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions