Example #1
0
 bool InternalAddReference(string assemblyLocation) {
     
     var refc = new CompileReference(assemblyLocation);
     var existed = _references.Find(p=>p.MetadataReference.Equals(refc));
     if (existed!=null) return false;
     _references.Add(refc);
     return true;
 }
Example #2
0
 bool InternalAddReference(IArtifact artifact) {
     var refc = new CompileReference(artifact);
     var existed = _references.Find(p => p.MetadataReference.Equals(refc));
     if (existed != null) return false;
     _references.Add(refc);
     return true;
 }