5 references to GetTargetPropertyCode
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (5)
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Code.cs (5)
61
=> $@"{GetLogicalNotText(negate)}{
GetTargetPropertyCode
("IsEmpty")}";
79
=> $@"{value} {GetOperatorCode(@operator)} {
GetTargetPropertyCode
(propertyName)}";
82
=> $@"{
GetTargetPropertyCode
(propertyName)} {GetOperatorCode(@operator)} {value}";
85
=> $@"{
GetTargetPropertyCode
(propertyName)}.Equals({value})";
88
=> $@"{value}.Equals({
GetTargetPropertyCode
(propertyName)})";