/// <summary> /// Creates a field. /// </summary> /// <param name="typeBuilder">A type builder.</param> /// <param name="fieldName">The name of the field.</param> /// <returns>A field builder.</returns> public static IFieldBuilder NewField <T>(this ITypeBuilder typeBuilder, string fieldName) { return(typeBuilder.NewField(fieldName, typeof(T))); }