19 references to CovariantReturnsOfClasses
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AssemblySymbol.cs (1)
418case RuntimeCapability.CovariantReturnsOfClasses:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Semantics\RecordTests.cs (7)
10723Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, comp.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 15852Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, comp.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 23662Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, comp.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 25715Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, c.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 26026Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, comp.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 30211Assert.False(compA.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 30241Assert.True(compB.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InheritanceBindingTests.cs (2)
4990Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, comp.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 5051Assert.Equal(RuntimeUtilities.IsCoreClrRuntime, compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\CompilationCreationTests.cs (4)
3010Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 3018Assert.True(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 3026Assert.True(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)); 3034Assert.True(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses));
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\AssemblySymbol.vb (1)
338Case RuntimeCapability.CovariantReturnsOfClasses
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (4)
SymbolsTests\CompilationCreationTests.vb (4)
2239Assert.False(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)) 2247Assert.True(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)) 2255Assert.True(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses)) 2263Assert.True(compilation.SupportsRuntimeCapability(RuntimeCapability.CovariantReturnsOfClasses))