Skip to content

System Types does not include DateTime #466

Closed
@FraserGreenroyd

Description

@FraserGreenroyd

The list of system types here for the IsExtensionMethod check does not include DateTime.

It also only includes string and not String, and does not perform a ToLower() operation on the parameter meaning we are enforcing methods with String foo input to be this String foo which isn't ideal.

This should be updated to:

  • Add DateTime to the excluded list
  • ToLower() the parameter type so the list can accurately check it

Metadata

Metadata

Labels

type:bugError or unexpected behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions