public void AddCoercibleType(Type t, TypeCoercionDelegate coercionDelegate) { lock (this) { if (_coerceableTypes == null) { _coerceableTypes = new Dictionary<Type, TypeCoercionDelegate>(); } _coerceableTypes.Add(t, coercionDelegate); } }