5 references to AsImmutableOrNull
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1160
=> GetEffectiveDiagnostics(diagnostics.
AsImmutableOrNull
(), compilation);
MetadataReference\AssemblyMetadata.cs (1)
233
return Create(modules.
AsImmutableOrNull
());
SourceFileResolver.cs (1)
28
: this(searchPaths.
AsImmutableOrNull
(), baseDirectory)
Microsoft.CodeAnalysis.CSharp (2)
CSharpParseOptions.cs (1)
112
return WithPreprocessorSymbols(preprocessorSymbols.
AsImmutableOrNull
());
Symbols\NamedTypeSymbol.cs (1)
1442
return ConstructWithoutModifiers(typeArguments.
AsImmutableOrNull
(), false);