2 references to new
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\CSharpAvoidRedundantRegexIsMatchBeforeMatch.Fixer.cs (2)
645=> new(ifStatement, matchDeclarationStatement.Declaration.Variables[0].Initializer!.Value, variableName, matchDeclarationStatement, preDeclaration: null); 648=> new(ifStatement, ((AssignmentExpressionSyntax)assignmentStatement.Expression).Right, variableName, assignmentStatement, preDeclaration);