The F# inline function is a function that is integrated directly into the calling code. It helps to optimize code and sometimes can improve performance too.
Example :
type InlineClass() =
class
member inline this.inlineFunction(a) = a*a
end
let obj = new InlineClass()
let result = obj.inlineFunction 2
printf "%d" result