5 references to AsImmutableOrEmpty
Microsoft.CodeAnalysis (5)
CodeGen\LocalScopeManager.cs (2)
462_localConstants.AsImmutableOrEmpty<Cci.ILocalDefinition>(), 463_localVariables.AsImmutableOrEmpty<Cci.ILocalDefinition>());
Compilation\Compilation.cs (1)
671var result = references.AsImmutableOrEmpty();
MetadataReference\MetadataReferenceProperties.cs (1)
89return WithAliases(aliases.AsImmutableOrEmpty());
src\Compilers\Core\AnalyzerDriver\DeclarationComputer.cs (1)
23var codeBlocks = executableCodeBlocks?.Where(c => c != null).AsImmutableOrEmpty() ?? ImmutableArray<SyntaxNode>.Empty;