You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@ -0,0 +1,80 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="CodeAssignStatement.cs" company="Microsoft">
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace System.CodeDom {
|
||||
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
using Microsoft.Win32;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Represents a simple assignment statement.
|
||||
/// </para>
|
||||
/// </devdoc>
|
||||
[
|
||||
ClassInterface(ClassInterfaceType.AutoDispatch),
|
||||
ComVisible(true),
|
||||
Serializable,
|
||||
]
|
||||
public class CodeAssignStatement : CodeStatement {
|
||||
private CodeExpression left;
|
||||
private CodeExpression right;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Initializes a new instance of <see cref='System.CodeDom.CodeAssignStatement'/>.
|
||||
/// </para>
|
||||
/// </devdoc>
|
||||
public CodeAssignStatement() {
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Initializes a new instance of <see cref='System.CodeDom.CodeAssignStatement'/> that represents the
|
||||
/// specified assignment values.
|
||||
/// </para>
|
||||
/// </devdoc>
|
||||
public CodeAssignStatement(CodeExpression left, CodeExpression right) {
|
||||
Left = left;
|
||||
Right = right;
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Gets or sets
|
||||
/// the variable to be assigned to.
|
||||
/// </para>
|
||||
/// </devdoc>
|
||||
public CodeExpression Left {
|
||||
get {
|
||||
return left;
|
||||
}
|
||||
set {
|
||||
left = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Gets or sets
|
||||
/// the value to assign.
|
||||
/// </para>
|
||||
/// </devdoc>
|
||||
public CodeExpression Right {
|
||||
get {
|
||||
return right;
|
||||
}
|
||||
set {
|
||||
right = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user