5 references to GetEnclosingVariantInterface
Microsoft.CodeAnalysis.CSharp (5)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
248else if (VarianceSafety.GetEnclosingVariantInterface(_topLevelMethod) is null) 307bool isStruct = VarianceSafety.GetEnclosingVariantInterface(_topLevelMethod) is null;
Lowering\ClosureConversion\ClosureConversion.cs (2)
436VarianceSafety.GetEnclosingVariantInterface(_topLevelMethod) is object) 452VarianceSafety.GetEnclosingVariantInterface(_topLevelMethod) is null);
Symbols\VarianceSafety.cs (1)
86NamedTypeSymbol container = GetEnclosingVariantInterface(member);