6 references to IsContainedInNamespace
Microsoft.CodeAnalysis.CSharp (6)
Symbols\TypeSymbolExtensions.cs (6)
2138typeSymbol.IsContainedInNamespace(nameof(System), nameof(System.Threading));
2149&& typeSymbol.IsContainedInNamespace("Microsoft", "CodeAnalysis");
2159return IsContainedInNamespace(typeSymbol, "System", "Runtime", "InteropServices");
2173=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Runtime", "CompilerServices");
2182IsContainedInNamespace(type, "System", "Numerics");
2186=> typeSymbol.ContainingType is null && IsContainedInNamespace(typeSymbol, "System", "Diagnostics", "CodeAnalysis");