6 references to IsContainedInNamespace
Microsoft.CodeAnalysis.CSharp (6)
Symbols\TypeSymbolExtensions.cs (6)
2183typeSymbol.IsContainedInNamespace(nameof(System), nameof(System.Threading));
2194&& typeSymbol.IsContainedInNamespace("Microsoft", "CodeAnalysis");
2204return IsContainedInNamespace(typeSymbol, "System", "Runtime", "InteropServices");
2218=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Runtime", "CompilerServices");
2227IsContainedInNamespace(type, "System", "Numerics");
2231=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Diagnostics", "CodeAnalysis");