System\Web\Services\Description\SoapProtocolImporter.cs (17)
805string returnType = parameters.Return == null ? typeof(void).FullName : WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator);
818if (parameters.Return != null) {
820soapExporter.AddMappingMetadata(mainCodeMethod.ReturnTypeCustomAttributes, parameters.Return, parameters.Return.ElementName != uniqueMethodName + "Result");
822xmlExporter.AddMappingMetadata(mainCodeMethod.ReturnTypeCustomAttributes, parameters.Return, response.Namespace, parameters.Return.ElementName != uniqueMethodName + "Result");
892parameters.Return == null ? typeof(void).FullName : WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator),
940bool methodHasOutParameters = parameters.Return != null || parameters.OutParameters.Count > 0;
952asyncReturnTypes[0] = parameters.Return == null ? null : WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator);
956asyncReturnNames[0] = parameters.Return == null ? null : "Result";
967if (parameters.Return == null && parameters.OutParameters.Count == 0) {
973int count = parameters.Return == null ? 0 : 1;
992if (parameters.Return != null) {
996value = new CodeCastExpression(WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator), value);