[source,csharp]
----
public class FirstClass
{
    private void UpdateMatrix(int[][] matrix) // Compliant: method is private
    {
        // ...
    }
}

internal class SecondClass
{
    public void UpdateMatrix(int[][] matrix) // Compliant: class is internal
    {
        // ...
    }
}
----