2 overrides of GetRawConstantValue
mscorlib (2)
system\reflection\fieldinfo.cs (2)
740
public override object
GetRawConstantValue
() { throw new InvalidOperationException(); }
916
public unsafe override Object
GetRawConstantValue
() { return GetValue(true); }
8 references to GetRawConstantValue
mscorlib (5)
system\diagnostics\eventing\eventsource.cs (4)
3605
int value = (int)staticField.
GetRawConstantValue
();
3611
int value = (int)staticField.
GetRawConstantValue
();
3617
ulong value = unchecked((ulong)(long)staticField.
GetRawConstantValue
());
6422
object constantValObj = staticField.
GetRawConstantValue
();
system\type.cs (1)
1432
values[i] = flds[i].
GetRawConstantValue
();
PresentationBuildTasks (1)
Framework\System\Windows\Markup\BamlRecords.cs (1)
2616
object rawEnumValue = enumField.
GetRawConstantValue
();
PresentationFramework (1)
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
2616
object rawEnumValue = enumField.
GetRawConstantValue
();
System.Core (1)
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
704
EmitConstant(fi.
GetRawConstantValue
(), fi.FieldType);