Exemple #1
0
 public void GatherTypeReferences(ref Types.ITypeReferenceCollection result, Translation.ICodeTranslationOptions options)
 {
     if (this.leftSide != null)
     {
         this.leftSide.GatherTypeReferences(ref result, options);
     }
     if (this.rightSide != null)
     {
         this.rightSide.GatherTypeReferences(ref result, options);
     }
 }
Exemple #2
0
 public override void GatherTypeReferences(ref Types.ITypeReferenceCollection result, Translation.ICodeTranslationOptions options)
 {
     if (result == null)
     {
         result = new TypeReferenceCollection();
     }
     this.ExceptionExpression.GatherTypeReferences(ref result, options);
 }