66 references to IsDeclaredOnType
ILLink.RoslynAnalyzer (66)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
638
returnValueType.Method.
IsDeclaredOnType
("System.Reflection.EventInfo") &&
src\tools\illink\src\ILLink.Shared\TrimAnalysis\Intrinsics.cs (65)
18
"GetTypeInfo" when calledMethod.
IsDeclaredOnType
("System.Reflection.IntrospectionExtensions") => IntrinsicId.IntrospectionExtensions_GetTypeInfo,
21
"AsType" when calledMethod.
IsDeclaredOnType
("System.Reflection.TypeInfo") => IntrinsicId.TypeInfo_AsType,
24
"GetTypeFromHandle" when calledMethod.
IsDeclaredOnType
("System.Type") => IntrinsicId.Type_GetTypeFromHandle,
27
"get_TypeHandle" when calledMethod.
IsDeclaredOnType
("System.Type") => IntrinsicId.Type_get_TypeHandle,
31
"GetMethodFromHandle" when calledMethod.
IsDeclaredOnType
("System.Reflection.MethodBase")
37
"get_MethodHandle" when calledMethod.
IsDeclaredOnType
("System.Reflection.MethodBase") => IntrinsicId.MethodBase_get_MethodHandle,
40
"MakeGenericType" when calledMethod.
IsDeclaredOnType
("System.Type") => IntrinsicId.Type_MakeGenericType,
43
"GetMethodInfo" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
48
"GetRuntimeEvent" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
54
"GetRuntimeField" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
60
"GetRuntimeMethod" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
66
"GetRuntimeProperty" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
72
"Call" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
78
"Field" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
85
"Property" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
91
"New" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
97
"GetValues" when calledMethod.
IsDeclaredOnType
("System.Enum")
103
"SizeOf" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
109
"OffsetOf" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
115
"PtrToStructure" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
121
"DestroyStructure" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
127
"GetDelegateForFunctionPointer" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
138
"GetType" when calledMethod.
IsDeclaredOnType
("System.Type")
146
"GetConstructor" when calledMethod.
IsDeclaredOnType
("System.Type")
151
"GetConstructors" when calledMethod.
IsDeclaredOnType
("System.Type")
168
"GetMethod" when calledMethod.
IsDeclaredOnType
("System.Type")
174
"GetMethods" when calledMethod.
IsDeclaredOnType
("System.Type")
182
"GetField" when calledMethod.
IsDeclaredOnType
("System.Type")
188
"GetFields" when calledMethod.
IsDeclaredOnType
("System.Type")
196
"GetEvent" when calledMethod.
IsDeclaredOnType
("System.Type")
202
"GetEvents" when calledMethod.
IsDeclaredOnType
("System.Type")
210
"GetNestedType" when calledMethod.
IsDeclaredOnType
("System.Type")
216
"GetNestedTypes" when calledMethod.
IsDeclaredOnType
("System.Type")
225
"GetMember" when calledMethod.
IsDeclaredOnType
("System.Type")
234
"GetMembers" when calledMethod.
IsDeclaredOnType
("System.Type")
242
"GetInterface" when calledMethod.
IsDeclaredOnType
("System.Type")
249
"GetInterfaces" when calledMethod.
IsDeclaredOnType
("System.Type")
255
"get_AssemblyQualifiedName" when calledMethod.
IsDeclaredOnType
("System.Type")
261
"get_UnderlyingSystemType" when calledMethod.
IsDeclaredOnType
("System.Type")
267
"get_BaseType" when calledMethod.
IsDeclaredOnType
("System.Type")
279
"GetProperty" when calledMethod.
IsDeclaredOnType
("System.Type")
285
"GetProperties" when calledMethod.
IsDeclaredOnType
("System.Type")
292
"GetType" when calledMethod.
IsDeclaredOnType
("System.Object")
295
".ctor" when calledMethod.
IsDeclaredOnType
("System.Reflection.TypeDelegator")
299
"Empty" when calledMethod.
IsDeclaredOnType
("System.Array")
303
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Array")
314
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Activator")
322
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Activator")
331
"CreateInstanceFrom" when calledMethod.
IsDeclaredOnType
("System.Activator")
340
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
348
"CreateInstanceAndUnwrap" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
356
"CreateInstanceFrom" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
364
"CreateInstanceFromAndUnwrap" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
372
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
377
"get_Location" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
381
"GetFile" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
387
"GetFiles" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
392
"get_CodeBase" when calledMethod.
IsDeclaredOnType
("System.Reflection.AssemblyName")
396
"get_EscapedCodeBase" when calledMethod.
IsDeclaredOnType
("System.Reflection.AssemblyName")
400
"RunClassConstructor" when calledMethod.
IsDeclaredOnType
("System.Runtime.CompilerServices.RuntimeHelpers")
405
"MakeGenericMethod" when calledMethod.
IsDeclaredOnType
("System.Reflection.MethodInfo")
411
"GetUnderlyingType" when calledMethod.
IsDeclaredOnType
("System.Nullable")
417
"get_Method" when calledMethod.
IsDeclaredOnType
("System.Delegate")
423
"GetOrCreateExternalTypeMapping" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.TypeMapping")
429
"GetOrCreateProxyTypeMapping" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.TypeMapping")