43 references to IsEmpty
Microsoft.CodeAnalysis (4)
CodeGen\SwitchIntegralJumpTableEmitter.cs (2)
204
while (!switchBucketsStack.
IsEmpty
)
227
Debug.Assert(!switchBucketsStack.
IsEmpty
);
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
1083
if (nodeActions.
IsEmpty
)
1182
if (operationActions.
IsEmpty
)
Microsoft.CodeAnalysis.CSharp (39)
Binder\Binder.OperatorResolutionForReporting.cs (3)
48
if (result.ResultsBuilder.
IsEmpty
)
59
if (result.Results.
IsEmpty
)
70
if (result.Results.
IsEmpty
)
Binder\Binder_Operators.cs (8)
402
if (methods?.
IsEmpty
!= false)
430
Debug.Assert(!methods.
IsEmpty
);
670
if (methods?.
IsEmpty
!= false)
1895
Debug.Assert(result.Results.
IsEmpty
);
3489
if (methods?.
IsEmpty
!= false)
3516
Debug.Assert(!methods.
IsEmpty
);
3760
if (methods?.
IsEmpty
!= false)
3888
if (extensionCandidatesInSingleScope.
IsEmpty
)
Binder\DecisionDagBuilder.cs (10)
309
if (!testsSimplified.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
4068
if (!trueTests.
IsEmpty
|| !falseTests.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
4186
if (!testsRewritten.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
4363
if (!testsRewritten.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
4420
if (!tests2.
IsEmpty
)
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
858
if (endOfLeft < startOfLeft && stack.
IsEmpty
)
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
228
if (operators.
IsEmpty
)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (2)
1457
if (!operators.
IsEmpty
)
1478
if (!operators.
IsEmpty
)
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
98
if (!operators.
IsEmpty
)
119
if (!operators.
IsEmpty
)
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (1)
494
if (arguments.Names.
IsEmpty
)
Binder\UnionMatchingRewriter.cs (1)
374
while (!stack.
IsEmpty
);
Compiler\DocumentationCommentCompiler.cs (1)
293
if (docCommentNodesBuilder.
IsEmpty
)
Compiler\MethodCompiler.cs (4)
298
Debug.Assert(lambdaDebugInfoBuilder.
IsEmpty
);
299
Debug.Assert(lambdaRuntimeRudeEditsBuilder.
IsEmpty
);
300
Debug.Assert(closureDebugInfoBuilder.
IsEmpty
);
301
Debug.Assert(stateMachineStateDebugInfoBuilder.
IsEmpty
);
Emitter\Model\PEModuleBuilder.cs (2)
624
Debug.Assert(!groupingTypes.
IsEmpty
);
869
Debug.Assert(!groupingTypes.
IsEmpty
);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
114
Debug.Assert(_lazyPreviousContextVariables?.
IsEmpty
!= false);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
52
Debug.Assert(stateMachineStateDebugInfoBuilder.
IsEmpty
);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2808
else if (!ops1.
IsEmpty
)