62 references to IsDeclaredOnType
ILLink.RoslynAnalyzer (62)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\Intrinsics.cs (62)
17 "GetTypeInfo" when calledMethod.IsDeclaredOnType ("System.Reflection.IntrospectionExtensions") => IntrinsicId.IntrospectionExtensions_GetTypeInfo, 20 "AsType" when calledMethod.IsDeclaredOnType ("System.Reflection.TypeInfo") => IntrinsicId.TypeInfo_AsType, 23 "GetTypeFromHandle" when calledMethod.IsDeclaredOnType ("System.Type") => IntrinsicId.Type_GetTypeFromHandle, 26 "get_TypeHandle" when calledMethod.IsDeclaredOnType ("System.Type") => IntrinsicId.Type_get_TypeHandle, 30 "GetMethodFromHandle" when calledMethod.IsDeclaredOnType ("System.Reflection.MethodBase") 36 "get_MethodHandle" when calledMethod.IsDeclaredOnType ("System.Reflection.MethodBase") => IntrinsicId.MethodBase_get_MethodHandle, 39 "MakeGenericType" when calledMethod.IsDeclaredOnType ("System.Type") => IntrinsicId.Type_MakeGenericType, 42 "GetMethodInfo" when calledMethod.IsDeclaredOnType ("System.Reflection.RuntimeReflectionExtensions") 47 "GetRuntimeEvent" when calledMethod.IsDeclaredOnType ("System.Reflection.RuntimeReflectionExtensions") 53 "GetRuntimeField" when calledMethod.IsDeclaredOnType ("System.Reflection.RuntimeReflectionExtensions") 59 "GetRuntimeMethod" when calledMethod.IsDeclaredOnType ("System.Reflection.RuntimeReflectionExtensions") 65 "GetRuntimeProperty" when calledMethod.IsDeclaredOnType ("System.Reflection.RuntimeReflectionExtensions") 71 "Call" when calledMethod.IsDeclaredOnType ("System.Linq.Expressions.Expression") 77 "Field" when calledMethod.IsDeclaredOnType ("System.Linq.Expressions.Expression") 84 "Property" when calledMethod.IsDeclaredOnType ("System.Linq.Expressions.Expression") 90 "New" when calledMethod.IsDeclaredOnType ("System.Linq.Expressions.Expression") 96 "GetValues" when calledMethod.IsDeclaredOnType ("System.Enum") 102 "SizeOf" when calledMethod.IsDeclaredOnType ("System.Runtime.InteropServices.Marshal") 108 "OffsetOf" when calledMethod.IsDeclaredOnType ("System.Runtime.InteropServices.Marshal") 114 "PtrToStructure" when calledMethod.IsDeclaredOnType ("System.Runtime.InteropServices.Marshal") 120 "DestroyStructure" when calledMethod.IsDeclaredOnType ("System.Runtime.InteropServices.Marshal") 126 "GetDelegateForFunctionPointer" when calledMethod.IsDeclaredOnType ("System.Runtime.InteropServices.Marshal") 137 "GetType" when calledMethod.IsDeclaredOnType ("System.Type") 145 "GetConstructor" when calledMethod.IsDeclaredOnType ("System.Type") 150 "GetConstructors" when calledMethod.IsDeclaredOnType ("System.Type") 167 "GetMethod" when calledMethod.IsDeclaredOnType ("System.Type") 173 "GetMethods" when calledMethod.IsDeclaredOnType ("System.Type") 181 "GetField" when calledMethod.IsDeclaredOnType ("System.Type") 187 "GetFields" when calledMethod.IsDeclaredOnType ("System.Type") 195 "GetEvent" when calledMethod.IsDeclaredOnType ("System.Type") 201 "GetEvents" when calledMethod.IsDeclaredOnType ("System.Type") 209 "GetNestedType" when calledMethod.IsDeclaredOnType ("System.Type") 215 "GetNestedTypes" when calledMethod.IsDeclaredOnType ("System.Type") 224 "GetMember" when calledMethod.IsDeclaredOnType ("System.Type") 233 "GetMembers" when calledMethod.IsDeclaredOnType ("System.Type") 241 "GetInterface" when calledMethod.IsDeclaredOnType ("System.Type") 249 "get_AssemblyQualifiedName" when calledMethod.IsDeclaredOnType ("System.Type") 255 "get_UnderlyingSystemType" when calledMethod.IsDeclaredOnType ("System.Type") 261 "get_BaseType" when calledMethod.IsDeclaredOnType ("System.Type") 273 "GetProperty" when calledMethod.IsDeclaredOnType ("System.Type") 279 "GetProperties" when calledMethod.IsDeclaredOnType ("System.Type") 286 "GetType" when calledMethod.IsDeclaredOnType ("System.Object") 289 ".ctor" when calledMethod.IsDeclaredOnType ("System.Reflection.TypeDelegator") 293 "Empty" when calledMethod.IsDeclaredOnType ("System.Array") 297 "CreateInstance" when calledMethod.IsDeclaredOnType ("System.Array") 308 "CreateInstance" when calledMethod.IsDeclaredOnType ("System.Activator") 316 "CreateInstance" when calledMethod.IsDeclaredOnType ("System.Activator") 325 "CreateInstanceFrom" when calledMethod.IsDeclaredOnType ("System.Activator") 334 "CreateInstance" when calledMethod.IsDeclaredOnType ("System.AppDomain") 342 "CreateInstanceAndUnwrap" when calledMethod.IsDeclaredOnType ("System.AppDomain") 350 "CreateInstanceFrom" when calledMethod.IsDeclaredOnType ("System.AppDomain") 358 "CreateInstanceFromAndUnwrap" when calledMethod.IsDeclaredOnType ("System.AppDomain") 366 "CreateInstance" when calledMethod.IsDeclaredOnType ("System.Reflection.Assembly") 371 "get_Location" when calledMethod.IsDeclaredOnType ("System.Reflection.Assembly") 375 "GetFile" when calledMethod.IsDeclaredOnType ("System.Reflection.Assembly") 381 "GetFiles" when calledMethod.IsDeclaredOnType ("System.Reflection.Assembly") 386 "get_CodeBase" when calledMethod.IsDeclaredOnType ("System.Reflection.AssemblyName") 390 "get_EscapedCodeBase" when calledMethod.IsDeclaredOnType ("System.Reflection.AssemblyName") 394 "RunClassConstructor" when calledMethod.IsDeclaredOnType ("System.Runtime.CompilerServices.RuntimeHelpers") 399 "MakeGenericMethod" when calledMethod.IsDeclaredOnType ("System.Reflection.MethodInfo") 405 "GetUnderlyingType" when calledMethod.IsDeclaredOnType ("System.Nullable") 411 "get_Method" when calledMethod.IsDeclaredOnType ("System.Delegate")