Implemented interface member:
7 references to Count
Microsoft.AspNetCore.App.Analyzers (4)
Authorization\AddAuthorizationBuilderAnalyzer.cs (3)
105if (configureArgumentOperation is { ChildOperations: { Count: 1 } argumentChildOperations } 119if (configureDelegateCreationOperation is { ChildOperations: { Count: 1 } delegateCreationChildOperations } 133if (configureAnonymousFunctionOperation is { ChildOperations: { Count: 1 } anonymousFunctionChildOperations }
RouteHandlers\DetectMisplacedLambdaAttribute.cs (1)
28if (lambda.ChildOperations.Count != 1 || lambda.ChildOperations.FirstOrDefault() is not IBlockOperation blockOperation)
Microsoft.CodeAnalysis (3)
Operations\IOperation.OperationList.cs (3)
47var builder = ArrayBuilder<IOperation>.GetInstance(Count); 58if (this.Count == 0) 68public bool Any() => Count > 0;