Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add marker types #3

Closed
vbfox opened this issue Sep 18, 2015 · 1 comment
Closed

Add marker types #3

vbfox opened this issue Sep 18, 2015 · 1 comment
Labels
Milestone

Comments

@vbfox
Copy link
Owner

vbfox commented Sep 18, 2015

When a generic method need to be called a type need to be provided even if we don't care about it:

type.Annotate<T>(l => l.Debug(CanBeNull<T>()));

While the library should work with any marker type user provided (To match complex constraints) it should also contain types for the most common cases (class and struct) :

class T
{
}

struct TStruct
{
}
vbfox added a commit that referenced this issue Sep 18, 2015
vbfox added a commit that referenced this issue Sep 18, 2015
vbfox added a commit that referenced this issue Sep 18, 2015
vbfox added a commit that referenced this issue Sep 18, 2015
@vbfox
Copy link
Owner Author

vbfox commented Sep 20, 2015

All is now working.

@vbfox vbfox closed this as completed Sep 20, 2015
@vbfox vbfox modified the milestone: 2.0 Sep 21, 2015
@vbfox vbfox added the feature label Sep 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant