Skip to content

bplubell/BlazorReflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blazor trouble with reflection

Blazor (or more likely its underlying wasm runtime) is not emitting all the members of types. I have only specifically tested System.Math.

If you try accessing a missing member, such as PI, it is still correctly computed and returned.

Results for System.Math

Expected Actual
Abs Abs
Acos
Acosh
Asin
Asinh
Atan
Atan2
Atanh
BigMul
BitDecrement
BitIncrement
Cbrt
Ceiling
Clamp Clamp
CopySign
Cos
Cosh
DivRem
E
Equals Equals
Exp
Floor
FusedMultiplyAdd
GetHashCode GetHashCode
GetType GetType
IEEERemainder
ILogB
Log
Log10
Log2
Max Max
MaxMagnitude
Min Min
MinMagnitude
PI
Pow Pow
Round Round
ScaleB
Sign Sign
Sin
Sinh
Sqrt Sqrt
Tan
Tanh
ToString ToString
Truncate

About

Illustrating an error with the Blazor runtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published