42 references to IsEmpty
Microsoft.CodeAnalysis (4)
CodeGen\SwitchIntegralJumpTableEmitter.cs (2)
204while (!switchBucketsStack.IsEmpty) 227Debug.Assert(!switchBucketsStack.IsEmpty);
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
1083if (nodeActions.IsEmpty) 1182if (operationActions.IsEmpty)
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder.OperatorResolutionForReporting.cs (3)
48if (result.ResultsBuilder.IsEmpty) 59if (result.Results.IsEmpty) 70if (result.Results.IsEmpty)
Binder\Binder_Operators.cs (8)
406if (methods?.IsEmpty != false) 434Debug.Assert(!methods.IsEmpty); 673if (methods?.IsEmpty != false) 1906Debug.Assert(result.Results.IsEmpty); 3499if (methods?.IsEmpty != false) 3526Debug.Assert(!methods.IsEmpty); 3769if (methods?.IsEmpty != false) 3897if (extensionCandidatesInSingleScope.IsEmpty)
Binder\DecisionDagBuilder.cs (10)
301if (!testsSimplified.IsEmpty || !testsToAssemble.IsEmpty) 2427if (!trueTests.IsEmpty || !falseTests.IsEmpty || !testsToAssemble.IsEmpty) 2491if (!testsRewritten.IsEmpty || !testsToAssemble.IsEmpty) 2544if (!testsRewritten.IsEmpty || !testsToAssemble.IsEmpty) 2601if (!tests2.IsEmpty)
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
849if (endOfLeft < startOfLeft && stack.IsEmpty)
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
228if (operators.IsEmpty)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (2)
1457if (!operators.IsEmpty) 1478if (!operators.IsEmpty)
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
98if (!operators.IsEmpty) 119if (!operators.IsEmpty)
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (1)
494if (arguments.Names.IsEmpty)
Compiler\DocumentationCommentCompiler.cs (1)
293if (docCommentNodesBuilder.IsEmpty)
Compiler\MethodCompiler.cs (4)
298Debug.Assert(lambdaDebugInfoBuilder.IsEmpty); 299Debug.Assert(lambdaRuntimeRudeEditsBuilder.IsEmpty); 300Debug.Assert(closureDebugInfoBuilder.IsEmpty); 301Debug.Assert(stateMachineStateDebugInfoBuilder.IsEmpty);
Emitter\Model\PEModuleBuilder.cs (2)
624Debug.Assert(!groupingTypes.IsEmpty); 869Debug.Assert(!groupingTypes.IsEmpty);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
114Debug.Assert(_lazyPreviousContextVariables?.IsEmpty != false);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
52Debug.Assert(stateMachineStateDebugInfoBuilder.IsEmpty);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2772else if (!ops1.IsEmpty)