1 write to Method
illink (1)
Linker.Dataflow\MethodProxy.cs (1)
27
Method
= method;
27 references to Method
illink (27)
Linker.Dataflow\FlowAnnotations.cs (4)
50
if (_context.TryResolve (param.Method.
Method
) is not MethodDefinition methodDef)
710
=> RequiresDataFlowAnalysis (method.
Method
);
718
=> GetMethodReturnValue (method, isNewObj, GetReturnParameterAnnotation (method.
Method
));
741
return new MethodParameterValue (method.
Method
.DeclaringType, new ParameterProxy (method, (ParameterIndex) 0), dynamicallyAccessedMemberTypes, _context);
Linker.Dataflow\HandleCallAction.cs (2)
76
AddReturnValue (ArrayValue.Create (0, ((GenericInstanceMethod) calledMethod.
Method
).GenericArguments[0]));
281
=> _reflectionMarker.MarkMethod (_diagnosticContext.Origin, method.
Method
);
Linker.Dataflow\MethodProxy.cs (14)
37
public string Name { get =>
Method
.Name; }
39
public string GetDisplayName () =>
Method
.GetDisplayName ();
41
internal partial bool IsDeclaredOnType (string fullTypeName) =>
Method
.IsDeclaredOnType (fullTypeName);
66
internal partial bool HasGenericParameters () =>
Method
.HasGenericParameters;
68
internal partial bool HasGenericParametersCount (int genericParameterCount) =>
Method
.GenericParameters.Count == genericParameterCount;
72
if (!
Method
.HasGenericParameters)
75
var builder = ImmutableArray.CreateBuilder<GenericParameterProxy> (
Method
.GenericParameters.Count);
76
foreach (var genericParameter in
Method
.GenericParameters) {
87
internal partial bool HasImplicitThis () =>
Method
.HasImplicitThis ();
89
internal partial bool ReturnsVoid () =>
Method
.ReturnsVoid ();
91
public override string ToString () =>
Method
.ToString ();
93
public bool Equals (MethodProxy other) =>
Method
.Equals (other.
Method
);
97
public override int GetHashCode () =>
Method
.GetHashCode ();
Linker.Dataflow\MethodReturnValue.cs (1)
25
var methodRef = method.
Method
;
Linker.Dataflow\ParameterProxy.cs (5)
14
return Method.
Method
.DeclaringType.IsValueType ? ReferenceKind.Ref : ReferenceKind.None;
16
var param = Method.
Method
.Parameters[MetadataIndex];
30
return Method.
Method
.DeclaringType;
32
var method = Method.
Method
;
50
return Method.
Method
.Parameters[MetadataIndex];
src\tools\illink\src\ILLink.Shared\TrimAnalysis\MethodParameterValue.cs (1)
24
=> this.ValueToString (Parameter.Method.
Method
, Parameter.Index, DynamicallyAccessedMemberTypes);