5 references to AsImmutableOrNull
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1158
=> GetEffectiveDiagnostics(diagnostics.
AsImmutableOrNull
(), compilation);
MetadataReference\AssemblyMetadata.cs (1)
232
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)
1142
return ConstructWithoutModifiers(typeArguments.
AsImmutableOrNull
(), false);