1 write to _context
illink (1)
Linker.Dataflow\MethodBodyScanner.cs (1)
53
this.
_context
= context;
17 references to _context
illink (17)
Linker.Dataflow\MethodBodyScanner.cs (12)
274
if (
_context
.CompilerGeneratedState.TryGetCompilerGeneratedCalleesForUserMethod(startingMethod, out List<IMemberDefinition>? compilerGeneratedCallees))
292
if (
_context
.TryResolve(referencedMethod) is not MethodDefinition method)
847
var nullableDam = new RuntimeTypeHandleForNullableValueWithDynamicallyAccessedMembers(new TypeProxy(resolvedDefinition,
_context
),
852
var nullableType = new RuntimeTypeHandleForNullableSystemTypeValue(new TypeProxy(resolvedDefinition,
_context
), new SystemTypeValue(new(underlyingType,
_context
)));
862
var typeHandle = new RuntimeTypeHandleValue(new TypeProxy(resolvedDefinition,
_context
));
866
case MethodReference methodReference when
_context
.TryResolve(methodReference) is MethodDefinition resolvedMethod:
942
if (valueWithStaticType.StaticType is not null &&
_context
.Annotations.FlowAnnotations.IsTypeInterestingForDataflow(valueWithStaticType.StaticType.Value.Type))
1019
FieldDefinition? field =
_context
.TryResolve((FieldReference)operation.Operand);
1131
if (MethodProxy.TryCreate(calledMethod,
_context
, out MethodProxy? calledMethodProxy))
1138
var newByRefValue =
_context
.Annotations.FlowAnnotations.GetMethodParameterValue(parameter);
1200
public TypeDefinition? ResolveToTypeDefinition(TypeReference typeReference) => typeReference.ResolveToTypeDefinition(
_context
);
Linker.Dataflow\ReflectionMethodBodyScanner.cs (5)
67
var reflectionMarker = new ReflectionMarker(
_context
, _markStep, enabled: true);
89
=> GetMethodParameterValue(parameter,
_context
.Annotations.FlowAnnotations.GetParameterAnnotation(parameter));
125
var calledMethodDefinition =
_context
.TryResolve(calledMethod);
154
var diagnosticContext = new DiagnosticContext(_origin, diagnosticsEnabled: false,
_context
);
162
_context
,