'Gunfire.Gunfire' member names cannot be the same as their enclosed type

Hello,

I am trying to create an FPS. What I am currently doing is trying to have the gun do a certain animation when a certain button is pressed, as I did with the audio. But when I try to play my scene after trying to apply said animation, the error in the title pops up. Any help is greatly appreciated. I am also using C#. 99349-screen-shot-2017-08-06-at-115636-pm.png

You can’t have variable names that are the same as the class name.

Rename

private Animator GunFire;

to

private Animator GunFireAnimator;