Appearance
| 1 | namespace Semantic.DotNet is | |
| 2 | use Collections.Iterable | |
| 3 | ||
| 4 | // Adding assemblies to a reference set a process is already holding. | |
| 5 | // Lookups a compile made before the addition may have recorded as | |
| 6 | // finding nothing, and a name one of the new assemblies declares | |
| 7 | // would then keep finding nothing, so those records are dropped | |
| 8 | // whatever else happens. | |
| 9 | class ADDITIONAL_REFERENCES is | |
| 10 | add(container: IoC.CONTAINER, paths: Iterable[string]) static is | |
| 11 | try | |
| 12 | for path in paths do | |
| 13 | container.assemblies.import_additional(path) | |
| 14 | od | |
| 15 | finally | |
| 16 | container.dotnet_symbol_table.value.forget_no_results() | |
| 17 | yrt | |
| 18 | si | |
| 19 | si | |
| 20 | si |