32 |
|
string _Architecture; |
33 |
|
public string Architecture { get { return _Architecture; } private set { _Architecture = value; } } |
34 |
|
#region processor architecture |
35 |
+ |
/// <summary> |
36 |
+ |
/// Represents an undefined processor arcitecture |
37 |
+ |
/// </summary> |
38 |
|
public const string Undefined = "Undefined"; |
39 |
+ |
/// <summary> |
40 |
+ |
/// Represents a 32-bit processor arcitecture |
41 |
+ |
/// </summary> |
42 |
|
public const string x86 = "x86"; |
43 |
+ |
/// <summary> |
44 |
+ |
/// Represents a 64-bit processor arcitecture |
45 |
+ |
/// </summary> |
46 |
|
public const string x64 = "x64"; |
47 |
< |
public const string Amd64 = "Amd64"; |
47 |
> |
/// <summary> |
48 |
> |
/// Represents a 64-bit processor arcitecture (this is equivalent to x64, this is just Amd's nameing convention) |
49 |
> |
/// </summary> |
50 |
> |
public const string Amd64 = x64; |
51 |
> |
/// <summary> |
52 |
> |
/// Represents am Itanium 64-bit processor arcitecture |
53 |
> |
/// </summary> |
54 |
|
public const string Ia64 = "Ia64"; |
55 |
+ |
/// <summary> |
56 |
+ |
/// Represents a 32-bit and 64-bit processor arcitecture (it will run in 32-bit mode for 32-bit systems and 64-bit for non-32bit systems) |
57 |
+ |
/// </summary> |
58 |
|
public const string AnyCpu = "AnyCpu"; |
59 |
< |
public const string Msil = "Msil"; |
59 |
> |
/// <summary> |
60 |
> |
/// Represents a 32-bit and 64-bit processor arcitecture (refered to as AnyCpu) |
61 |
> |
/// </summary> |
62 |
> |
public const string Msil = AnyCpu; |
63 |
|
#endregion |
64 |
|
|
65 |
|
public static string GetProcessorArchitecture(Assembly t) |