2 overrides of GetLogicalNotText
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (2)
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Code.cs (2)
232internal override object GetLogicalNotText(bool negate) => negate ? "!" : string.Empty; 379internal override object GetLogicalNotText(bool negate) => negate ? "Not " : string.Empty;
2 references to GetLogicalNotText
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (2)
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Code.cs (2)
58=> $@"{GetLogicalNotText(negate)}{GetTargetExpressionCode(withPredicate, "Any" + this.MethodSuffix)}"; 61=> $@"{GetLogicalNotText(negate)}{GetTargetPropertyCode("IsEmpty")}";