4 references to VarianceSafety
Microsoft.CodeAnalysis.CSharp (4)
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)
442
VarianceSafety
.GetEnclosingVariantInterface(_topLevelMethod) is object)
458
VarianceSafety
.GetEnclosingVariantInterface(_topLevelMethod) is null);