RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Strange error RazorNegotiator.cs

Formosa

Traveler
Warnings:
+ Customs/RazorNegotiator.cs:
CS0162: Line 160: Unreachable code detected

does anyone know what is wrong?
2.2and2.3 same happens

now version razor 1.0.13.5
 

Attachments

  • RazorNegotiator.cs
    6.7 KB · Views: 2

MarciXs

Sorceror
It's cause it's a const bool.

I mean there's no way it's gonna change on the runtime... when you set it that's it.

And that is a warning not an error

you could still run server with a method like this
public void something()
{
return;
int e = 100;
Console.WriteLine(e);
}
 
Top