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