OptionaluniqueClassValidator: UniqueClassValidationProtected ReadonlyfoundProtected ReadonlygetDetermines the corresponding language node of the class declaration, so that Typir can infer its ClassType
Protected ReadonlyisDetermines language nodes which represent declared methods, improves performance a lot.
Protected ReadonlyservicesProtected ReadonlyuniqueProtectedcalculateCalculates a key for a method which encodes its unique properties, i.e. duplicate methods have the same key. Additionally, the class of the method needs to be represented in the key as well. This key is used to identify duplicated methods. Override this method to change the properties which make a method unique.
the current class type
the current function type
a string key
Predefined validation to produce errors, if inside a class the same method is declared more than once.