Richard Deeming
- Total activity 632
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 47
- Subscriptions 216
-
Edited "Use object initializer" breaks target-typed new expressions
AnsweredReSharper's "use object initializer" action removes the parentheses from a C# 9 target-typed new expression, rendering it invalid. Start with: Foo x = new();x.Bar = 42; Invoke the "use object initi... -
Created "Cannot resolve template" with UIHint (again)
Previously: https://resharper-support.jetbrains.com/hc/en-us/community/posts/360001931279--Cannot-resolve-template-with-UIHint This time, R# 2020.3.2 in VS2019 v16.8.4 is refusing to resolve a temp... -
Created 2020.3: repeating-linear-gradient support
CompletedHaving upgraded to 2020.3, I am still seeing a false error on a perfectly valid repeating-linear-gradient CSS declaration. Code: .not-available { background: repeating-linear-gradient(-45deg, t... -
Created Annoying glitch with verbatim variable prefix
Start with the perfectly valid C# code: foreach (var group in list.GroupBy(...)){ Debug.Assert(null != group); ...} Invoke R#'s "Flip != operands" action on the Debug.Assert line: Debug.Asser... -
Created R# 2019.3 regression: Intellisense / autocomplete
Since installing R# 2019.3, tab completion of intellisense items refuses to work randomly - pressing <Tab> with an entry selected often inserts a tab instead of completing the code. Keyboard naviga... -
Created R# 2019.3 regression: argument validation
I annotate parameters which do not accept null with the [NotNull] attribute. However, since this does not prevent a caller from passing in a null value, I also validate the parameters. For example:... -
Created "To object pattern" - incorrect changes with nullable value type
Given a property of a nullable value type, R# suggests changing the following code: if (foo.Bar is int x) to: if (foo.Bar is {} x) This is incorrect. In the original code, x is int; in the refactor... -
Created Incorrect error using static local function
I have several local functions which do not capture any state, and which Visual Studio tells me can be converted to static local functions. In most cases, R# seems happy with this. However, in one ... -
Created Not possible to disable localization warnings
I have a project which does not contain any resource files. R# is still warning me that every single string in the project is localizable. In the project properties, the "Localizable" option under ... -
Created Incorrect "path not found" warnings in MVC projects
AnsweredI have an MVC5 project which uses the <location path="..."> element in the web.config file to set specific IIS configuration for certain controller actions. The configuration works as expected. How...