Error CS0120: An object reference is required to access non-static member (167675)

private float mF;

[Range(0f, mF)]
public int minimapCamFOV;

I know the error is in the third line, but I don’t know why.

It’s the same as why you can’t write this:

 private float mF;
 
 public int minimapCamFOV = mF;

Which is covered here: Compiler Error CS0236 | Microsoft Learn