12 instantiations of new
ILLink.RoslynAnalyzer (12)
DynamicallyAccessedMembersAnalyzer.cs (2)
250 var overrideMethodThisAnnotation = FlowAnnotations.GetMethodParameterAnnotation (new ParameterProxy (new (overrideMethod), (ParameterIndex) 0)); 251 var baseMethodThisAnnotation = FlowAnnotations.GetMethodParameterAnnotation (new ParameterProxy (new (baseMethod), (ParameterIndex) 0));
IMethodSymbolExtensions.cs (3)
22 return new ParameterProxyEnumerable (0, method.GetParametersCount (), new (method)); 31 return new ParameterProxyEnumerable (implicitThisOffset, method.GetParametersCount (), new (method)); 53 return new ParameterProxy (new (method), index);
RequiresDynamicCodeAnalyzer.cs (1)
47 MethodProxy method = new (calledMethod);
RequiresUnreferencedCodeAnalyzer.cs (1)
88 if (member is IMethodSymbol method && Intrinsics.GetIntrinsicIdForMethod (new MethodProxy (method)) != IntrinsicId.None) {
TrimAnalysis\HandleCallAction.cs (1)
167 yield return new SystemReflectionMethodBaseValue (new MethodProxy (method));
TrimAnalysis\MethodParameterValue.cs (1)
15 : this (new (new (methodSymbol), parameterIndex), dynamicallyAccessedMemberTypes) { }
TrimAnalysis\ParameterProxy.cs (1)
14 Method = new ((IMethodSymbol) parameter.ContainingSymbol);
TrimAnalysis\TrimAnalysisVisitor.cs (2)
150 return new MethodParameterValue (method, (ParameterIndex) 0, FlowAnnotations.GetMethodParameterAnnotation (new ParameterProxy (new (method), (ParameterIndex) 0))); 329 MethodProxy method = new (calledMethod);
39 references to new
ILLink.RoslynAnalyzer (39)
RequiresDynamicCodeAnalyzer.cs (1)
47 MethodProxy method = new (calledMethod);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\FlowAnnotations.cs (5)
20 internal partial bool MethodRequiresDataFlowAnalysis (MethodProxy method); 22 internal partial MethodReturnValue GetMethodReturnValue (MethodProxy method, bool isNewObj, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes); 24 internal partial MethodReturnValue GetMethodReturnValue (MethodProxy method, bool isNewObj); 30 internal partial MethodParameterValue GetMethodThisParameterValue (MethodProxy method, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes); 32 internal partial MethodParameterValue GetMethodThisParameterValue (MethodProxy method);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (10)
31 public bool Invoke (MethodProxy calledMethod, MultiValue instanceValue, IReadOnlyList<MultiValue> argumentValues, IntrinsicId intrinsicId, out MultiValue methodReturnValue) 69 MethodProxy calledMethod, 76 MethodProxy calledMethod, 1341 MethodProxy genericMethod, 1343 MethodProxy reflectionMethod) 1367 private void ProcessCreateInstanceByName (MethodProxy calledMethod, IReadOnlyList<MultiValue> argumentValues) 1485 private partial bool MethodIsTypeConstructor (MethodProxy method); 1493 private partial bool TryResolveTypeNameForCreateInstanceAndMark (in MethodProxy calledMethod, string assemblyName, string typeName, out TypeProxy resolvedType); 1507 private partial void MarkMethod (MethodProxy method); 1511 private partial bool MarkAssociatedProperty (MethodProxy method);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\Intrinsics.cs (1)
13 public static IntrinsicId GetIntrinsicIdForMethod (MethodProxy calledMethod)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeMethodHandleValue.cs (2)
17 public RuntimeMethodHandleValue (in MethodProxy representedMethod) 22 public readonly MethodProxy RepresentedMethod;
src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemReflectionMethodBaseValue.cs (2)
17 public SystemReflectionMethodBaseValue (MethodProxy representedMethod) => RepresentedMethod = representedMethod; 19 public readonly MethodProxy RepresentedMethod;
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (4)
22 private readonly MethodProxy _method; 24 public ParameterProxyEnumerable (int start, int end, MethodProxy method) 42 private readonly MethodProxy _method; 44 public ParameterEnumerator (int start, int end, MethodProxy method)
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterProxy.cs (2)
14 public ParameterProxy (MethodProxy method, ParameterIndex index) 22 public MethodProxy Method { get; }
TrimAnalysis\FlowAnnotations.cs (6)
211 internal partial bool MethodRequiresDataFlowAnalysis (MethodProxy method) 214 internal partial MethodReturnValue GetMethodReturnValue (MethodProxy method, bool isNewObj, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes) 217 internal partial MethodReturnValue GetMethodReturnValue (MethodProxy method, bool isNewObj) 226 internal partial MethodParameterValue GetMethodThisParameterValue (MethodProxy method, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes) 233 internal partial MethodParameterValue GetMethodThisParameterValue (MethodProxy method) 242 internal MethodParameterValue GetMethodParameterValue (MethodProxy method, ParameterIndex parameterIndex, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes)
TrimAnalysis\HandleCallAction.cs (5)
48 MethodProxy calledMethod, 176 private partial bool MethodIsTypeConstructor (MethodProxy method) 200 private partial bool TryResolveTypeNameForCreateInstanceAndMark (in MethodProxy calledMethod, string assemblyName, string typeName, out TypeProxy resolvedType) 228 private partial void MarkMethod (MethodProxy method) 234 private partial bool MarkAssociatedProperty (MethodProxy method)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
329 MethodProxy method = new (calledMethod);