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

dependency.cs « wasm « sdks - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d4f6962d61d913578fe33cf0246ae54700fd050f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;

namespace Simple {
	public class Complex {
		public int A { get; set; }
		public string B { get; set; }
		object c;

		public Complex (int a, string b) {
			A = a;
			B = b;
			this.c = this;
		}

		public int DoStuff () {
			return DoOtherStuff ();
		}

		public int DoOtherStuff () {
			return DoEvenMoreStuff () - 1;
		}

		public int DoEvenMoreStuff () {
			return 1 + BreakOnThisMethod ();
		}

		public int BreakOnThisMethod () {
			var x = A + 10;
			c = $"{x}_{B}";

			return x;
		}
	}
}