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)
479
ErrorCode.ERR_BindToBogusProp1, swt.Sym.name, new
SymWithType
(meth1 ?? meth2, swt.GetType()),
482
ErrorCode.ERR_BindToBogusProp2, swt.Sym.name, new
SymWithType
(meth1, swt.GetType()),
483
new
SymWithType
(meth2, swt.GetType()), new ErrArgRefOnly(swt.Sym));
496
_swtFirst = new
SymWithType
();
497
_swtAmbig = new
SymWithType
();
498
_swtInaccess = new
SymWithType
();
499
_swtBad = new
SymWithType
();
500
_swtBogus = new
SymWithType
();
501
_swtBadArity = new
SymWithType
();
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1730
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)
160
SymWithType
swt = SymbolTable.LookupMember(
636
SymWithType
swt,
656
private ExprWithArgs CreateIndexer(
SymWithType
swt, Expr callingObject, Expr arguments, BindingFlag bindFlags)
679
SymWithType
swt,
757
SymWithType
swt = SymbolTable.LookupMember(
799
SymWithType
swtEvent = SymbolTable.LookupMember(
1155
SymWithType
swt = SymbolTable.LookupMember(name, callingObject, _binder.Context.ContextForMemberLookup, 0, mem, false, false);
1334
SymWithType
swt = SymbolTable.LookupMember(
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
968
private Expr AdjustMemberObject(
SymWithType
swt, Expr pObject)
1033
private static bool IsMatchingStatic(
SymWithType
swt, Expr pObject)
1090
SymWithType
swt = call.GetSymWithType();
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (8)
54
private readonly
SymWithType
_swtFirst; // The first symbol found.
58
private readonly
SymWithType
_swtAmbig; // An ambiguous symbol.
59
private readonly
SymWithType
_swtInaccess; // An inaccessible symbol.
60
private readonly
SymWithType
_swtBad; // If we're looking for a constructor or indexer, this matched on name, but isn't the right thing.
61
private readonly
SymWithType
_swtBogus; // A bogus member - such as an indexed property.
62
private readonly
SymWithType
_swtBadArity; // An symbol with the wrong arity.
471
private static RuntimeBinderException ReportBogus(
SymWithType
swt)
586
public
SymWithType
SwtFirst()
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (1)
259
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)
93
internal static
SymWithType
LookupMember(
1711
private static
SymWithType
GetSlotForOverride(MethodInfo method)