﻿<?xml version="1.0" encoding="utf-8"?><Type Name="CustomConstantAttribute" FullName="System.Runtime.CompilerServices.CustomConstantAttribute"><TypeSignature Maintainer="auto" Language="C#" Value="public abstract class CustomConstantAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi abstract serializable beforefieldinit CustomConstantAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.All, Inherited=false)</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You can apply this attribute to fields or parameters.</para><para>This class cannot be instantiated.</para><para>Compilers should create specific classes, derived from this class, that define the type of the constant value. For example, see the <see cref="T:System.Runtime.CompilerServices.DateTimeConstantAttribute" />, which allows a compiler to persist an 8-byte <see cref="T:System.DateTime" /> constant for a field or method parameter. If you are using <see cref="N:System.Reflection" />, this pattern of deriving specific classes from <see cref="T:System.Runtime.CompilerServices.CustomConstantAttribute" /> enables you to find all occurrences of custom constant attributes easily.</para><para>The classes in <see cref="N:System.Runtime.CompilerServices" /> are for compiler writers' use only.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines a constant value that a compiler can persist for a field or method parameter.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected CustomConstantAttribute ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The classes in <see cref="N:System.Runtime.CompilerServices" /> are for compiler writers' use only.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CustomConstantAttribute" /> class. </para></summary></Docs></Member><Member MemberName="Value"><MemberSignature Language="C#" Value="public abstract object Value { get; }" /><MemberSignature Language="ILAsm" Value=".property instance object Value" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'object'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the constant value stored by this attribute.</para></summary></Docs></Member></Members></Type>