src/Shared/EntityFramework/Core/Objects/ELinq/ReflectionUtil.cs
// <summary>
// Identifies methods as instances of known sequence operators.
// </summary>
// <param name="method"> Method info to identify </param>
// <param name="sequenceMethod"> Identified sequence operator </param>
// <returns>
// <c>true</c> if method is known; <c>false</c> otherwise
// </returns>
Identifies methods as instances of known sequence operators.
Identifies methods as instances of known sequence operators .
internal static bool TryIdentifySequenceMethod(MethodInfo method, out SequenceMethod sequenceMethod)
        {
            method = method.IsGenericMethod
                         ? method.GetGenericMethodDefinition()
                         : method;
            return _methodMap.TryGetValue(method, out sequenceMethod);
        }
internal static bool TryIdentifySequenceMethod ( MethodInfo method , out SequenceMethod sequenceMethod ) { method = method . IsGenericMethod ? method . GetGenericMethodDefinition ( ) : method ; return _methodMap . TryGetValue ( method , out sequenceMethod ) ; }
Identifies methods as instances of known sequence operators.
Identifies methods as instances of known sequence operators .
None
method
MethodInfo
Method info to identify
Method info to identify
SequenceMethod
out
sequenceMethod
Identified sequence operator
Identified sequence operator