1 write to _context
illink (1)
Linker.Dataflow\DynamicallyAccessedMembersTypeHierarchy.cs (1)
44
_context
= context;
11 references to _context
illink (11)
Linker.Dataflow\DynamicallyAccessedMembersTypeHierarchy.cs (11)
47
_reflectionMarker = new ReflectionMarker (
_context
, _markStep, enabled: true);
56
DynamicallyAccessedMemberTypes annotation =
_context
.Annotations.FlowAnnotations.GetTypeAnnotation (type);
62
TypeDefinition? baseType =
_context
.TryResolve (type.BaseType);
76
var interfaceType =
_context
.TryResolve (iface.InterfaceType);
88
bool applyOptimizeTypeHierarchyAnnotations = (annotation != DynamicallyAccessedMemberTypes.None) && !
_context
.IsOptimizationEnabled (CodeOptimizations.OptimizeTypeHierarchyAnnotations, type);
93
apply |= applyOptimizeTypeHierarchyAnnotations && (
_context
.DisableEventSourceSpecialHandling || !BCL.EventTracingForWindows.IsEventSourceImplementation (type,
_context
));
179
TypeDefinition? baseType =
_context
.TryResolve (type.BaseType);
185
var interfaceType =
_context
.TryResolve (iface.InterfaceType);
212
var baseType =
_context
.TryResolve (type.BaseType);
230
var interfaceType =
_context
.TryResolve (iface.InterfaceType);