Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System / compmod / system / codedom / CodeDirectionExpression.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="CodeDirectionExpression.cs" company="Microsoft">
3 // 
4 // <OWNER>Microsoft</OWNER>
5 //     Copyright (c) Microsoft Corporation.  All rights reserved.
6 // </copyright>                                                                
7 //------------------------------------------------------------------------------
8
9 namespace System.CodeDom {
10
11     using System.Diagnostics;
12     using System;
13     using Microsoft.Win32;
14     using System.Collections;
15     using System.Runtime.InteropServices;
16
17     /// <devdoc>
18     ///    <para>[To be supplied.]</para>
19     /// </devdoc>
20     [
21         ClassInterface(ClassInterfaceType.AutoDispatch),
22         ComVisible(true),
23         Serializable,
24     ]
25     public class CodeDirectionExpression : CodeExpression {
26         private CodeExpression expression;
27         private FieldDirection direction = FieldDirection.In;
28
29
30         /// <devdoc>
31         ///    <para>[To be supplied.]</para>
32         /// </devdoc>
33         public CodeDirectionExpression() {
34         }
35
36         /// <devdoc>
37         ///    <para>[To be supplied.]</para>
38         /// </devdoc>
39         public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) {
40             this.expression = expression;
41             this.direction = direction;
42         }
43
44         /// <devdoc>
45         ///    <para>[To be supplied.]</para>
46         /// </devdoc>
47         public CodeExpression Expression {
48             get {
49                 return expression;
50             }
51             set {
52                 expression = value;
53             }
54         }
55
56         /// <devdoc>
57         ///    <para>[To be supplied.]</para>
58         /// </devdoc>
59         public FieldDirection Direction {
60             get {
61                 return direction;
62             }
63             set {
64                 direction = value;
65             }
66         }
67     }
68 }