8 references to AddMethod
System.Private.CoreLib (8)
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.cs (1)
46map.AddMethod(declaringType, ConstructorInfo.ConstructorName, parameterTypes, action);
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.Nullable.cs (7)
29map.AddMethod(type, nameof(Nullable<int>.ToString), Array.Empty<Type>(), 36map.AddMethod(type, nameof(Nullable<int>.Equals), new Type[] { typeof(object) }, 48map.AddMethod(type, nameof(Nullable<int>.GetHashCode), Array.Empty<Type>(), 62map.AddMethod(type, "get_" + nameof(Nullable<int>.HasValue), Array.Empty<Type>(), 69map.AddMethod(type, "get_" + nameof(Nullable<int>.Value), Array.Empty<Type>(), 78map.AddMethod(type, nameof(Nullable<int>.GetValueOrDefault), Array.Empty<Type>(), NullableGetValueOrDefault); 91map.AddMethod(type, nameof(Nullable<int>.GetValueOrDefault), new Type[] { theT },