ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

Why does this anonymous method always return true? #138

Closed cuteant closed 6 years ago

cuteant commented 6 years ago

https://github.com/ipjohnson/Grace/blob/fef365638fa012ecb9adea63b7998c179b9d1498/src/Grace/DependencyInjection/Impl/Expressions/DynamicConstructorExpressionCreator.cs#L237

ipjohnson commented 6 years ago

I think it's a bug and should return false, I'll take a look this weekend at fixing it and adding a use case. Thanks for finding that.

greendimka commented 6 years ago

Shouldn't the #138 be closed now? :)

ipjohnson commented 6 years ago

Good point, I'll close it now. Thanks.

ipjohnson commented 6 years ago

This is released in 6.3.1