1 write to Base
illink (1)
Linker\OverrideInformation.cs (1)
21
Base
= @base;
29 references to Base
illink (29)
Linker.Dataflow\FlowAnnotations.cs (3)
489
var baseMethod = ov.
Base
;
543
ov.
Base
.GetParameter ((ParameterIndex) parameterIndex).GetCustomAttributeProvider ()!,
554
ov.
Base
.GenericParameters[genericParameterIndex],
Linker.Steps\MarkStep.cs (24)
539
if (ov.
Base
.DeclaringType is not null && ov.
Base
.DeclaringType.IsInterface && IgnoreScope (ov.
Base
.DeclaringType.Scope)) {
540
MarkMethodAsVirtual (ov.
Base
, origin);
639
MarkMethod (dimInfo.Override, new DependencyInfo (DependencyKind.Override, dimInfo.
Base
), origin);
647
MarkMethod (ov.Override, new DependencyInfo (DependencyKind.Override, ov.
Base
), origin);
660
Debug.Assert (Annotations.IsMarked (overrideInformation.
Base
) || IgnoreScope (overrideInformation.
Base
.DeclaringType.Scope));
677
if (overrideInformation.
Base
.IsAbstract)
694
Debug.Assert (!Context.IsOptimizationEnabled (CodeOptimizations.OverrideRemoval, overrideInformation.Override) || overrideInformation.
Base
.IsAbstract);
695
MarkMethod (overrideInformation.Override, new DependencyInfo (DependencyKind.Override, overrideInformation.
Base
), origin);
707
var markedBaseMethods = bases.Where (ov => Annotations.IsMarked (ov.
Base
) || IgnoreScope (ov.
Base
.DeclaringType.Scope));
2406
if (ov.
Base
.DeclaringType.IsInterface)
2409
if (!IgnoreScope (ov.
Base
.DeclaringType.Scope) && !IsMethodNeededByTypeDueToPreservedScope (ov.
Base
))
2416
if (!ov.
Base
.IsAbstract)
2430
var @base = overrideInformation.
Base
;
3139
foreach (var @override in overrides.Where (ov => Annotations.IsMarked (ov.
Base
) || IgnoreScope (ov.
Base
.DeclaringType.Scope))) {
3336
if (ov.
Base
.DeclaringType.IsInterface && !method.DeclaringType.IsInterface) {
3338
MarkMethodAsVirtual (ov.
Base
, origin);
3342
MarkMethod (ov.
Base
, new DependencyInfo (DependencyKind.BaseMethod, method), origin);
3343
MarkBaseMethods (ov.
Base
, origin);
Linker.Steps\SealerStep.cs (1)
144
if (Annotations.IsMarked (m.
Base
))
Linker.Steps\ValidateVirtualMethodAnnotationsStep.cs (1)
43
var baseMethod = ov.
Base
;