Brian Collamore

Results 31 issues of Brian Collamore

CSC : error AD0001: Analyzer 'Philips.CodeAnalysis.MaintainabilityAnalyzers.Maintainability.NoHardCodedPathsAnalyzer' threw an exception of type 'System.Text.RegularExpressions.RegexMatchTimeoutException' wit h message 'The RegEx engine has timed out while trying to match a pattern to an input...

bug

This code ` return $@"{CommandType} Reasons:{string.Join(Environment.NewLine, ReasonList)}"; ` can be simplified to: ` return $@"{CommandType} Reasons:{Environment.NewLine}{ReasonList}}"; `

new analyzer

... just creates a blank line for this violation: ` _mockProvider.Verify(x => x.StoreCertificate(It.Is(c => c.SerialNumber == _embeddedPrimaryClient.SerialNumber)), Times.Once); `

bug

For example: https://github.com/moq/moq/issues/1372

Investigate AssertIsTrueAnalyzer.cs line 33 after we enabled IDE0058 (use discard). It looks like a bug. I.e., the Check method is discarding the result, a Diagnostic.

Test Timeout allows configuration of allowed values on a per-category basis. e.g., ``` cs dotnet_code_quality.PH2012.Unit = TestTimeouts.CiAppropriate,TestTimeouts.CiAcceptable dotnet_code_quality.PH2012.Integration = TestTimeouts.Integration ``` These seem to be ignored. If the analyzer is...

bug

``` cs namespace TestProject1 { [TestClass] public class UnitTest1 { public TestContext TestContext { get; set; } [TestMethod] public void TestMethod() { } } } ```

bug