Implemented interface member:
property
ReturnType
System.Runtime.InteropServices._MethodInfo.ReturnType
17 overrides of ReturnType
mscorlib (7)
System (1)
System.Activities.Presentation (1)
System.Data (1)
System.Workflow.Activities (3)
System.Workflow.ComponentModel (3)
System.WorkflowServices (1)
354 references to ReturnType
ComSvcConfig (6)
ComplusTypeValidator.cs (6)
148if (!IsValidParameter(method.ReturnType, method.ReturnTypeCustomAttributes, allowReferences, out typeMismatchDetails))
151ToolConsole.WriteError(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails), "");
153ToolConsole.WriteNonVerboseWarning(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails));
274if (!IsValidParameter(method.ReturnType, method.ReturnTypeCustomAttributes, allowReferences, out typeMismatchDetails))
277ToolConsole.WriteError(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails), "");
279ToolConsole.WriteWarning(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails));
mscorlib (26)
PresentationBuildTasks (1)
PresentationFramework (5)
System (3)
System.Activities (8)
System.Activities.Presentation (1)
System.ComponentModel.DataAnnotations (1)
System.Core (55)
Microsoft\Scripting\Ast\BinaryExpression.cs (27)
370TypeUtils.AreEquivalent(method.ReturnType, TypeUtils.GetNonNullableType(left));
595return new MethodBinaryExpression(binaryType, left, right, method.ReturnType, method);
602if (method != null && method.ReturnType.IsValueType && !TypeUtils.IsNullableType(method.ReturnType)) {
603if (method.ReturnType != typeof(bool) || liftToNull) {
604return new MethodBinaryExpression(binaryType, left, right, TypeUtils.GetNullableType(method.ReturnType), method);
623return new MethodBinaryExpression(binaryType, left, right, method.ReturnType, method);
630method.ReturnType.IsValueType && !TypeUtils.IsNullableType(method.ReturnType)) {
631if (method.ReturnType != typeof(bool) || liftToNull) {
632return new MethodBinaryExpression(binaryType, left, right, TypeUtils.GetNullableType(method.ReturnType), method);
730if (method.ReturnType == typeof(void))
785if (method.ReturnType != pms[0].ParameterType) {
794if (opTrue == null || opTrue.ReturnType != typeof(bool) ||
795opFalse == null || opFalse.ReturnType != typeof(bool)) {
1245returnType = (TypeUtils.IsNullableType(left.Type) && TypeUtils.AreEquivalent(method.ReturnType, TypeUtils.GetNonNullableType(left.Type))) ? left.Type : method.ReturnType;
1251returnType = (TypeUtils.IsNullableType(left.Type) && TypeUtils.AreEquivalent(method.ReturnType, TypeUtils.GetNonNullableType(left.Type))) ? left.Type : method.ReturnType;
1291returnType = (TypeUtils.IsNullableType(left.Type) && method.ReturnType == TypeUtils.GetNonNullableType(left.Type)) ? left.Type : method.ReturnType;
1297returnType = (TypeUtils.IsNullableType(left.Type) && method.ReturnType == TypeUtils.GetNonNullableType(left.Type)) ? left.Type : method.ReturnType;
1341if (method.ReturnType == typeof(void)) {
1353if (!TypeUtils.AreEquivalent(method.ReturnType, right.Type)) {
1483if (!TypeUtils.AreEquivalent(mi.ReturnType, left.Type)) {
1488if (!TypeUtils.AreEquivalent(pms[0].ParameterType, method.ReturnType)) {
Microsoft\Scripting\Ast\UnaryExpression.cs (12)
96(resultIsNullable && !TypeUtils.AreEquivalent(_method.ReturnType, this.Type));
380return new UnaryExpression(unaryType, operand, method.ReturnType, method);
386if (method != null && method.ReturnType.IsValueType && !TypeUtils.IsNullableType(method.ReturnType)) {
387return new UnaryExpression(unaryType, operand, TypeUtils.GetNullableType(method.ReturnType), method);
401return new UnaryExpression(unaryType, operand, method.ReturnType, method);
406method.ReturnType.IsValueType && !TypeUtils.IsNullableType(method.ReturnType)) {
407return new UnaryExpression(unaryType, operand, TypeUtils.GetNullableType(method.ReturnType), method);
437if (ParameterIsAssignable(pms[0], operand.Type) && TypeUtils.AreEquivalent(method.ReturnType, convertToType)) {
438return new UnaryExpression(unaryType, operand, method.ReturnType, method);
443TypeUtils.AreEquivalent(method.ReturnType, TypeUtils.GetNonNullableType(convertToType))) {
System.Data (1)
System.Data.Entity (8)
System.Data.Linq (36)
SqlClient\Query\SqlMethodCallConverter.cs (7)
178if (mc.Method.IsStatic && mc.Method.Name == "Compare" && mc.Method.ReturnType == typeof(int)) {
912else if (mc.Method.Name == "Compare" && mc.Arguments.Count == 2 && mc.Method.ReturnType == typeof(int)) {
1408return sql.FunctionCall(mc.Method.ReturnType, "ROUND", mc.Arguments, mc.SourceExpression);
1418return sql.FunctionCall(mc.Method.ReturnType, "ROUND",
1427return sql.FunctionCall(mc.Method.ReturnType, "ROUND",
2060return new SqlSearchedCase(mc.Method.ReturnType, new SqlWhen[] { new SqlWhen(aLower, b) }, a, source);
2155return sql.FunctionCall(mc.Method.ReturnType, "ROUND", new SqlExpression[] { x, sql.ValueFromObject(0, false, source), sql.ValueFromObject(1, false, source) }, source);
System.Data.Services (10)
System.Data.Services.Client (12)
System\Data\Services\Client\ALinq\ResourceBinder.cs (6)
268AddSequenceQueryOption(input, new FilterQueryOptionExpression(mce.Method.ReturnType, newFilter));
527ResourceExpression resultSelectorSource = CreateResourceSetExpression(mce.Method.ReturnType, source, collectorReference, TypeSystem.GetElementType(collectorReference.Type));
617return RemoveTransparentScope(mce.Method.ReturnType, (ResourceSetExpression)input);
624return CreateNavigationPropertySingletonExpression(mce.Method.ReturnType, navSource, boundProjection);
680rse = CreateResourceSetExpression(mce.Method.ReturnType, input, navPropRef, resourceType);
819return re.CreateCloneWithNewType(mce.Method.ReturnType);
System.Data.SqlXml (5)
System.Runtime.Remoting (4)
System.Runtime.Serialization (32)
System.ServiceModel (26)
System.Web (6)
System.Web.Extensions (3)
System.Web.Mobile (2)
System.Web.Services (3)
System.Workflow.Activities (49)
System.Workflow.ComponentModel (12)
System.WorkflowServices (14)
System.Xml (24)
WindowsBase (1)