2 references to ShouldMarkTypeStaticConstructor
illink (2)
Linker.Steps\MarkStep.cs (2)
1922
if (type.HasMethods &&
ShouldMarkTypeStaticConstructor
(type) && reason.Kind == DependencyKind.DeclaringTypeOfCalledMethod)
2027
if (
ShouldMarkTypeStaticConstructor
(type) && reason.Kind != DependencyKind.TriggersCctorForCalledMethod) {