16,549
社区成员
发帖
与我相关
我的任务
分享
Dim dictionary As New Dictionary(Of QueryMethod, Func(Of Expression, Expression, Expression))
If (QueryableSearcher(Of T).CS$<>9__CachedAnonymousMethodDelegate18 Is Nothing) Then
QueryableSearcher(Of T).CS$<>9__CachedAnonymousMethodDelegate18 = New Func(Of Expression, Expression, Expression)(Nothing, DirectCast(QueryableSearcher(Of T).<.cctor>b__d, IntPtr))
End If
dictionary.Add(QueryMethod.GreaterThanOrEqual, QueryableSearcher(Of T).CS$<>9__CachedAnonymousMethodDelegate18)
......
Private Shared Function <.cctor>b__d(ByVal left As Expression, ByVal right As Expression) As Expression
Return Expression.GreaterThanOrEqual(left, right)
End Function
Dictionary<QueryMethod, Func<Expression, Expression, Expression>> dictionary = new Dictionary<QueryMethod, Func<Expression, Expression, Expression>>();
if (QueryableSearcher<T>.CS$<>9__CachedAnonymousMethodDelegate16 == null)
{
QueryableSearcher<T>.CS$<>9__CachedAnonymousMethodDelegate16 = new Func<Expression, Expression, Expression>(null, (IntPtr) QueryableSearcher<T>.<.cctor>b__b);
}
dictionary.Add(QueryMethod.Equal, QueryableSearcher<T>.CS$<>9__CachedAnonymousMethodDelegate16);
private static Expression <.cctor>b__b(Expression left, Expression right)
{
return Expression.Equal(left, right);
}