2 instantiations of SymbolWithNegation
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.cs (2)
130
lengthArgumentSymbols.Remove(new
SymbolWithNegation
(lengthProperty.Member, true));
155
set.Add(new
SymbolWithNegation
(operation.GetReferencedMemberOrLocalOrParameter(), isNegated));
3 references to SymbolWithNegation
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.cs (3)
121
var startArgumentSymbols = new HashSet<
SymbolWithNegation
>();
125
var lengthArgumentSymbols = new HashSet<
SymbolWithNegation
>();
134
void AddExpressionPartToSet(IOperation operation, bool isNegated, HashSet<
SymbolWithNegation
> set)