diff --git a/src/csharp/Grpc.Examples/MathGrpc.cs b/src/csharp/Grpc.Examples/MathGrpc.cs
index 8315b2be82e..fab64354411 100644
--- a/src/csharp/Grpc.Examples/MathGrpc.cs
+++ b/src/csharp/Grpc.Examples/MathGrpc.cs
@@ -67,7 +67,7 @@ namespace Math {
}
/// Base class for server-side implementations of Math
- [grpc::BindService(typeof(Math), "BindService")]
+ [grpc::BindServiceMethod(typeof(Math), "BindService")]
public abstract partial class MathBase
{
///
diff --git a/src/csharp/Grpc.HealthCheck/HealthGrpc.cs b/src/csharp/Grpc.HealthCheck/HealthGrpc.cs
index bc7ae6cedf1..7137b907274 100644
--- a/src/csharp/Grpc.HealthCheck/HealthGrpc.cs
+++ b/src/csharp/Grpc.HealthCheck/HealthGrpc.cs
@@ -54,7 +54,7 @@ namespace Grpc.Health.V1 {
}
/// Base class for server-side implementations of Health
- [grpc::BindService(typeof(Health), "BindService")]
+ [grpc::BindServiceMethod(typeof(Health), "BindService")]
public abstract partial class HealthBase
{
///
diff --git a/src/csharp/Grpc.IntegrationTesting/BenchmarkServiceGrpc.cs b/src/csharp/Grpc.IntegrationTesting/BenchmarkServiceGrpc.cs
index 00821bb41bd..5b37b144f2a 100644
--- a/src/csharp/Grpc.IntegrationTesting/BenchmarkServiceGrpc.cs
+++ b/src/csharp/Grpc.IntegrationTesting/BenchmarkServiceGrpc.cs
@@ -74,7 +74,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of BenchmarkService
- [grpc::BindService(typeof(BenchmarkService), "BindService")]
+ [grpc::BindServiceMethod(typeof(BenchmarkService), "BindService")]
public abstract partial class BenchmarkServiceBase
{
///
diff --git a/src/csharp/Grpc.IntegrationTesting/EmptyServiceGrpc.cs b/src/csharp/Grpc.IntegrationTesting/EmptyServiceGrpc.cs
index 20f415f72de..50c6e159206 100644
--- a/src/csharp/Grpc.IntegrationTesting/EmptyServiceGrpc.cs
+++ b/src/csharp/Grpc.IntegrationTesting/EmptyServiceGrpc.cs
@@ -39,7 +39,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of EmptyService
- [grpc::BindService(typeof(EmptyService), "BindService")]
+ [grpc::BindServiceMethod(typeof(EmptyService), "BindService")]
public abstract partial class EmptyServiceBase
{
}
diff --git a/src/csharp/Grpc.IntegrationTesting/MetricsGrpc.cs b/src/csharp/Grpc.IntegrationTesting/MetricsGrpc.cs
index 6e59d1eb6c1..9b11e990d2d 100644
--- a/src/csharp/Grpc.IntegrationTesting/MetricsGrpc.cs
+++ b/src/csharp/Grpc.IntegrationTesting/MetricsGrpc.cs
@@ -58,7 +58,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of MetricsService
- [grpc::BindService(typeof(MetricsService), "BindService")]
+ [grpc::BindServiceMethod(typeof(MetricsService), "BindService")]
public abstract partial class MetricsServiceBase
{
///
diff --git a/src/csharp/Grpc.IntegrationTesting/ReportQpsScenarioServiceGrpc.cs b/src/csharp/Grpc.IntegrationTesting/ReportQpsScenarioServiceGrpc.cs
index b86dfbf7ec9..1a505ebc764 100644
--- a/src/csharp/Grpc.IntegrationTesting/ReportQpsScenarioServiceGrpc.cs
+++ b/src/csharp/Grpc.IntegrationTesting/ReportQpsScenarioServiceGrpc.cs
@@ -46,7 +46,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of ReportQpsScenarioService
- [grpc::BindService(typeof(ReportQpsScenarioService), "BindService")]
+ [grpc::BindServiceMethod(typeof(ReportQpsScenarioService), "BindService")]
public abstract partial class ReportQpsScenarioServiceBase
{
///
diff --git a/src/csharp/Grpc.IntegrationTesting/TestGrpc.cs b/src/csharp/Grpc.IntegrationTesting/TestGrpc.cs
index c4aa5249ab9..e7b93094c65 100644
--- a/src/csharp/Grpc.IntegrationTesting/TestGrpc.cs
+++ b/src/csharp/Grpc.IntegrationTesting/TestGrpc.cs
@@ -105,7 +105,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of TestService
- [grpc::BindService(typeof(TestService), "BindService")]
+ [grpc::BindServiceMethod(typeof(TestService), "BindService")]
public abstract partial class TestServiceBase
{
///
@@ -581,7 +581,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of UnimplementedService
- [grpc::BindService(typeof(UnimplementedService), "BindService")]
+ [grpc::BindServiceMethod(typeof(UnimplementedService), "BindService")]
public abstract partial class UnimplementedServiceBase
{
///
@@ -721,7 +721,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of ReconnectService
- [grpc::BindService(typeof(ReconnectService), "BindService")]
+ [grpc::BindServiceMethod(typeof(ReconnectService), "BindService")]
public abstract partial class ReconnectServiceBase
{
public virtual global::System.Threading.Tasks.Task Start(global::Grpc.Testing.ReconnectParams request, grpc::ServerCallContext context)
diff --git a/src/csharp/Grpc.IntegrationTesting/WorkerServiceGrpc.cs b/src/csharp/Grpc.IntegrationTesting/WorkerServiceGrpc.cs
index 5c079a5ec43..14c26f99a6b 100644
--- a/src/csharp/Grpc.IntegrationTesting/WorkerServiceGrpc.cs
+++ b/src/csharp/Grpc.IntegrationTesting/WorkerServiceGrpc.cs
@@ -72,7 +72,7 @@ namespace Grpc.Testing {
}
/// Base class for server-side implementations of WorkerService
- [grpc::BindService(typeof(WorkerService), "BindService")]
+ [grpc::BindServiceMethod(typeof(WorkerService), "BindService")]
public abstract partial class WorkerServiceBase
{
///
diff --git a/src/csharp/Grpc.Reflection/ReflectionGrpc.cs b/src/csharp/Grpc.Reflection/ReflectionGrpc.cs
index 768879bd2a1..f97b3143a69 100644
--- a/src/csharp/Grpc.Reflection/ReflectionGrpc.cs
+++ b/src/csharp/Grpc.Reflection/ReflectionGrpc.cs
@@ -46,7 +46,7 @@ namespace Grpc.Reflection.V1Alpha {
}
/// Base class for server-side implementations of ServerReflection
- [grpc::BindService(typeof(ServerReflection), "BindService")]
+ [grpc::BindServiceMethod(typeof(ServerReflection), "BindService")]
public abstract partial class ServerReflectionBase
{
///