3 writes to RetType
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (3)
1229
prop.
RetType
= GetCTypeFromType(property.PropertyType);
1411
methodSymbol.
RetType
= GetCTypeFromType(method.ReturnType);
1419
methodSymbol.
RetType
= VoidType.Instance;
26 references to RetType
Microsoft.CSharp (26)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
241
ErrAppendType(meth.
RetType
, pctx);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (3)
728
typeTo = TypeManager.SubstType(convCur.
RetType
, atsCur);
884
typeTo = TypeManager.SubstType(uci.Meth.Meth().
RetType
, uci.Meth.GetType());
985
typeTo = TypeManager.SubstType(mwiBest.Meth().
RetType
, mwiBest.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (9)
408
pReturnType = TypeManager.SubstType(mwi.Meth().
RetType
, mwi.GetType(), mwi.TypeArgs);
494
CType pReturnType = TypeManager.SubstType(pwt.Prop().
RetType
, pwt.GetType());
613
TypeManager.SubstType(methCur.
RetType
, atsCur).IsNonNullableValueType &&
662
CType typeRet = TypeManager.SubstType(mpwi.Meth().
RetType
, mpwi.GetType());
683
CType typeRet = TypeManager.SubstType(mpwi.Meth().
RetType
, mpwi.GetType());
914
if (meth.
RetType
!= null)
916
CheckUnsafe(meth.
RetType
);
938
if (prop.
RetType
!= null)
940
CheckUnsafe(prop.
RetType
);
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
204
(prop != null && !IsDelegateType(prop.
RetType
, typeCur) && !IsDynamicMember(symCur)))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (3)
2414
CType typeRet = TypeManager.SubstType(method.
RetType
, ats);
2577
CType typeRetRaw = TypeManager.SubstType(pmethBest.mpwi.Meth().
RetType
, pmethBest.mpwi.GetType());
2607
CType typeRetRaw = TypeManager.SubstType(mpwi.Meth().
RetType
, mpwi.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (1)
365
TypeManager.SubstEqualTypes(methsym.
RetType
, returnType, null, methsym.typeVars, true) &&
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\Symbol.cs (1)
114
return methProp.
RetType
;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MethodInfo.cs (1)
34
CType genericReturn = TypeManager.SubstType(methSym.
RetType
, aggType, methSym.typeVars);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (6)
103
CType typeRet = TypeManager.SubstType(mwi.Meth().
RetType
, mwi.GetType(), mwi.TypeArgs);
719
CType pMethodReturnType = TypeManager.SubstType(method.Meth().
RetType
,
911
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, arg1, pMemGroup, mwi);
926
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, args, pMemGroup, mwi);
941
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, args, pMemGroup, mwi);
956
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, args, pMemGroup, mwi);