3 writes to RetType
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (3)
1254
prop.
RetType
= GetCTypeFromType(property.PropertyType);
1438
methodSymbol.
RetType
= GetCTypeFromType(method.ReturnType);
1446
methodSymbol.
RetType
= VoidType.Instance;
26 references to RetType
Microsoft.CSharp (26)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
247
ErrAppendType(meth.
RetType
, pctx);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (3)
755
typeTo = TypeManager.SubstType(convCur.
RetType
, atsCur);
911
typeTo = TypeManager.SubstType(uci.Meth.Meth().
RetType
, uci.Meth.GetType());
1012
typeTo = TypeManager.SubstType(mwiBest.Meth().
RetType
, mwiBest.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (9)
417
pReturnType = TypeManager.SubstType(mwi.Meth().
RetType
, mwi.GetType(), mwi.TypeArgs);
505
CType pReturnType = TypeManager.SubstType(pwt.Prop().
RetType
, pwt.GetType());
625
TypeManager.SubstType(methCur.
RetType
, atsCur).IsNonNullableValueType &&
675
CType typeRet = TypeManager.SubstType(mpwi.Meth().
RetType
, mpwi.GetType());
697
CType typeRet = TypeManager.SubstType(mpwi.Meth().
RetType
, mpwi.GetType());
935
if (meth.
RetType
!= null)
937
CheckUnsafe(meth.
RetType
);
960
if (prop.
RetType
!= null)
962
CheckUnsafe(prop.
RetType
);
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
205
(prop != null && !IsDelegateType(prop.
RetType
, typeCur) && !IsDynamicMember(symCur)))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (3)
2473
CType typeRet = TypeManager.SubstType(method.
RetType
, ats);
2640
CType typeRetRaw = TypeManager.SubstType(pmethBest.mpwi.Meth().
RetType
, pmethBest.mpwi.GetType());
2672
CType typeRetRaw = TypeManager.SubstType(mpwi.Meth().
RetType
, mpwi.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (1)
374
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)
35
CType genericReturn = TypeManager.SubstType(methSym.
RetType
, aggType, methSym.typeVars);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (6)
104
CType typeRet = TypeManager.SubstType(mwi.Meth().
RetType
, mwi.GetType(), mwi.TypeArgs);
720
CType pMethodReturnType = TypeManager.SubstType(method.Meth().
RetType
,
912
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, arg1, pMemGroup, mwi);
927
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, args, pMemGroup, mwi);
942
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, args, pMemGroup, mwi);
957
ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().
RetType
, args, pMemGroup, mwi);