1 write to _context
illink (1)
Linker.Dataflow\ReflectionMarker.cs (1)
22
_context
= context;
15 references to _context
illink (15)
Linker.Dataflow\ReflectionMarker.cs (15)
32
if (type.ResolveToTypeDefinition (
_context
) is not TypeDefinition typeDefinition)
35
foreach (var member in typeDefinition.GetDynamicallyAccessedMembers (
_context
, requiredMemberTypes, declaredOnly)) {
63
if (!
_context
.TypeNameResolver.TryResolveTypeName (typeName, diagnosticContext, out type, out var typeResolutionRecords, needsAssemblyName)) {
75
if (!
_context
.TypeNameResolver.TryResolveTypeName (assembly, typeName, out type, out var typeResolutionRecords)) {
98
_context
.MarkingHelpers.MarkMatchingExportedType (typeResolutionRecord.ResolvedType, typeResolutionRecord.ReferringAssembly, new DependencyInfo (DependencyKind.DynamicallyAccessedMember, typeReference), origin);
108
if (typeRef.ResolveToTypeDefinition (
_context
) is not TypeDefinition type)
119
if (
_context
.TryResolve (methodRef) is not MethodDefinition method)
162
if (typeRef.ResolveToTypeDefinition (
_context
) is not TypeDefinition type)
174
if (typeRef.ResolveToTypeDefinition (
_context
) is not TypeDefinition type)
177
foreach (var field in type.GetFieldsOnTypeHierarchy (
_context
, filter, bindingFlags))
186
if (typeRef.ResolveToTypeDefinition (
_context
) is not TypeDefinition type)
189
foreach (var property in type.GetPropertiesOnTypeHierarchy (
_context
, filter, bindingFlags))
198
if (typeRef.ResolveToTypeDefinition (
_context
) is not TypeDefinition type)
201
foreach (var @event in type.GetEventsOnTypeHierarchy (
_context
, filter, bindingFlags))
210
if (typeRef.ResolveToTypeDefinition (
_context
) is not TypeDefinition type)