7 references to Count
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Performance\UseCountProperly.cs (7)
34private const string Count = nameof(Count); 114IEnumerable<IMethodSymbol>? methods = namedType?.GetMembers(Count).OfType<IMethodSymbol>().Where(m => m.Parameters.Length <= 2); 121methods = namedType?.GetMembers(Count).OfType<IMethodSymbol>().Where(m => m.Parameters.Length <= 2); 241if (propertyName is not Count and not Length || 391propertyName = Count; 514else if (TypeContainsVisibleProperty(context, type, Count, SpecialType.System_Int32, SpecialType.System_UInt64, out _)) 516ReportCA1829(context, Count, invocationOperation);