5 overrides of GetConstantValue
System.Private.CoreLib (1)
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (1)
291
public sealed override object
GetConstantValue
() => GetConstantValue(raw: false);
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
121
public override object?
GetConstantValue
()
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
136
public sealed override object
GetConstantValue
()
System.Reflection.Emit (1)
System\Reflection\Emit\PropertyBuilderImpl.cs (1)
139
public override object?
GetConstantValue
() => _defaultValue == DBNull.Value ? null : _defaultValue;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
169
public sealed override object
GetConstantValue
() => throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
1 reference to GetConstantValue
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
123
return UnderlyingProperty.
GetConstantValue
();