Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0031-7.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 310ac45e342fee0324cfa44def97fe0014b89c67 (plain)
1
2
3
4
5
6
// CS0031: Constant value `42' cannot be converted to a `string'
// Line: 5

class A {
  public static implicit operator string (A a) { return 42; }
}