Editorconfig Guide.e

Space after colon in inheritance clause

EditorConfig key: csharp-space-after-colon-in-inheritance-clause

Space after colon in inheritance clause

csharp-space-after-colon-in-inheritance-clause

This option controls whether a space should follow the colon that introduces a base class or interface in a type declaration.

Default value:

true

Possible values:

  • true
  • false

Examples

true
class A : B {}
false
class A :B {}