VS2015 WTF
-
I did not write this:
r = new System.Drawing.Rectangle(ExtensionMethods.TopLeftCorner(DisplayRectangle), new Size(anchorSize, anchorSize));
I had written:r = new Rectangle(DisplayRectangle.TopLeftCorner(), new Size(anchorSize, anchorSize));
When the elephant did VS2015 decide to refactor my code??? X| MarcImperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
-
I did not write this:
r = new System.Drawing.Rectangle(ExtensionMethods.TopLeftCorner(DisplayRectangle), new Size(anchorSize, anchorSize));
I had written:r = new Rectangle(DisplayRectangle.TopLeftCorner(), new Size(anchorSize, anchorSize));
When the elephant did VS2015 decide to refactor my code??? X| MarcImperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Insider news? Long day Marc? :laugh:
Jeremy Falcon
-
I did not write this:
r = new System.Drawing.Rectangle(ExtensionMethods.TopLeftCorner(DisplayRectangle), new Size(anchorSize, anchorSize));
I had written:r = new Rectangle(DisplayRectangle.TopLeftCorner(), new Size(anchorSize, anchorSize));
When the elephant did VS2015 decide to refactor my code??? X| MarcImperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Hi Marc, I wonder if something changed in your NameSpace(s) usage, or, if somehow a reference to System.Drawing got lost. Are you using anything like ReSharper that will munge your code. cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
-
Insider news? Long day Marc? :laugh:
Jeremy Falcon
the gods can manifest anywhere.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
-
the gods can manifest anywhere.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
Touché
Jeremy Falcon
-
Hi Marc, I wonder if something changed in your NameSpace(s) usage, or, if somehow a reference to System.Drawing got lost. Are you using anything like ReSharper that will munge your code. cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
No and No ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
-
Insider news? Long day Marc? :laugh:
Jeremy Falcon
Jeremy Falcon wrote:
Insider news? Long day Marc?
Ooops! I'd meant to post that in the lounge, didn't realize I was here! Can I blame that on a CP WTF??? ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
-
Jeremy Falcon wrote:
Insider news? Long day Marc?
Ooops! I'd meant to post that in the lounge, didn't realize I was here! Can I blame that on a CP WTF??? ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Marc Clifton wrote:
Can I blame that on a CP WTF???
Not until you say JavaScript is awesome. :mad:
Jeremy Falcon
-
Hi Marc, I wonder if something changed in your NameSpace(s) usage, or, if somehow a reference to System.Drawing got lost. Are you using anything like ReSharper that will munge your code. cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
BillWoodruff wrote:
Are you using anything like ReSharper that will munge your code.
I've found that vanilla VS2015 now includes quite a few ReSharper-isms. I haven't used it a whole lot (most of my VS code base is still on 2013), but I don't recall if it auto applied said -isms or if you had to use a key command (like R#'s alt-Enter) to get to them.
-
I did not write this:
r = new System.Drawing.Rectangle(ExtensionMethods.TopLeftCorner(DisplayRectangle), new Size(anchorSize, anchorSize));
I had written:r = new Rectangle(DisplayRectangle.TopLeftCorner(), new Size(anchorSize, anchorSize));
When the elephant did VS2015 decide to refactor my code??? X| MarcImperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Did you pass it through your Android spell checker? (Actually, my first thought was ReSharper.)
-
Jeremy Falcon wrote:
Insider news? Long day Marc?
Ooops! I'd meant to post that in the lounge, didn't realize I was here! Can I blame that on a CP WTF??? ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Surely this is a case of MC WTF?
This space for rent
-
BillWoodruff wrote:
Are you using anything like ReSharper that will munge your code.
I've found that vanilla VS2015 now includes quite a few ReSharper-isms. I haven't used it a whole lot (most of my VS code base is still on 2013), but I don't recall if it auto applied said -isms or if you had to use a key command (like R#'s alt-Enter) to get to them.