Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckMethod()

static bool System.Linq.Expressions.Expression< TDelegate >.CheckMethod ( MethodInfo method,
MethodInfo propertyMethod )
inlinestaticprivateinherited

Definition at line 3810 of file Expression.cs.

3811 {
3812 if (method.Equals(propertyMethod))
3813 {
3814 return true;
3815 }
3816 Type declaringType = method.DeclaringType;
3817 if (declaringType.IsInterface && method.Name == propertyMethod.Name && declaringType.GetMethod(method.Name) == propertyMethod)
3818 {
3819 return true;
3820 }
3821 return false;
3822 }

Referenced by System.Linq.Expressions.Expression< TDelegate >.GetProperty().