28 instantiations of CodeMethodReturnStatement
dotnet-svcutil-lib (28)
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\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
357
CodeMethodReturnStatement ret = new
CodeMethodReturnStatement
();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
1631
getSchemaMethod.Statements.Add(new
CodeMethodReturnStatement
(NullReference));
1655
new
CodeMethodReturnStatement
(
1685
CodeMethodReturnStatement propertyGet = new
CodeMethodReturnStatement
();
1745
CodeMethodReturnStatement propertyGet = 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)));
23 references to CodeMethodReturnStatement
dotnet-svcutil-lib (23)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
324
protected override void Visit(
CodeMethodReturnStatement
statement)
697
else if (statement is
CodeMethodReturnStatement
)
698
Visit((
CodeMethodReturnStatement
)statement);
722
protected virtual void Visit(
CodeMethodReturnStatement
statement) { }
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
383
CodeMethodReturnStatement
returnStmt = new CodeMethodReturnStatement(castExpr);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
1080
else if (e is
CodeMethodReturnStatement
)
1082
GenerateMethodReturnStatement((
CodeMethodReturnStatement
)e);
1937
protected abstract void GenerateMethodReturnStatement(
CodeMethodReturnStatement
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
446
else if (e is
CodeMethodReturnStatement
)
448
ValidateMethodReturnStatement((
CodeMethodReturnStatement
)e);
534
private void ValidateMethodReturnStatement(
CodeMethodReturnStatement
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
1156
else if (e is
CodeMethodReturnStatement
)
1158
GenerateMethodReturnStatement((
CodeMethodReturnStatement
)e);
1609
private void GenerateMethodReturnStatement(
CodeMethodReturnStatement
e)
FrameworkFork\Microsoft.CodeDom\System\CodeMethodReturnStatement.cs (2)
29
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeMethodReturnStatement
'/>.
38
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeMethodReturnStatement
'/> using the specified expression.
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
357
CodeMethodReturnStatement
ret = new CodeMethodReturnStatement();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
1685
CodeMethodReturnStatement
propertyGet = new CodeMethodReturnStatement();
1745
CodeMethodReturnStatement
propertyGet = new CodeMethodReturnStatement();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (4)
297
CodeMethodReturnStatement
returnStatement = GenerateParameters(helperMethod, returnTypeDecl, outVar, FieldDirection.Out);
312
private static
CodeMethodReturnStatement
GenerateParameters(CodeMemberMethod helperMethod, CodeTypeDeclaration codeTypeDeclaration, CodeExpression target, FieldDirection dir)
314
CodeMethodReturnStatement
returnStatement = null;
606
CodeMethodReturnStatement
returnStmt = new CodeMethodReturnStatement(castExpr);