BUILT_IN_IDENTIFIER_AS_PREFIX_NAME constant

CompileTimeErrorCode const BUILT_IN_IDENTIFIER_AS_PREFIX_NAME

16.33 Identifier Reference: It is a compile-time error if a built-in identifier is used as the declared name of a prefix, class, type parameter or type alias.

Parameters: 0: the built-in identifier that is being used

Implementation

static const CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_PREFIX_NAME =
    CompileTimeErrorCode('BUILT_IN_IDENTIFIER_AS_PREFIX_NAME',
        "The built-in identifier '{0}' can't be used as a prefix name.",
        correction: "Try choosing a different name for the prefix.")