Results 219 comments of Matt Ellis

Why would the ranges be different in the editor and at runtime? What's the point of setting a range that's not valid?

Technically, no. You can change them to anything, and Rider will do its best to update what it knows about the value. For example, if you try to do `BigNumber...

This is because the attributes are specifying an invariant about the value. We're saying `SmallNumber` will always have a minimum value of `1`, in the same way that `[NotNull]` says...

By the way, here's a [blog post about the integer value analysis](https://blog.jetbrains.com/dotnet/2020/09/07/dataflow-analysis-of-integral-values/), and it discusses the annotations.

There is definitely an argument to improve detection around coroutines and performance critical context - but it depends on what the coroutine itself does. Without the `WaitForSeconds`, this could easily...

Thanks for the comments, and sorry for not replying sooner. Can you explain what you mean by a "sequence of events"? If this is do some work, yield, do some...

Thanks again for the comments. I very much appreciate the context - it's a great help in deciding what to do, and I'm pretty confident we'll stop treating coroutines as...

Wow! That's pretty hardcore :grin: You can [enable warnings in the Solution Wide Analysis](https://www.jetbrains.com/help/resharper/Code_Analysis__Solution-Wide_Analysis.html#monitor-warnings-in-solution), which might allow you to go back to defaults, and still get the benefits of the...

Sure, here you go. ReSharper highlights `MyExpensiveCoroutine` as a "hot method" with a nice little flame icon. The comment on `MyNotExpensiveCoroutine` (I'm good with names) stops the analysis. Any methods...

This has prompted some internal conversations. For some, it's to be expected, for others, it's a surprise. Naturally enough, this is due to Unity's equality operator overrides. There's a question...