Autodesk / Autodesk/AutomaticComponentToolkit

Handle reserved function names in binding and implementation languages

Open
#143 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.