Mono.CSharp.Switch.FindSection C# (CSharp) Method

FindSection() private method

private FindSection ( SwitchLabel label ) : SwitchSection
label SwitchLabel
return SwitchSection
		SwitchSection FindSection (SwitchLabel label)
		{
			foreach (SwitchSection ss in Sections){
				foreach (SwitchLabel sl in ss.Labels){
					if (label == sl)
						return ss;
				}
			}

			return null;
		}