6 references to IsContainedInNamespace
Microsoft.CodeAnalysis.CSharp (6)
Symbols\TypeSymbolExtensions.cs (6)
2221typeSymbol.IsContainedInNamespace(nameof(System), nameof(System.Threading));
2232&& typeSymbol.IsContainedInNamespace("Microsoft", "CodeAnalysis");
2242return IsContainedInNamespace(typeSymbol, "System", "Runtime", "InteropServices");
2256=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Runtime", "CompilerServices");
2265IsContainedInNamespace(type, "System", "Numerics");
2269=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Diagnostics", "CodeAnalysis");