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