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)
252
if (
_context
.CompilerGeneratedState.TryGetCompilerGeneratedCalleesForUserMethod (startingMethod, out List<IMemberDefinition>? compilerGeneratedCallees)) {
267
if (
_context
.TryResolve (referencedMethod) is not MethodDefinition method)
794
var nullableDam = new RuntimeTypeHandleForNullableValueWithDynamicallyAccessedMembers (new TypeProxy (resolvedDefinition,
_context
),
799
var nullableType = new RuntimeTypeHandleForNullableSystemTypeValue (new TypeProxy (resolvedDefinition,
_context
), new SystemTypeValue (new (underlyingType,
_context
)));
807
var typeHandle = new RuntimeTypeHandleValue (new TypeProxy (resolvedDefinition,
_context
));
811
case MethodReference methodReference when
_context
.TryResolve (methodReference) is MethodDefinition resolvedMethod:
884
if (valueWithStaticType.StaticType is not null &&
_context
.Annotations.FlowAnnotations.IsTypeInterestingForDataflow (valueWithStaticType.StaticType.Value.Type))
955
FieldDefinition? field =
_context
.TryResolve ((FieldReference) operation.Operand);
1060
if (MethodProxy.TryCreate (calledMethod,
_context
, out MethodProxy? calledMethodProxy)) {
1065
var newByRefValue =
_context
.Annotations.FlowAnnotations.GetMethodParameterValue (parameter);
1117
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));
123
var calledMethodDefinition =
_context
.TryResolve (calledMethod);
148
var diagnosticContext = new DiagnosticContext (_origin, diagnosticsEnabled: false,
_context
);
156
_context
,