15 references to IsEmpty
Microsoft.CodeAnalysis (6)
Operations\ControlFlowGraphBuilder.cs (4)
1632Debug.Assert(rewrittenThrow.ChildOperations.IsEmpty()); 1650Debug.Assert(rewrittenThrow.ChildOperations.IsEmpty()); 2940Debug.Assert(rewrittenThrow.ChildOperations.IsEmpty()); 3082Debug.Assert(rewrittenThrow.ChildOperations.IsEmpty());
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
240/// This method is necessary to avoid an ambiguity between <see cref="IsEmpty{T}(IReadOnlyCollection{T})"/> and <see cref="IsEmpty{T}(ICollection{T})"/>. 248/// This method is necessary to avoid an ambiguity between <see cref="IsEmpty{T}(IReadOnlyCollection{T})"/> and <see cref="IsEmpty{T}(ICollection{T})"/>.
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.IdentifierUsedAsValueFinder.cs (2)
351if (state.clauses.IsEmpty()) 366Debug.Assert(state.clauses.IsEmpty());
Binder\Binder_Query.cs (6)
109Debug.Assert(state.clauses.IsEmpty()); 175if (!state.clauses.IsEmpty()) return false; 189if (state.clauses.IsEmpty()) 219Debug.Assert(state.clauses.IsEmpty()); 412if (state.clauses.IsEmpty() && state.selectOrGroup.Kind() == SyntaxKind.SelectClause) 599if (state.clauses.IsEmpty() && state.selectOrGroup.IsKind(SyntaxKind.SelectClause))
Symbols\Attributes\AttributeData.cs (1)
477if (argList == null || argList.Arguments.IsEmpty())