Files
Dec2017-Script-Dump/mscorlib/System/Runtime/CompilerServices/IUnknownConstantAttribute.cs
T
2026-06-04 11:42:34 +02:00

26 lines
1.0 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates that the default value for the attributed field or parameter is an instance of <see cref="T:System.Runtime.InteropServices.UnknownWrapper" />, where the <see cref="P:System.Runtime.InteropServices.UnknownWrapper.WrappedObject" /> is null. This class cannot be inherited. </summary>
// Token: 0x0200029E RID: 670
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
[ComVisible(true)]
[Serializable]
public sealed class IUnknownConstantAttribute : CustomConstantAttribute
{
/// <summary>Gets the IUnknown constant stored in this attribute.</summary>
/// <returns>The IUnknown constant stored in this attribute. Only null is allowed for an IUnknown constant value.</returns>
// Token: 0x17000632 RID: 1586
// (get) Token: 0x060020F5 RID: 8437 RVA: 0x00078C48 File Offset: 0x00076E48
public override object Value
{
get
{
return null;
}
}
}
}