mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId property. * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign attribute. * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to Version. * BindingFlags.cs: Added missing value "PutRefDispProperty". * FieldAttributes.cs: Removed value "HasSecurity". * ManifestResourceInfo.cs: Added missing properties FileName, ReferencedAssembly and ResourceLocation. svn path=/trunk/mcs/; revision=3782
30 lines
503 B
C#
30 lines
503 B
C#
//
|
|
// System.Reflection.AssemblyFileVersionAttribute.cs
|
|
//
|
|
// Author: Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
namespace System.Reflection
|
|
{
|
|
[AttributeUsage (AttributeTargets.Assembly)]
|
|
public sealed class AssemblyFileVersionAttribute : Attribute
|
|
{
|
|
// Field
|
|
private string name;
|
|
|
|
// Constructor
|
|
public AssemblyFileVersionAttribute (string version)
|
|
{
|
|
name = version;
|
|
}
|
|
|
|
// Property
|
|
public string Version
|
|
{
|
|
get { return name; }
|
|
}
|
|
}
|
|
}
|