C# - StyleCop - SA1121: UseBuiltInTypeAlias - Readability Rules

后端 未结 6 1931
無奈伤痛
無奈伤痛 2020-12-17 08:00

Not found it in StyleCop Help Manual, on SO and Google so here it is ;)

During StyleCop use I have a warning:

SA1121 - UseBuiltInTypeAlias -

6条回答
  •  有刺的猬
    2020-12-17 08:08

    Less confusing? It seems very akward to me for a base data type, which traditionally is just a value, to include static functions. I understand using the base data type equivalent if you're just storing a value, but for accessing members of the class, it seems very akward to put a .(dot) after the base type name.

提交回复
热议问题