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

Fix compilation with PORTABLE symbol. #104

Merged
merged 1 commit into from
Aug 18, 2018
Merged

Conversation

rouacke
Copy link
Contributor

@rouacke rouacke commented Aug 30, 2016

Compiling with the PORTABLE symbol results in several errors.

The namespace 'TinyIoC' already contains a definition for
'ReverseTypeExtender'

The NETSTANDARD1_6 symbol is OR'd instead of AND'd. Since the rest of
the symbols are AND'd, this appears to be a copy-and-paste error.

Inconsistent accessibility: parameter type 'BindingFlags' is less
accessible than method 'TypeExtensions.GetConstructors(Type,
BindingFlags)'

The BindingFlags enum is marked internal; however, it is included in
various public method signatures.

Compiling with the PORTABLE symbol results in several errors.

> The namespace 'TinyIoC' already contains a definition for
> 'ReverseTypeExtender'

The NETSTANDARD1_6 symbol is OR'd instead of AND'd. Since the rest of
the symbols are AND'd, this appears to be a copy-and-paste error.

> Inconsistent accessibility: parameter type 'BindingFlags' is less
> accessible than method 'TypeExtensions.GetConstructors(Type,
> BindingFlags)'

The BindingFlags enum is marked internal; however, it is included in
various public method signatures.
@tylerhartwig
Copy link

I just made this change manually as well is this project dead? :(

@trinnguyen
Copy link

Updated this change manually in my project as well. Those 2 issues blocks PCL integration in the first step :(

@niemyjski niemyjski merged commit af8b461 into grumpydev:master Aug 18, 2018
@niemyjski
Copy link
Collaborator

Thanks for the PR.

gkarabin pushed a commit to gkarabin/TinyIoC that referenced this pull request Apr 16, 2020
Fix compilation with PORTABLE symbol.
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.

4 participants