We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mariusei/file-scanner-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Broken.cs•1.24 kB
/// <summary>
/// Broken C# file for testing error handling.
/// </summary>
using System;
using System.Collections.Generic
namespace MyApp.Broken
{
/// <summary>
/// Missing closing brace for class.
/// </summary>
public class BrokenClass
{
private string _value;
public BrokenClass(string value
{
_value = value;
}
// Missing method body closing brace
public void BrokenMethod()
{
Console.WriteLine("Test");
// Missing closing brace
/// Incomplete property
public string Value
{
get => _value
}
// Missing class closing brace
/// Another broken class
public class AnotherClass {
public void Method1() {
}
// Unclosed method
public void BrokenMethod2() {
if (true) {
Console.WriteLine("test")
}
}
// Syntax errors
public interface IBroken
string Property { get; set;
void Method(;
}
// Malformed enum
public enum BrokenEnum
{
Value1,
Value2
Value3,
}
public struct BrokenStruct
int X;
int Y;
}
}