public class PrivateFieldUsedAsLocalVariable
{
    private readonly string _a;
    public PrivateFieldUsedAsLocalVariable(string a)
    {
        _a = a;
    }
    public string GetValue()
    {
        return _a;
    }
}public class ClassName : BaseClassName{        private readonly Regex escapePattern;         public ClassName(string location) : base(location)        {            // Regex may change depending on location             escapePattern = new Regex("Blah");        }
        private string Escape(string value)        {            if (Check)            {                value = escapePattern.Replace(value, m => escapes[m.Value]);            }             return value;        }}--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/6289e277-fe3b-48fe-b080-a2800ffb52bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.