2 writes to Method
ILLink.RoslynAnalyzer (2)
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterProxy.cs (1)
18
Method
= method;
TrimAnalysis\ParameterProxy.cs (1)
14
Method
= new(method);
13 references to Method
ILLink.RoslynAnalyzer (13)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\MethodParameterValue.cs (1)
24
=> this.ValueToString(Parameter.
Method
.Method, Parameter.Index, DynamicallyAccessedMemberTypes);
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterProxy.cs (4)
35
if (
Method
.HasImplicitThis())
49
public bool IsImplicitThis =>
Method
.HasImplicitThis() && Index == (ParameterIndex)0;
55
new string[] {
Method
.GetDisplayName() }
57
: new string[] { GetDisplayName(),
Method
.GetDisplayName() };
TrimAnalysis\FlowAnnotations.cs (3)
163
if (!param.
Method
.Method.ContainingType.IsTypeInterestingForDataflow(isByRef: false))
165
return param.
Method
.Method.GetDynamicallyAccessedMemberTypes();
175
IMethodSymbol parameterMethod = param.
Method
.Method;
TrimAnalysis\MethodParameterValue.cs (1)
24
public IMethodSymbol MethodSymbol => Parameter.
Method
.Method;
TrimAnalysis\ParameterProxy.cs (4)
16
(
Method
.HasImplicitThis() ? 1 : 0) +
23
return
Method
.Method.ContainingType.IsValueType
51
var method =
Method
.Method;
71
public TypeProxy ParameterType => new TypeProxy(ParameterSymbol?.Type ??
Method
.Method.ContainingType);