1 write to Definition
illink (1)
Linker.Dataflow\MethodProxy.cs (1)
28
Definition
= methodDef;
18 references to Definition
illink (18)
Linker.Dataflow\HandleCallAction.cs (5)
58
if (ReflectionMethodBodyScanner.IsPInvokeDangerous (calledMethod.
Definition
, _context, out bool comDangerousMethod)) {
62
if (_context.Annotations.DoesMethodRequireUnreferencedCode (calledMethod.
Definition
, out RequiresUnreferencedCodeAttribute? requiresUnreferencedCode))
201
if (!method.
Definition
.IsConstructor)
203
TypeDefinition? type = method.
Definition
.DeclaringType;
288
if (method.
Definition
.TryGetProperty (out PropertyDefinition? propertyDefinition)) {
Linker.Dataflow\MethodProxy.cs (7)
43
internal partial bool HasMetadataParameters () =>
Definition
.HasMetadataParameters ();
48
internal partial int GetMetadataParametersCount () =>
Definition
.GetMetadataParametersCount ();
54
internal partial int GetParametersCount () =>
Definition
.GetParametersCount ();
61
return new ParameterProxyEnumerable (0,
Definition
.GetParametersCount (), this);
64
internal partial ParameterProxy GetParameter (ParameterIndex index) =>
Definition
.GetParameter (index);
83
internal partial bool IsConstructor () =>
Definition
.IsConstructor;
85
internal partial bool IsStatic () =>
Definition
.IsStatic;
Linker.Dataflow\MethodReturnValue.cs (2)
24
Debug.Assert (!isNewObj || method.
Definition
.IsConstructor, "isNewObj can only be true for constructors");
27
return new MethodReturnValue (staticType, method.
Definition
, dynamicallyAccessedMemberTypes, resolver);
Linker.Dataflow\ParameterProxy.cs (3)
41
: !string.IsNullOrEmpty (Method.
Definition
.Parameters[MetadataIndex].Name) ? Method.
Definition
.Parameters[MetadataIndex].Name
48
return Method.
Definition
;
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
175
var calledMethodDefinition = calledMethodProxy.Value.
Definition
;