3 types derived from CustomConstantAttribute
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DateTimeConstantAttribute.cs (1)
7public sealed class DateTimeConstantAttribute : CustomConstantAttribute
System.Runtime.InteropServices (2)
System\Runtime\CompilerServices\IDispatchConstantAttribute.cs (1)
11public sealed partial class IDispatchConstantAttribute : CustomConstantAttribute
System\Runtime\CompilerServices\IUnknownConstantAttribute.cs (1)
9public sealed partial class IUnknownConstantAttribute : CustomConstantAttribute
6 references to CustomConstantAttribute
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
538[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.CustomConstantAttribute))]
netstandard (1)
netstandard.cs (1)
1520[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.CustomConstantAttribute))]
System.Private.CoreLib (3)
src\System\Reflection\RuntimeParameterInfo.cs (3)
307else if (attributeType.IsSubclassOf(typeof(CustomConstantAttribute))) 321object[] customAttributes = GetCustomAttributes(typeof(CustomConstantAttribute), false); 323return ((CustomConstantAttribute)customAttributes[0]).Value;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
561[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.CustomConstantAttribute))]