7 references to ToImmutableArrayOrEmpty
Microsoft.CodeAnalysis (7)
Diagnostic\Diagnostic_SimpleDiagnostic.cs (1)
76category, defaultSeverity, isEnabledByDefault, description, helpLink, customTags.ToImmutableArrayOrEmpty());
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1842var symbolEndActionsForAnalyzer = groupedActions.ToImmutableArrayOrEmpty();
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
104_suppressors = analyzers.OfType<DiagnosticSuppressor>().ToImmutableArrayOrEmpty();
InternalUtilities\SetWithInsertionOrder.cs (1)
94public ImmutableArray<T> AsImmutable() => _elements.ToImmutableArrayOrEmpty();
SourceGeneration\Nodes\GeneratorRunStateTable.cs (1)
68resultBuilder.Add(stepsByName.Key, stepsByName.Value.ToImmutableArrayOrEmpty());
SourceGeneration\UserFunction.cs (1)
77return (input, token) => userFunction.WrapUserFunction(catchAnalyzerExceptions)(input, token).ToImmutableArrayOrEmpty();
Text\SourceText.cs (1)
927return textChanges.ToImmutableArrayOrEmpty();