Turn static fields into instance fields.
authorJonathan Pryor <jonpryor@vt.edu>
Mon, 14 Jun 2010 17:01:56 +0000 (13:01 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Mon, 14 Jun 2010 17:01:56 +0000 (13:01 -0400)
commit1e49641bd07a31eb452ef6b19729cb5019fba1aa
tree0c301efcfe21a62fa154b01c7e910c8d1ba60c80
parent56999b6a4df076116b98b1fdbd57391754547d28
Turn static fields into instance fields.

It's possible that the static constructor could throw an exception during
construction if e.g. `T` doesn't support conversion from/to Int32.  This would
be bad, as it would result in a TypeLoadException, which would prevent others
from e.g. using ExpressionMath<T> as a base class for their own use.

Thus, turn these fields into instance fields.  If an exception is generated,
it'll be from the instance constructor and NOT a TypeLoadException.
src/Cadenza.Core/Cadenza.Numerics/ExpressionMath.cs