[s]int8 in structures throw not implemented exception

Open
#1,622 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp, csharp
Domain
devtools

Research direction

Start in src/Generator/Extensions/PrimitiveTypeExtensions.cs at the linked function and inspect its two static functions for the int8_t handling path. Compare their treatment of signed bytes with the surrounding primitive types; done means structures containing int8_t members no longer trigger NotImplementedException.

Written by the indexing model from the issue text.

Description

In this function a NotImplementedException is thrown when a structure contains a member of type int8_t. Noting that the rest of this library appears to support signed bytes; however, this one particular class in the C# frontend doesn't handle them in its' two static functions

Dominant language
C#
Stars
3.4k
Forks
541
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mono/CppSharp

All issues in mono/CppSharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.