Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeMethodReturnStatement.cs / 1 / CodeMethodReturnStatement.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
///
///
/// Represents a return statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeMethodReturnStatement : CodeStatement {
private CodeExpression expression;
///
///
/// Initializes a new instance of .
///
///
public CodeMethodReturnStatement() {
}
///
///
/// Initializes a new instance of using the specified expression.
///
///
public CodeMethodReturnStatement(CodeExpression expression) {
Expression = expression;
}
///
///
/// Gets or sets the expression that indicates the return statement.
///
///
public CodeExpression Expression {
get {
return expression;
}
set {
expression = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
///
///
/// Represents a return statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeMethodReturnStatement : CodeStatement {
private CodeExpression expression;
///
///
/// Initializes a new instance of .
///
///
public CodeMethodReturnStatement() {
}
///
///
/// Initializes a new instance of using the specified expression.
///
///
public CodeMethodReturnStatement(CodeExpression expression) {
Expression = expression;
}
///
///
/// Gets or sets the expression that indicates the return statement.
///
///
public CodeExpression Expression {
get {
return expression;
}
set {
expression = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FrameworkContentElement.cs
- XmlSchemaAnyAttribute.cs
- PropertyTabChangedEvent.cs
- UIElementCollection.cs
- DoWorkEventArgs.cs
- Font.cs
- RectangleGeometry.cs
- EncryptedType.cs
- ListViewTableCell.cs
- ObjectListFieldCollection.cs
- RegisteredScript.cs
- TemplateInstanceAttribute.cs
- DateTimeOffset.cs
- TransformDescriptor.cs
- XmlSortKeyAccumulator.cs
- ReferentialConstraint.cs
- WebService.cs
- CookielessHelper.cs
- StringResourceManager.cs
- __FastResourceComparer.cs
- SqlGenerator.cs
- SharedDp.cs
- HandleCollector.cs
- Binding.cs
- SendActivityDesigner.cs
- latinshape.cs
- SystemColorTracker.cs
- Sentence.cs
- handlecollector.cs
- EventBuilder.cs
- ComboBoxItem.cs
- StylusDevice.cs
- UnsafeNativeMethods.cs
- IgnoreSectionHandler.cs
- ListViewInsertionMark.cs
- DeviceFilterEditorDialog.cs
- ImageSource.cs
- SystemFonts.cs
- TerminateDesigner.cs
- CodeDomComponentSerializationService.cs
- XmlEncoding.cs
- SequentialActivityDesigner.cs
- EntityCommandCompilationException.cs
- AssemblyBuilder.cs
- SqlConnection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- TextTreeText.cs
- VersionValidator.cs
- BCLDebug.cs
- RightsManagementEncryptedStream.cs
- StoryFragments.cs
- CodeDelegateInvokeExpression.cs
- LexicalChunk.cs
- EntryPointNotFoundException.cs
- X509ThumbprintKeyIdentifierClause.cs
- EditorPartCollection.cs
- SettingsAttributeDictionary.cs
- TextCollapsingProperties.cs
- BinarySerializer.cs
- XmlCDATASection.cs
- dataSvcMapFileLoader.cs
- Thread.cs
- CopyNodeSetAction.cs
- Assert.cs
- WebConfigurationHostFileChange.cs
- ItemChangedEventArgs.cs
- PlainXmlWriter.cs
- IIS7WorkerRequest.cs
- TrackingWorkflowEventArgs.cs
- StoreUtilities.cs
- XsltConvert.cs
- ElapsedEventArgs.cs
- KoreanCalendar.cs
- DocumentPageView.cs
- ConfigurationManagerHelperFactory.cs
- PseudoWebRequest.cs
- BatchParser.cs
- ChannelManager.cs
- MediaContext.cs
- XNodeValidator.cs
- altserialization.cs
- BindingExpressionBase.cs
- dataprotectionpermissionattribute.cs
- VBCodeProvider.cs
- MimePart.cs
- RequestCache.cs
- EditCommandColumn.cs
- mediaeventshelper.cs
- BinaryMessageFormatter.cs
- ToolStripOverflow.cs
- Stacktrace.cs
- MemberPath.cs
- MessageQueueAccessControlEntry.cs
- Vertex.cs
- NegationPusher.cs
- MaterializeFromAtom.cs
- Viewport3DVisual.cs
- Pkcs7Signer.cs
- DataObjectMethodAttribute.cs
- TagMapCollection.cs