Roslyn: CodeStyle: We should have a rule for whether to qualify static access with typename or not.

Created on 2 Nov 2016  路  2Comments  路  Source: dotnet/roslyn

C# class Program { static int field; static void Main(string[] args) { field = 42; } }

Should have a way to require qualification of field with Program..

Area-IDE Feature Request

Most helpful comment

I didn't say _I_ would turn it on :)

All 2 comments

Should have a way to require qualification of field with Program

Every time someone does that, a kitten dies and the noise drowns it out...

I didn't say _I_ would turn it on :)

Was this page helpful?
0 / 5 - 0 ratings