Skip to content

Commit 713e067

Browse files
authored
Merge branch 'main' into existing_query
2 parents 7291cca + 9605c24 commit 713e067

File tree

3 files changed

+103
-98
lines changed

3 files changed

+103
-98
lines changed

InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,9 @@ HashSet<string> memberNames
535535
{{
536536
{@return}({returnType})______func(this.Client, ______arguments){configureAwait};
537537
}}
538-
catch (global::System.Exception ex)
538+
catch (global::System.Exception ______ex)
539539
{{
540-
throw ex;
540+
throw ______ex;
541541
}}
542542
"
543543
);

Refit.Tests/InheritedInterfacesApi.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ public interface IImplementTheInterfaceAndUseRefit : IAmInterfaceEWithNoRefit<in
6666
[Get("/DoSomethingElse")]
6767
public new Task DoSomethingElse();
6868
}
69+
public interface IMyClient
70+
{
71+
[Get("/")]
72+
Task MyMethodAsync(string ex);
73+
}
6974
}
7075

7176
namespace Refit.Tests.SeparateNamespaceWithModel

0 commit comments

Comments
 (0)