DuplicateSymbolException CLASS

There are two or more symbols in the current context with the same name. This exception is a special case of BadSyntaxException.

Parent Class

All Members


TypeNameSignature
constructorDuplicateSymbolExceptionpublic DuplicateSymbolException(string)

Constructors


public DuplicateSymbolException(string msg)

Create a new instance of DuplicateSymbolException with given message. While entirely legal, it's not recommended for a user to create such instances.

Parameters

  • msg The message for this exception.