18 references to IsEmpty
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\OneOrMany.cs (2)
96
IsEmpty
? OneOrMany.Create(item) :
177
=> !
IsEmpty
;
Microsoft.CodeAnalysis.CSharp (8)
Compilation\MemberSemanticModel.cs (8)
1680
if (!nodes.
IsEmpty
)
1717
if (!nodes.
IsEmpty
)
1739
if (!nodes.
IsEmpty
)
2137
if (!results.
IsEmpty
)
2157
if (!results.
IsEmpty
)
2177
if (results.
IsEmpty
)
2187
if (!results.
IsEmpty
)
2517
if (!boundNodes.
IsEmpty
)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\OutVarTests.cs (4)
18819
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration).
IsEmpty
);
18820
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.Initializer).
IsEmpty
);
18821
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.Body).
IsEmpty
);
18822
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(constructorDeclaration.ExpressionBody).
IsEmpty
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\TopLevelStatementsTests.cs (4)
6551
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(globalStatement.Statement).
IsEmpty
);
7029
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(unit).
IsEmpty
);
7097
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(unit).
IsEmpty
);
7183
Assert.False(mm.TestOnlyTryGetBoundNodesFromMap(node).
IsEmpty
);