Mono.CSharp.AnonymousMethodBody.FindBestMethodStorey C# (CSharp) 메소드

FindBestMethodStorey() 개인적인 메소드

private FindBestMethodStorey ( ) : AnonymousMethodStorey
리턴 AnonymousMethodStorey
		AnonymousMethodStorey FindBestMethodStorey ()
		{
			//
			// Use the nearest parent block which has a storey
			//
			for (Block b = Block.Parent; b != null; b = b.Parent) {
				AnonymousMethodStorey s = b.Explicit.AnonymousMethodStorey;
				if (s != null)
					return s;
			}
					
			return null;
		}