System.Runtime.CompilerServices.IsSignUnspecifiedByte Class

Indicates that a modifier is neither signed nor unsigned. This class cannot be inherited.

See Also: IsSignUnspecifiedByte Members


public static class IsSignUnspecifiedByte


Some programming languages, such as C++, recognize three distinct char values: signed char, unsigned char, and char. To distinguish the unmodified char type from the others, the Microsoft C++ compiler adds the System.Runtime.CompilerServices.IsSignUnspecifiedByte modifier to each char type emitted to an assembly.

Compilers emit custom modifiers within metadata to change the way that the just-in-time (JIT) compiler handles values when the default behavior is not appropriate. When the JIT compiler encounters a custom modifier, it handles the value in the way that the modifier specifies. Compilers can apply custom modifiers to methods, parameters, and return values. The JIT compiler must respond to required modifiers but can ignore optional modifiers.

You can emit custom modifiers into metadata using one of the following techniques:


Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0