1 write to _swtFirst
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
495
_swtFirst
= new SymWithType();
20 references to _swtFirst
Microsoft.CSharp (20)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (20)
82
if (
_swtFirst
== null)
84
_swtFirst
.Set(sym, type);
223
if (
_swtFirst
)
231
if (
_swtFirst
.Sym is FieldSymbol && symCur is EventSymbol
236
&&
_swtFirst
.Field().isEvent
242
else if (
_swtFirst
.Sym is FieldSymbol && symCur is EventSymbol)
249
if (
_swtFirst
.Sym.getKind() != symCur.getKind())
274
_swtFirst
.Clear();
277
else if (
_swtFirst
.Sym.getKind() != symCur.getKind())
282
if (!(
_swtFirst
.Sym is MethodSymbol))
360
Debug.Assert(!
_swtFirst
|| _fMulti);
373
if (
_swtFirst
&& !_fMulti)
405
Debug.Assert(!
_swtFirst
|| _fMulti);
414
typeStart.DiffHidden = (
_swtFirst
!= null);
422
type.DiffHidden = !!
_swtFirst
;
581
return !
_swtFirst
|| _swtAmbig;
587
return
_swtFirst
;
600
Debug.Assert(!
_swtFirst
|| _swtAmbig);
602
if (
_swtFirst
)
605
return ErrorHandling.Error(ErrorCode.ERR_AmbigMember,
_swtFirst
, _swtAmbig);