Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / runtime / serialization / formatters / ifieldinfo.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6  /*============================================================
7  **
8  ** Class: IFieldInfo
9  **
10  **
11  ** Purpose: Interface For Returning FieldNames and FieldTypes
12  **
13  **
14  ===========================================================*/
15
16 namespace System.Runtime.Serialization.Formatters {
17
18     using System.Runtime.Remoting;
19     using System.Runtime.Serialization;
20     using System.Security.Permissions;
21     using System;
22
23 [System.Runtime.InteropServices.ComVisible(true)]
24     public interface IFieldInfo
25     {
26         // Name of parameters, if null the default param names will be used
27         String[] FieldNames 
28         {
29             [System.Security.SecurityCritical]  // auto-generated_required
30             get;
31             [System.Security.SecurityCritical]  // auto-generated_required
32             set;
33         }
34         Type[] FieldTypes 
35         {
36             [System.Security.SecurityCritical]  // auto-generated_required
37             get;
38             [System.Security.SecurityCritical]  // auto-generated_required
39             set;
40         }        
41     }
42 }