public override void GatherTypeReferences(ref Types.ITypeReferenceCollection result, Translation.ICodeTranslationOptions options) { if (result == null) { result = new TypeReferenceCollection(); } this.ExceptionExpression.GatherTypeReferences(ref result, options); }
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); } }