2 types derived from SymWithType
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (2)
137internal class MethPropWithType : SymWithType 174internal sealed class FieldWithType : SymWithType
10 instantiations of SymWithType
Microsoft.CSharp (10)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (9)
478ErrorCode.ERR_BindToBogusProp1, swt.Sym.name, new SymWithType(meth1 ?? meth2, swt.GetType()), 481ErrorCode.ERR_BindToBogusProp2, swt.Sym.name, new SymWithType(meth1, swt.GetType()), 482new SymWithType(meth2, swt.GetType()), new ErrArgRefOnly(swt.Sym)); 495_swtFirst = new SymWithType(); 496_swtAmbig = new SymWithType(); 497_swtInaccess = new SymWithType(); 498_swtBad = new SymWithType(); 499_swtBogus = new SymWithType(); 500_swtBadArity = new SymWithType();
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1698return new SymWithType(baseMethod, aggregate.getThisType());
36 references to SymWithType
Microsoft.CSharp (36)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (2)
111public ErrArg(SymWithType swt) 148public static implicit operator ErrArg(SymWithType swt)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (8)
156SymWithType swt = SymbolTable.LookupMember( 619SymWithType swt, 638private ExprWithArgs CreateIndexer(SymWithType swt, Expr callingObject, Expr arguments, BindingFlag bindFlags) 659SymWithType swt, 735SymWithType swt = SymbolTable.LookupMember( 777SymWithType swtEvent = SymbolTable.LookupMember( 1129SymWithType swt = SymbolTable.LookupMember(name, callingObject, _binder.Context.ContextForMemberLookup, 0, mem, false, false); 1304SymWithType swt = SymbolTable.LookupMember(
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
945private Expr AdjustMemberObject(SymWithType swt, Expr pObject) 1010private static bool IsMatchingStatic(SymWithType swt, Expr pObject) 1066SymWithType swt = call.GetSymWithType();
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (8)
53private readonly SymWithType _swtFirst; // The first symbol found. 57private readonly SymWithType _swtAmbig; // An ambiguous symbol. 58private readonly SymWithType _swtInaccess; // An inaccessible symbol. 59private readonly SymWithType _swtBad; // If we're looking for a constructor or indexer, this matched on name, but isn't the right thing. 60private readonly SymWithType _swtBogus; // A bogus member - such as an indexed property. 61private readonly SymWithType _swtBadArity; // An symbol with the wrong arity. 470private static RuntimeBinderException ReportBogus(SymWithType swt) 585public SymWithType SwtFirst()
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (1)
254public static RuntimeBinderException ReportAccessError(SymWithType swtBad, Symbol symWhere, CType typeQual)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodOrPropertySymbol.cs (1)
49public SymWithType swtSlot;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Call.cs (1)
33public override SymWithType GetSymWithType() => MethWithInst;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\ExprWithArgs.cs (1)
17public abstract SymWithType GetSymWithType();
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Property.cs (1)
47public override SymWithType GetSymWithType() => PropWithTypeSlot;
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (8)
60public static bool operator ==(SymWithType swt1, SymWithType swt2) 77public static bool operator !=(SymWithType swt1, SymWithType swt2) => !(swt1 == swt2); 83SymWithType other = obj as SymWithType; 96public static implicit operator bool(SymWithType swt) 168public PropWithType(SymWithType swt)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
91internal static SymWithType LookupMember( 1679private static SymWithType GetSlotForOverride(MethodInfo method)