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
40 lines
727 B
C#
40 lines
727 B
C#
//
|
|
// System.Reflection.AssemblyAlgorithmIdAttribute.cs
|
|
//
|
|
// Author: Duncan Mak <[email protected]>
|
|
//
|
|
// (C) 2002 Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
using System;
|
|
using System.Configuration.Assemblies;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
[AttributeUsage (AttributeTargets.Assembly)]
|
|
public sealed class AssemblyAlgorithmIdAttribute : Attribute
|
|
{
|
|
// Field
|
|
private uint id;
|
|
|
|
// Constructor
|
|
public AssemblyAlgorithmIdAttribute (AssemblyHashAlgorithm algorithmId)
|
|
{
|
|
id = (uint) algorithmId;
|
|
}
|
|
|
|
[CLSCompliant (false)]
|
|
public AssemblyAlgorithmIdAttribute (uint algorithmId)
|
|
{
|
|
id = algorithmId;
|
|
}
|
|
|
|
// Property
|
|
[CLSCompliant (false)]
|
|
public uint AlgorithmId
|
|
{
|
|
get { return id; }
|
|
}
|
|
}
|
|
}
|