Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (7)
2465private static bool UserDefinedBinaryOperatorCanBeLifted(ExpressionKind ek, MethodSymbol method, AggregateType ats,
2511ExpressionKind ek, MethodSymbol method, AggregateType ats, Expr arg1, Expr arg2, bool fDontLift)
2556for (MethodSymbol methCur = SymbolLoader.LookupAggMember(name, type.OwningAggregate, symbmask_t.MASK_MethodSymbol) as MethodSymbol;
2558methCur = methCur.LookupNext(symbmask_t.MASK_MethodSymbol) as MethodSymbol)
2791MethodSymbol methSym = PredefinedMembers.GetMethod(predefMeth);
2807MethodSymbol methSym = PredefinedMembers.GetMethod(predefMeth);
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (9)
198private static readonly MethodSymbol[] _methods = new MethodSymbol[(int)PREDEFMETH.PM_COUNT];
221MethodSymbol getter = GetMethod(propertyGetter);
320public static MethodSymbol GetMethod(PREDEFMETH method)
328private static MethodSymbol LoadMethod(
351MethodSymbol ret = LookupMethodWhileLoading(type, cMethodTyVars, methodName, methodAccess, isStatic, isVirtual, returnType, argumentTypes);
362private static MethodSymbol LookupMethodWhileLoading(AggregateSymbol type, int cMethodTyVars, Name methodName, ACCESS methodAccess, bool isStatic, bool isVirtual, CType returnType, TypeArray argumentTypes)
368if (sym is MethodSymbol methsym)
386private static MethodSymbol LoadMethod(PREDEFMETH method)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (15)
306private static TypeArray GetMethodTypeParameters(MethodInfo method, MethodSymbol parent)
509private static TypeParameterType LoadMethodTypeParameter(MethodSymbol parent, Type t)
531MethodSymbol meth,
661MethodSymbol meth = FindMatchingMethod(methinfo, parent);
1362private static MethodSymbol AddMethodToSymbolTable(MethodBase member, AggregateSymbol callingAggregate, MethodKindEnum kind)
1383MethodSymbol methodSymbol = FindMatchingMethod(member, callingAggregate);
1621private static MethodSymbol FindMatchingMethod(MemberInfo method, AggregateSymbol callingAggregate)
1623MethodSymbol meth = SymbolStore.LookupSym(GetName(method.Name), callingAggregate, symbmask_t.MASK_MethodSymbol) as MethodSymbol;
1631meth = meth.LookupNext(symbmask_t.MASK_MethodSymbol) as MethodSymbol;
1728MethodSymbol baseMethod = FindMethodFromMemberInfo(baseMethodInfo);
1740private static MethodSymbol FindMethodFromMemberInfo(MemberInfo baseMemberInfo)
1747MethodSymbol meth = SymbolLoader.LookupAggMember(
1750symbmask_t.MASK_MethodSymbol) as MethodSymbol;
1753meth = meth.LookupNext(symbmask_t.MASK_MethodSymbol) as MethodSymbol)