C# array of objects update with type safety

Been looking and I have yet to come across a way to make this type safe.

var setDef = Builders<TOrganization>.Update.Set("members.$.someField", "the value");

Any idea if it is possible?