25 references to CodeMethodReturnStatement
dotnet-svcutil-lib (25)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
182
nodesProperty.GetStatements.Add(new
CodeMethodReturnStatement
(
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
52
new
CodeMethodReturnStatement
(
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
383
CodeMethodReturnStatement returnStmt = new
CodeMethodReturnStatement
(castExpr);
485
m.Statements.Add(new
CodeMethodReturnStatement
(
CodeDomFixup\MethodCreationHelper.cs (12)
394
statements.Add(new
CodeMethodReturnStatement
(resultVar));
535
statements.Add(new
CodeMethodReturnStatement
(resultVar));
739
statements.Add(new
CodeMethodReturnStatement
(resultVar));
943
statements.Add(new
CodeMethodReturnStatement
(resultVar));
1090
statements.Add(new
CodeMethodReturnStatement
(resultVar));
1785
statements.Add(new
CodeMethodReturnStatement
(resultVar));
1868
statements.Add(new
CodeMethodReturnStatement
(resultVar));
1973
statements.Add(new
CodeMethodReturnStatement
(resultVar));
2090
statements.Add(new
CodeMethodReturnStatement
(resultVar));
2167
new
CodeMethodReturnStatement
(createEndpointAddressExpression)));
2189
new
CodeMethodReturnStatement
(
2199
new
CodeMethodReturnStatement
(
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
1631
getSchemaMethod.Statements.Add(new
CodeMethodReturnStatement
(NullReference));
1655
new
CodeMethodReturnStatement
(
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (7)
303
helperMethod.Statements.Add(new
CodeMethodReturnStatement
(invokeMethod));
333
returnStatement = new
CodeMethodReturnStatement
(fieldRef);
466
method.Statements.Add(new
CodeMethodReturnStatement
(methodInvoke));
606
CodeMethodReturnStatement returnStmt = new
CodeMethodReturnStatement
(castExpr);
688
onBeginOperationMethod.Statements.Add(new
CodeMethodReturnStatement
(invokeBegin));
757
onEndOperationMethod.Statements.Add(new
CodeMethodReturnStatement
(retArray));
761
onEndOperationMethod.Statements.Add(new
CodeMethodReturnStatement
(new CodePrimitiveExpression(null)));