-
Notifications
You must be signed in to change notification settings - Fork 153
Add some missing system contracts; fix bad contracts in Application and ... #21
Conversation
…nd DependencyObject.
Sorry, GIT beginner ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this maybe throw a NotImplementedException?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this would make any difference, CC will only look at the contracts information and ignores any code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm more curious here. I prefer to return as I think it is lighter but was wondering it it made any difference. I suppose it does not matter if we have a standard, not yet at least.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the stuff is auto-generated, and it would generate a huge effort to change everything, with low benefit.
|
I'm done reading up to 227167b . Some good changes in this PR. Found some stuff I was unsure about but only found one item that I think needs to be addressed: https://github.com/Microsoft/CodeContracts/pull/21/files#diff-cace338ba5980de8d18370a9d6b804e2R389 |
|
👍 |
… CC from working.
|
Looks good 👍 |
|
❗ I think this pull request needs to be closed. Changes pushed to tom-englert/master after this pull request was created were automatically appended to this pull request, and I don't think that was intended. |
|
It was intended for my changes - however everything is already collected together by "hubuk". As long as my changes make it to the main branch, I'm fine with this. |
Remove invalid contract from DispatcherObject.
|
I partially reviewed this pull request so far. The first two things I note are:
Concern was expressed in #62 regarding conflicts in this pull request. I am not very concerned about this right now for the following reasons:
As long as this pull request gets merged before #63 is merged, I believe we are fine. ❓ @tom-englert I've been focused on getting the standard build process updated with the new tooling required for IL rewriting to support the Visual Studio 2015 build tools, and for the editor extensions to support Visual Studio 2013. With the understanding that I really want to get this merged, would you be OK with waiting for me to do a more extensive code review after the build process is updated to account for foundation items like #57, #60, and #66? At that time, if you want I could even prepare new pull requests containing targeted subsets of this code in order to address my concerns about the size of this pull request, without you needing to do any more work on it. Like I said, this pull request is very important to me. I believe it represents the type of work the majority of Code Contracts contributors will provide over time. |
|
@sharwell sounds good to me, as long as the changes will make it to the next release I'm fine with everything. The new solution is just for convenience, it dramatically speeds up development when fixing the existing contracts. It would be helpful to anyone concentrating on contract definitions only, but I won't insist in keeping this in the repo. I tried my best to not touch the formatting, which is a very hard task with the existing code base without switching of all automatism in all tools. I think there is already an issue requesting to standardize formatting of the existing code, so anyone can work with standard VS settings, which I assume most developers already use. Until this is done I think we have to live with minor formatting and white space changes. |
...DependencyObject.