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)
671
var result = references.
AsImmutableOrEmpty
();
MetadataReference\MetadataReferenceProperties.cs (1)
89
return WithAliases(aliases.
AsImmutableOrEmpty
());
src\Compilers\Core\AnalyzerDriver\DeclarationComputer.cs (1)
23
var codeBlocks = executableCodeBlocks?.Where(c => c != null).
AsImmutableOrEmpty
() ?? ImmutableArray<SyntaxNode>.Empty;