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