dotnet / dotnet/macios

[Generator] Generator should not allow to use attrs that contradict each other.

Open
#9,221 0 comments 0 reactions 0 assignees View on GitHub
enhancement generator
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 13h
Merged PRs (30d)
96

Description

This is an enhancement, at the moment we can do:
```csharp
[NotTvV
[TV (14,0)]
[Native]
public enum INSetSeatSettingsInCarIntentResponseCode : long {
...
}
```

We do have attrs that are pairs, one contradicting the other (NoiOS, iOS, Mac, NoMac etc..). In the case a developer makes the mistake of adding both, the generator should raise an error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.