public void SetFieldToScalar(object root, string value, TranslationContext translationContext) { if (ScalarType != null && !ScalarType.IsMarshallOnly) { ScalarType.SetField(root, field, value, dataFormat, translationContext); } }