class_blacklist = {
    'System.Threading.ParameterizedThreadStart',
    'System.Threading.Thread',
    'System.Threading.Tasks',
}

method_blacklist = {
    'System.Object::.ctor()',
    'System.Console::Write(string, object)',
    'System.Console::WriteLine()',
    'System.Console::Write(string)',
    'System.Console::Write(int32)',
    'System.Console::WriteLine(string)',
    'System.Console::Write(object)',
    'System.Console::WriteLine(object)',
    'System.Console::WriteLine(bool)',
    'System.Console::WriteLine(char)',
    'System.Console::WriteLine(int32)',
    'System.Console::WriteLine(float64)',
    'System.Console::WriteLine(string, object)',
    'System.Console::WriteLine(string, object, object)',
    'System.Console::WriteLine(string, object, object, object)',
    'System.Console::set_WindowHeight(int32)',
    'System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array, System.RuntimeFieldHandle)'
}

def contains(invocation):
    class_name, _ = invocation.split('::')
    if class_name in class_blacklist:
        return True
    elif invocation in method_blacklist:
        return True
    else:
        return False