public CompilationType(CompilationAssembly Context, XElement Data) { this.Data = Data; this.DeclaringAssembly = Context; this.FullName = Data.Element("FullName").Value; this.MetadataToken = Convert.ToInt32(Data.Element("MetadataToken").Value); }
public void WhenReady(Action<CompilationAssembly> yield) { if (LoadCache != null) { yield(LoadCache); return; } LoadImplementation( r => { LoadCache = new CompilationAssembly(this, r); yield(LoadCache); } ); }
public void WhenReady(Action <CompilationAssembly> yield) { if (LoadCache != null) { yield(LoadCache); return; } LoadImplementation( r => { LoadCache = new CompilationAssembly(this, r); yield(LoadCache); } ); }