1 write to Override
illink (1)
Linker\OverrideInformation.cs (1)
22
Override
= @override;
25 references to Override
illink (25)
Linker.Dataflow\FlowAnnotations.cs (5)
488
var method = ov.
Override
;
542
ov.
Override
.GetParameter ((ParameterIndex) parameterIndex).GetCustomAttributeProvider ()!,
553
ov.
Override
.GenericParameters[genericParameterIndex],
562
IMemberDefinition origin = (ov.IsOverrideOfInterfaceMember && ov.InterfaceImplementor.Implementor != ov.
Override
.DeclaringType)
564
: ov.
Override
;
Linker.Steps\MarkStep.cs (14)
639
MarkMethod (dimInfo.
Override
, new DependencyInfo (DependencyKind.Override, dimInfo.Base), origin);
647
MarkMethod (ov.
Override
, new DependencyInfo (DependencyKind.Override, ov.Base), origin);
661
if (!Annotations.IsMarked (overrideInformation.
Override
.DeclaringType))
666
if (!Context.IsOptimizationEnabled (CodeOptimizations.OverrideRemoval, overrideInformation.
Override
))
672
if (Annotations.IsInstantiated (overrideInformation.
Override
.DeclaringType))
690
if (Context.IsOptimizationEnabled (CodeOptimizations.OverrideRemoval, overrideInformation.
Override
) && Annotations.IsInstantiated (overrideInformation.
Override
.DeclaringType)) {
691
MarkMethod (overrideInformation.
Override
, new DependencyInfo (DependencyKind.OverrideOnInstantiatedType, overrideInformation.
Override
.DeclaringType), origin);
694
Debug.Assert (!Context.IsOptimizationEnabled (CodeOptimizations.OverrideRemoval, overrideInformation.
Override
) || overrideInformation.Base.IsAbstract);
695
MarkMethod (overrideInformation.
Override
, new DependencyInfo (DependencyKind.Override, overrideInformation.Base), origin);
748
if ((!ov.
Override
.IsStatic && !Annotations.IsInstantiated (ov.InterfaceImplementor.Implementor))
749
|| ov.
Override
.IsStatic && !Annotations.IsRelevantToVariantCasting (ov.InterfaceImplementor.Implementor))
2431
var method = overrideInformation.
Override
;
Linker.Steps\SealerStep.cs (1)
132
if (Annotations.IsMarked (m.
Override
))
Linker.Steps\ValidateVirtualMethodAnnotationsStep.cs (2)
30
if (annotations.VirtualMethodsWithAnnotationsToValidate.Contains (overrideInformation.
Override
))
42
var method = ov.
Override
;
Linker\Annotations.cs (3)
698
if (FlowAnnotations.RequiresVirtualMethodDataFlowAnalysis (@override.
Override
) || HasLinkerAttribute<RequiresUnreferencedCodeAttribute> (@override.
Override
))
699
VirtualMethodsWithAnnotationsToValidate.Add (@override.
Override
);