42 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 (38)
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)
406
if (methods?.
IsEmpty
!= false)
434
Debug.Assert(!methods.
IsEmpty
);
673
if (methods?.
IsEmpty
!= false)
1906
Debug.Assert(result.Results.
IsEmpty
);
3499
if (methods?.
IsEmpty
!= false)
3526
Debug.Assert(!methods.
IsEmpty
);
3769
if (methods?.
IsEmpty
!= false)
3897
if (extensionCandidatesInSingleScope.
IsEmpty
)
Binder\DecisionDagBuilder.cs (10)
301
if (!testsSimplified.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
2427
if (!trueTests.
IsEmpty
|| !falseTests.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
2491
if (!testsRewritten.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
2544
if (!testsRewritten.
IsEmpty
|| !testsToAssemble.
IsEmpty
)
2601
if (!tests2.
IsEmpty
)
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
849
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
)
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)
2772
else if (!ops1.
IsEmpty
)