7 references to IsEmpty
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
213Contract.ThrowIfTrue(additionalLocations.IsEmpty());
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Set.cs (3)
39return !other.IsEmpty(); 54return other.IsEmpty(); 64return other.IsEmpty();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (1)
226if (token.Width() <= 0 || operationTokens.IsEmpty())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\AlignTokensOperation.cs (1)
19Debug.Assert(!tokens.IsEmpty());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
195if (nodes == null || nodes.IsEmpty())