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