4 references to EnsureCSharpSymbolOrNull
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpCompilation.cs (1)
326container.EnsureCSharpSymbolOrNull(nameof(container)),
Compilation\CSharpSemanticModel.cs (3)
5274return LookupSymbols(position, container.EnsureCSharpSymbolOrNull(nameof(container)), name, includeReducedExtensionMethods); 5284return LookupStaticMembers(position, container.EnsureCSharpSymbolOrNull(nameof(container)), name); 5289return LookupNamespacesAndTypes(position, container.EnsureCSharpSymbolOrNull(nameof(container)), name);