~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/CustomAttributeNamedArgumentMirror.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Runtime.InteropServices;
 
3
using System.Reflection;
 
4
 
 
5
namespace Mono.Debugger.Soft {
 
6
 
 
7
        public struct CustomAttributeNamedArgumentMirror {
 
8
                CustomAttributeTypedArgumentMirror arg;
 
9
                PropertyInfoMirror prop;
 
10
                FieldInfoMirror field;
 
11
 
 
12
                internal CustomAttributeNamedArgumentMirror (PropertyInfoMirror prop, FieldInfoMirror field, CustomAttributeTypedArgumentMirror arg)
 
13
                {
 
14
                        this.arg = arg;
 
15
                        this.prop = prop;
 
16
                        this.field = field;
 
17
                }
 
18
 
 
19
                public PropertyInfoMirror Property {
 
20
                        get {
 
21
                                return prop;
 
22
                        }
 
23
                }
 
24
 
 
25
                public FieldInfoMirror Field {
 
26
                        get {
 
27
                                return field;
 
28
                        }
 
29
                }
 
30
 
 
31
                public CustomAttributeTypedArgumentMirror TypedValue {
 
32
                        get {
 
33
                                return arg;
 
34
                        }
 
35
                }
 
36
        }
 
37
}