Richard Deeming

Avatar
  • Total activity 632
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 47
  • Subscriptions 216
  • Created

    ASP.NET MVC C# Language Level - Not working

    Answered
    Visual Studio 2017 v15.2R# 2017.1.2 I have an ASP.NET MVC project which builds and runs correctly. R# is consistently telling me that every single view is an error, because it is using a C# 6 langu...
    • 2 followers
    • 5 comments
    • 0 votes
  • Created

    Argument validation issue

    I have a method which takes an XDocument argument. If either the document or its root element are null, I want to throw an ArgumentNullException. For clarity, I also want to decorate the argument w...
    • 2 followers
    • 0 comments
    • 1 vote
  • Created

    ASPX: Custom language injection

    I have a custom ASP.NET WebForms control which contains a block of Javascript: <cc:ClientScriptBlock runat="server">$(function(){ ...});</cc:ClientScriptBlock> Is there any way to tell R# that t...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    "Loop control variable never changed" false-positive with a delegate

    Answered
    When calling a Func<bool> in a while loop, R# gives the false-positive message "Loop control variable is never changed inside loop". Simplified example: Func<bool> fn = () => DateTime.Now.Hour < 23...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    R#10 SWA performance

    With R# 9 and earlier, solution-wide analysis used to run reasonably fast.I've now upgraded to R# 10, and tried opening a web-site project. SWA is taking 1.5 to 3+ seconds to analyze each file.Did ...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    R#9 Extension Method bug

    I have several extension methods which have the same name as existing instance methods on the extended type, but with a different signature. For example:public static class CommandExtensions{    pu...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    R#9: Explicit casts not recognized

    The following code is based on a class provided by Microsoft:private static readonly BigInteger DecimalMaxValue = (BigInteger)Decimal.MaxValue; The code compiles and works as expected; R#8 didn't f...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    ReSharper getting out of sync?

    Every time I edit a file, R# seems to get out of sync. It flags up errors or warnings in the scroll-bar and the code editor; I fix them, but R# doesn't seem to recognize the edit. Even if I close t...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Update?

    I have 8.1.23.546 installed. The "ReSharper -> Options -> Updates" page tells me "There are no updates available". This morning, when I started VS2013, R# displayed a modal dialog box  telling me t...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    ASP.NET SkinID - Bug?

    I have an ASP.NET 3.5 website project which has been around and working for several years. The project uses the App_Themes folder and several ".skin" files to configure the appearance of controls t...
    • 1 follower
    • 1 comment
    • 0 votes