HostListReceived symbol resolve

I am reading a book from Packtpub and it shows:

void OnMasterServerEvent(MasterServerEvent.HostListReceived)
    {
        loading = false;
    }

When I type this method in Visual Studio I get and error based on the HostListReceived.
I have looked in the scripting reference and from what I see I havent done anything wrong.

I do have unityengine referenced

okay I think I figured it out with more research… there is an error in the edition of the book I was using it seems. Unity Multiplayer Games, Packtpub:

void OnMasterServerEvent( MasterServerEvent msevent )
	{
		if( msevent == MasterServerEvent.HostListReceived )
		{
			// received the host list, no longer awaiting results
			loading = false;
		}
	}