20 references to IsEmpty
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\OneOrMany.cs (2)
96IsEmpty ? OneOrMany.Create(item) : 177=> !IsEmpty;
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitStatement.cs (2)
680if (!instrumentation.Locals.IsEmpty) 728if (!instrumentation.Locals.IsEmpty)
Compilation\MemberSemanticModel.cs (8)
1642if (!nodes.IsEmpty) 1679if (!nodes.IsEmpty) 1701if (!nodes.IsEmpty) 2099if (!results.IsEmpty) 2119if (!results.IsEmpty) 2139if (results.IsEmpty) 2149if (!results.IsEmpty) 2479if (!boundNodes.IsEmpty)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\OutVarTests.cs (4)
18821Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration).IsEmpty); 18822Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.Initializer).IsEmpty); 18823Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.Body).IsEmpty); 18824Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.ExpressionBody).IsEmpty);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\TopLevelStatementsTests.cs (4)
6461Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(globalStatement.Statement).IsEmpty); 6939Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(unit).IsEmpty); 7007Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(unit).IsEmpty); 7093Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(node).IsEmpty);