2 references to ToImmutableArrayOrEmpty
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
140if (operationBlock.Syntax.GetDiagnostics().ToImmutableArrayOrEmpty().HasAnyErrors())
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
94public ImmutableArray<T> AsImmutable() => _elements.ToImmutableArrayOrEmpty();