6 references to IsContainedInNamespace
Microsoft.CodeAnalysis.CSharp (6)
Symbols\TypeSymbolExtensions.cs (6)
2137typeSymbol.IsContainedInNamespace(nameof(System), nameof(System.Threading));
2148&& typeSymbol.IsContainedInNamespace("Microsoft", "CodeAnalysis");
2158return IsContainedInNamespace(typeSymbol, "System", "Runtime", "InteropServices");
2172=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Runtime", "CompilerServices");
2181IsContainedInNamespace(type, "System", "Numerics");
2185=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Diagnostics", "CodeAnalysis");