Autodesk / Autodesk/AutomaticComponentToolkit
Handle reserved function names in binding and implementation languages
Open
- Dominant language
- Go
- Stars
- 53
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Different languages define specific methods on classes per default, e.g. C# defines ToString, GetType and GetHashCode.
When components define methods with these names in one of their classes, this can lead to problems.
Solution:
in the binding (or implementation section) of the component, define overrides for these resreved names or keywords
e.g.
```xml
```
This would basically replace each occurrence of "GetType" in the C#-binding by "GetObjectType".
Contributor guide
Assessment
This issue has not been assessed yet.