18 references to IsEmpty
Microsoft.CodeAnalysis (6)
Operations\ControlFlowGraphBuilder.cs (4)
1623
Debug.Assert(rewrittenThrow.ChildOperations.
IsEmpty
());
1641
Debug.Assert(rewrittenThrow.ChildOperations.
IsEmpty
());
2930
Debug.Assert(rewrittenThrow.ChildOperations.
IsEmpty
());
3072
Debug.Assert(rewrittenThrow.ChildOperations.
IsEmpty
());
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 (8)
Binder\Binder.IdentifierUsedAsValueFinder.cs (2)
350
if (state.clauses.
IsEmpty
())
365
Debug.Assert(state.clauses.
IsEmpty
());
Binder\Binder_Query.cs (6)
109
Debug.Assert(state.clauses.
IsEmpty
());
175
if (!state.clauses.
IsEmpty
()) return false;
189
if (state.clauses.
IsEmpty
())
219
Debug.Assert(state.clauses.
IsEmpty
());
412
if (state.clauses.
IsEmpty
() && state.selectOrGroup.Kind() == SyntaxKind.SelectClause)
599
if (state.clauses.
IsEmpty
() && state.selectOrGroup.IsKind(SyntaxKind.SelectClause))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_Nullable.cs (1)
182
Assert.True(interfaceHandles.
IsEmpty
());
Semantics\PrimaryConstructorTests.cs (1)
11796
Assert.Equal(isStatic, comp.GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters().
IsEmpty
());
Microsoft.CodeAnalysis.Test.Utilities (2)
MarkedSource\MarkupTestFile.cs (2)
102
if ((matches[0].name == SpanStartString && matches[1].name == SpanEndString && !spanStartStack.
IsEmpty
()) ||
103
(matches[0].name == SpanStartString && matches[1].name == NamedSpanEndString && !namedSpanStartStack.
IsEmpty
()))