Compiler Error CS1108

A parameter cannot have all the specified modifiers; there are too many modifiers on the parameter.

Certain combinations of parameter modifiers, such as ref and out, are not allowed because they have mutually exclusive meanings for the compiler.

Example

The following example generates CS1108:

// cs1108.cs
// Compile with: /target:library
public class Test
{
    // Regular Instance Method.
        public void TestMethod(ref out int i) {} // CS1108

}