Here are the examples of the csharp api class Drivers.Compiler.IL.ILLibrary.Flatten() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: FlingOS
Source File: ILLibrary.cs
Source File: ILLibrary.cs
public List<ILLibrary> Flatten() { List<ILLibrary> result = new List<ILLibrary>(); foreach (ILLibrary aDepLib in Dependencies) { List<ILLibrary> interimResult = aDepLib.Flatten(); foreach (ILLibrary subLib in interimResult) { if (!result.Contains(subLib)) { result.Add(subLib); } } } if (!result.Contains(this)) { result.Add(this); } return result; }