1 //------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //------------------------------------------------------------
4 
5 namespace System.Runtime.Serialization
6 {
7     sealed class TypeInformation
8     {
9         string fullTypeName;
10         string assemblyString;
11         bool hasTypeForwardedFrom;
12 
TypeInformation(string fullTypeName, string assemblyString, bool hasTypeForwardedFrom)13         internal TypeInformation(string fullTypeName, string assemblyString, bool hasTypeForwardedFrom)
14         {
15             this.fullTypeName = fullTypeName;
16             this.assemblyString = assemblyString;
17             this.hasTypeForwardedFrom = hasTypeForwardedFrom;
18         }
19 
20         internal string FullTypeName
21         {
22             get
23             {
24                 return this.fullTypeName;
25             }
26         }
27 
28         internal string AssemblyString
29         {
30             get
31             {
32                 return this.assemblyString;
33             }
34         }
35 
36         internal bool HasTypeForwardedFrom
37         {
38             get
39             {
40                 return this.hasTypeForwardedFrom;
41             }
42         }
43     }
44 }
45