23 writes to ReturnType
dotnet-svcutil-lib (23)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
194
getSchemaMethod.
ReturnType
= new CodeTypeReference(typeof(Microsoft.Xml.Schema.XmlSchema));
CodeDomFixup\CodeDomHelpers.cs (1)
74
m.
ReturnType
= method.ReturnType;
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
36
ReturnType
= new CodeTypeReference(typeof(Task)),
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
249
operationCompletedMethod.
ReturnType
= new CodeTypeReference(typeof(void));
CodeDomFixup\MethodCreationHelper.cs (4)
29
ReturnType
= new CodeTypeReference(typeof(EndpointAddress)),
38
ReturnType
= new CodeTypeReference(typeof(Binding)),
2178
ReturnType
= new CodeTypeReference(typeof(Binding)),
2185
ReturnType
= new CodeTypeReference(typeof(EndpointAddress)),
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
1630
getSchemaMethod.
ReturnType
= GetCodeTypeReference(typeof(XmlSchema));
1642
getSchemaStaticMethod.
ReturnType
= GetCodeTypeReference(Globals.TypeOfXmlQualifiedName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (8)
304
helperMethod.
ReturnType
= method.ReturnType;
332
helperMethod.
ReturnType
= field.Type;
481
m.
ReturnType
= method.ReturnType;
656
onBeginOperationMethod.
ReturnType
= new CodeTypeReference(s_asyncResultType);
710
onEndOperationMethod.
ReturnType
= new CodeTypeReference(s_objectArrayType);
790
operationCompletedMethod.
ReturnType
= new CodeTypeReference(s_voidType);
847
eventAsyncMethod.
ReturnType
= new CodeTypeReference(s_voidType);
893
eventAsyncMethodOverload.
ReturnType
= eventAsyncMethod.ReturnType;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (4)
259
_endMethod.
ReturnType
= GetParameterType(_response.Body.ReturnValue);
290
_endMethod.
ReturnType
= typedRespMessageRef;
382
_endMethod.
ReturnType
= _context.ServiceContractGenerator.GetCodeTypeReference(typeof(Message));
964
_method.
ReturnType
= taskReturnType;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
291
beginMethod.
ReturnType
= _context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult));
26 references to ReturnType
dotnet-svcutil-lib (26)
CodeDomFixup\CodeDomHelpers.cs (4)
74
m.ReturnType = method.
ReturnType
;
96
(MatchType(method.
ReturnType
, new CodeTypeReference(typeof(Task<>)), false, true) ||
97
MatchType<Task>(method.
ReturnType
)));
107
MatchType<IAsyncResult>(method.
ReturnType
);
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
55
new CodeTypeReferenceExpression(implMethod.
ReturnType
),
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
291
Enumerate(method.
ReturnType
);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
483
if (method.
ReturnType
.BaseType != typeof(void).FullName)
487
method.
ReturnType
)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
376
ValidateTypeReference(e.
ReturnType
);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (2)
2047
OutputType(e.
ReturnType
);
2130
OutputType(e.
ReturnType
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (14)
286
if (method.
ReturnType
.BaseType == s_voidTypeRef.BaseType)
290
CodeTypeDeclaration returnTypeDecl = ServiceContractGenerator.NamespaceHelper.GetCodeType(method.
ReturnType
);
296
helperMethod.Statements.Add(new CodeVariableDeclarationStatement(method.
ReturnType
, outVar.VariableName, invokeMethod));
304
helperMethod.ReturnType = method.
ReturnType
;
330
if (param == null && dir == FieldDirection.Out && helperMethod.
ReturnType
.BaseType == s_voidTypeRef.BaseType)
481
m.ReturnType = method.
ReturnType
;
513
if ((endMethod.Parameters.Count == 1) && (endMethod.
ReturnType
.BaseType == s_voidTypeRef.BaseType))
558
if (endMethod.
ReturnType
.BaseType != s_voidTypeRef.BaseType)
562
endMethod.
ReturnType
,
740
if (endMethod.
ReturnType
.BaseType != s_voidTypeRef.BaseType)
743
retValDecl.Type = endMethod.
ReturnType
;
893
eventAsyncMethodOverload.ReturnType = eventAsyncMethod.
ReturnType
;
995
return method.
ReturnType
== null || String.Compare(method.
ReturnType
.BaseType, typeof(void).FullName, StringComparison.Ordinal) == 0;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
953
CodeTypeReference resultType = _method.
ReturnType
;