Skip to content

CSS008 Missing a class name after the dot ('.') #12052

@wstaelens

Description

@wstaelens

I think Roslyn gives this warning incorrectly in my razor file (blazor server):

Image

    public abstract string GridId { get; }
    public string GridIdToUse => GridId + RefreshLayoutId;
    string RefreshLayoutId { get; set; }

GridIdToUse is a string and will be rendered as .Foo for example.

Visual Studio Pro 2022 V 17.14.7
.net 9 (latest)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions