5 references to GetEnclosingVariantInterface
Microsoft.CodeAnalysis.CSharp (5)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
252
else if (VarianceSafety.
GetEnclosingVariantInterface
(_topLevelMethod) is null)
311
bool isStruct = VarianceSafety.
GetEnclosingVariantInterface
(_topLevelMethod) is null;
Lowering\ClosureConversion\ClosureConversion.cs (2)
447
VarianceSafety.
GetEnclosingVariantInterface
(_topLevelMethod) is object)
463
VarianceSafety.
GetEnclosingVariantInterface
(_topLevelMethod) is null);
Symbols\VarianceSafety.cs (1)
89
NamedTypeSymbol container =
GetEnclosingVariantInterface
(member);