5 references to IsContainedInNamespace
Microsoft.CodeAnalysis.CSharp (5)
Symbols\TypeSymbolExtensions.cs (5)
2137typeSymbol.IsContainedInNamespace(nameof(System), nameof(System.Threading));
2147return IsContainedInNamespace(typeSymbol, "System", "Runtime", "InteropServices");
2161=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Runtime", "CompilerServices");
2170IsContainedInNamespace(type, "System", "Numerics");
2174=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Diagnostics", "CodeAnalysis");