Skip to content

Conversation

@karimnaaji
Copy link
Member

No description provided.

@karimnaaji karimnaaji requested a review from matteblair November 1, 2017 15:31
@karimnaaji karimnaaji changed the title Use MatcherType instead of Type to remove shadowing from C# Type Remove Type shadowing from C# Type Nov 1, 2017
Copy link
Member

@matteblair matteblair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest that we make these Enums separate (not nested) type declarations. This seems to be a common and recommended practice in C# (https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/nested-types)

Edit: I'm guilty of only partially following this guideline so far - GeometryType is declared on its own but in another PR I added the UVMode Enum as a nested type, which I'll now update.

@karimnaaji
Copy link
Member Author

Makes sense after reading the guidelines, will refactor all nested types after #81, rebasing will be more convenient this way. Closing for the time being.

@karimnaaji karimnaaji closed this Nov 8, 2017
@karimnaaji karimnaaji deleted the type-shadowing branch December 1, 2017 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants