7 references to RuntimeSupportsCovariantReturnsOfClasses
Microsoft.CodeAnalysis.CSharp (7)
Symbols\AssemblySymbol.cs (1)
419
return this.
RuntimeSupportsCovariantReturnsOfClasses
;
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
948
if (method.ContainingAssembly.
RuntimeSupportsCovariantReturnsOfClasses
)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (4)
854
if (!this.ContainingAssembly.
RuntimeSupportsCovariantReturnsOfClasses
&& overridingMember is MethodSymbol overridingMethod)
1000
if (!overridingMethod.ContainingAssembly.
RuntimeSupportsCovariantReturnsOfClasses
)
1070
if (!overridingProperty.ContainingAssembly.
RuntimeSupportsCovariantReturnsOfClasses
)
1200
if (overridingSymbol.ContainingAssembly.
RuntimeSupportsCovariantReturnsOfClasses
&&
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
98
return (ReturnType: !ContainingAssembly.
RuntimeSupportsCovariantReturnsOfClasses
&& VirtualCloneInBase(ContainingType) is { } baseClone ?