Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
EnumerableRewriter () | |
virtual ? Expression | Visit (Expression? node) |
ReadOnlyCollection< Expression > | Visit (ReadOnlyCollection< Expression > nodes) |
T? | VisitAndConvert< T > (T? node, string? callerName) |
ReadOnlyCollection< T > | VisitAndConvert< T > (ReadOnlyCollection< T > nodes, string? callerName) |
Static Public Member Functions | |
static ReadOnlyCollection< T > | Visit< T > (ReadOnlyCollection< T > nodes, Func< T, T > elementVisitor) |
Protected Member Functions | |
override Expression | VisitMethodCall (MethodCallExpression m) |
override Expression | VisitLambda< T > (Expression< T > node) |
override Expression | VisitConstant (ConstantExpression c) |
override Expression | VisitConditional (ConditionalExpression c) |
override Expression | VisitBlock (BlockExpression node) |
override Expression | VisitGoto (GotoExpression node) |
override LabelTarget | VisitLabelTarget (LabelTarget node) |
virtual ? LabelTarget | VisitLabelTarget (LabelTarget? node) |
virtual SwitchCase | VisitSwitchCase (SwitchCase node) |
virtual CatchBlock | VisitCatchBlock (CatchBlock node) |
virtual ElementInit | VisitElementInit (ElementInit node) |
virtual MemberBinding | VisitMemberBinding (MemberBinding node) |
virtual MemberAssignment | VisitMemberAssignment (MemberAssignment node) |
virtual MemberMemberBinding | VisitMemberMemberBinding (MemberMemberBinding node) |
virtual MemberListBinding | VisitMemberListBinding (MemberListBinding node) |
Package Functions | |
virtual Expression | VisitBinary (BinaryExpression node) |
virtual Expression | VisitDebugInfo (DebugInfoExpression node) |
virtual Expression | VisitDefault (DefaultExpression node) |
virtual Expression | VisitExtension (Expression node) |
virtual Expression | VisitInvocation (InvocationExpression node) |
virtual Expression | VisitLabel (LabelExpression node) |
virtual Expression | VisitLoop (LoopExpression node) |
virtual Expression | VisitMember (MemberExpression node) |
virtual Expression | VisitIndex (IndexExpression node) |
virtual Expression | VisitNewArray (NewArrayExpression node) |
virtual Expression | VisitNew (NewExpression node) |
virtual Expression | VisitParameter (ParameterExpression node) |
virtual Expression | VisitRuntimeVariables (RuntimeVariablesExpression node) |
virtual Expression | VisitSwitch (SwitchExpression node) |
virtual Expression | VisitTry (TryExpression node) |
virtual Expression | VisitTypeBinary (TypeBinaryExpression node) |
virtual Expression | VisitUnary (UnaryExpression node) |
virtual Expression | VisitMemberInit (MemberInitExpression node) |
virtual Expression | VisitListInit (ListInitExpression node) |
virtual Expression | VisitDynamic (DynamicExpression node) |
Private Member Functions | |
ReadOnlyCollection< Expression > | FixupQuotedArgs (MethodInfo mi, ReadOnlyCollection< Expression > argList) |
Expression | FixupQuotedExpression (Type type, Expression expression) |
Type | GetEquivalentType (Type type) |
Expression[] | VisitArguments (IArgumentProvider nodes) |
ParameterExpression[] | VisitParameters (IParameterProvider nodes, string callerName) |
Static Private Member Functions | |
static Type | GetPublicType (Type t) |
static MethodInfo | FindEnumerableMethodForQueryable (string name, ReadOnlyCollection< Expression > args, params Type[] typeArgs) |
static MethodInfo | FindMethod (Type type, string name, ReadOnlyCollection< Expression > args, Type[] typeArgs) |
static bool | ArgsMatch (MethodInfo m, ReadOnlyCollection< Expression > args, Type[] typeArgs) |
static Type | StripExpression (Type type) |
static UnaryExpression | ValidateUnary (UnaryExpression before, UnaryExpression after) |
static BinaryExpression | ValidateBinary (BinaryExpression before, BinaryExpression after) |
static SwitchExpression | ValidateSwitch (SwitchExpression before, SwitchExpression after) |
static void | ValidateChildType (Type before, Type after, string methodName) |
Private Attributes | |
Dictionary< LabelTarget, LabelTarget > | _targetCache |
Dictionary< Type, Type > | _equivalentTypeCache |
Static Private Attributes | |
static ILookup< string, MethodInfo > | s_seqMethods |
Definition at line 10 of file EnumerableRewriter.cs.