68 references to IsDeclaredOnType
ILLink.RoslynAnalyzer (68)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
660
returnValueType.Method.
IsDeclaredOnType
("System.Reflection.EventInfo") &&
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\Intrinsics.cs (67)
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,
30
"get_Assembly" when calledMethod.
IsDeclaredOnType
("System.Type") => IntrinsicId.Type_get_Assembly,
34
"GetMethodFromHandle" when calledMethod.
IsDeclaredOnType
("System.Reflection.MethodBase")
40
"get_MethodHandle" when calledMethod.
IsDeclaredOnType
("System.Reflection.MethodBase") => IntrinsicId.MethodBase_get_MethodHandle,
43
"MakeGenericType" when calledMethod.
IsDeclaredOnType
("System.Type") => IntrinsicId.Type_MakeGenericType,
46
"GetMethodInfo" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
51
"GetRuntimeEvent" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
57
"GetRuntimeField" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
63
"GetRuntimeMethod" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
69
"GetRuntimeProperty" when calledMethod.
IsDeclaredOnType
("System.Reflection.RuntimeReflectionExtensions")
75
"Call" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
81
"Field" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
88
"Property" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
94
"New" when calledMethod.
IsDeclaredOnType
("System.Linq.Expressions.Expression")
100
"GetValues" when calledMethod.
IsDeclaredOnType
("System.Enum")
106
"SizeOf" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
112
"OffsetOf" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
118
"PtrToStructure" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
124
"DestroyStructure" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
130
"GetDelegateForFunctionPointer" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.Marshal")
141
"GetType" when calledMethod.
IsDeclaredOnType
("System.Type")
149
"GetConstructor" when calledMethod.
IsDeclaredOnType
("System.Type")
154
"GetConstructors" when calledMethod.
IsDeclaredOnType
("System.Type")
171
"GetMethod" when calledMethod.
IsDeclaredOnType
("System.Type")
177
"GetMethods" when calledMethod.
IsDeclaredOnType
("System.Type")
185
"GetField" when calledMethod.
IsDeclaredOnType
("System.Type")
191
"GetFields" when calledMethod.
IsDeclaredOnType
("System.Type")
199
"GetEvent" when calledMethod.
IsDeclaredOnType
("System.Type")
205
"GetEvents" when calledMethod.
IsDeclaredOnType
("System.Type")
213
"GetNestedType" when calledMethod.
IsDeclaredOnType
("System.Type")
219
"GetNestedTypes" when calledMethod.
IsDeclaredOnType
("System.Type")
228
"GetMember" when calledMethod.
IsDeclaredOnType
("System.Type")
237
"GetMembers" when calledMethod.
IsDeclaredOnType
("System.Type")
245
"GetInterface" when calledMethod.
IsDeclaredOnType
("System.Type")
252
"GetInterfaces" when calledMethod.
IsDeclaredOnType
("System.Type")
258
"get_AssemblyQualifiedName" when calledMethod.
IsDeclaredOnType
("System.Type")
264
"get_UnderlyingSystemType" when calledMethod.
IsDeclaredOnType
("System.Type")
270
"get_BaseType" when calledMethod.
IsDeclaredOnType
("System.Type")
282
"GetProperty" when calledMethod.
IsDeclaredOnType
("System.Type")
288
"GetProperties" when calledMethod.
IsDeclaredOnType
("System.Type")
295
"GetType" when calledMethod.
IsDeclaredOnType
("System.Object")
298
".ctor" when calledMethod.
IsDeclaredOnType
("System.Reflection.TypeDelegator")
302
"Empty" when calledMethod.
IsDeclaredOnType
("System.Array")
306
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Array")
317
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Activator")
325
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Activator")
334
"CreateInstanceFrom" when calledMethod.
IsDeclaredOnType
("System.Activator")
343
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
351
"CreateInstanceAndUnwrap" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
359
"CreateInstanceFrom" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
367
"CreateInstanceFromAndUnwrap" when calledMethod.
IsDeclaredOnType
("System.AppDomain")
375
"CreateInstance" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
382
"GetType" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
387
"get_Location" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
391
"GetFile" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
397
"GetFiles" when calledMethod.
IsDeclaredOnType
("System.Reflection.Assembly")
402
"get_CodeBase" when calledMethod.
IsDeclaredOnType
("System.Reflection.AssemblyName")
406
"get_EscapedCodeBase" when calledMethod.
IsDeclaredOnType
("System.Reflection.AssemblyName")
410
"RunClassConstructor" when calledMethod.
IsDeclaredOnType
("System.Runtime.CompilerServices.RuntimeHelpers")
415
"MakeGenericMethod" when calledMethod.
IsDeclaredOnType
("System.Reflection.MethodInfo")
421
"GetUnderlyingType" when calledMethod.
IsDeclaredOnType
("System.Nullable")
427
"get_Method" when calledMethod.
IsDeclaredOnType
("System.Delegate")
433
"GetOrCreateExternalTypeMapping" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.TypeMapping")
439
"GetOrCreateProxyTypeMapping" when calledMethod.
IsDeclaredOnType
("System.Runtime.InteropServices.TypeMapping")