diff --git a/src/MulticastService.cs b/src/MulticastService.cs
index d39491b..1f09659 100644
--- a/src/MulticastService.cs
+++ b/src/MulticastService.cs
@@ -381,7 +381,7 @@ void checkResponse(object s, MessageEventArgs e)
///
/// A domain name that should end with ".local", e.g. "myservice.local".
///
- ///
+ ///
/// The class, defaults to .
///
///
@@ -394,7 +394,7 @@ void checkResponse(object s, MessageEventArgs e)
///
/// When the service has not started.
///
- public void SendQuery(DomainName name, DnsClass klass = DnsClass.IN, DnsType type = DnsType.ANY)
+ public void SendQuery(DomainName name, DnsClass @class = DnsClass.IN, DnsType type = DnsType.ANY)
{
var msg = new Message
{
@@ -404,7 +404,7 @@ public void SendQuery(DomainName name, DnsClass klass = DnsClass.IN, DnsType typ
msg.Questions.Add(new Question
{
Name = name,
- Class = klass,
+ Class = @class,
Type = type
});
@@ -417,7 +417,7 @@ public void SendQuery(DomainName name, DnsClass klass = DnsClass.IN, DnsType typ
///
/// A domain name that should end with ".local", e.g. "myservice.local".
///
- ///
+ ///
/// The class, defaults to .
///
///
@@ -431,7 +431,7 @@ public void SendQuery(DomainName name, DnsClass klass = DnsClass.IN, DnsType typ
///
/// When the service has not started.
///
- public void SendUnicastQuery(DomainName name, DnsClass klass = DnsClass.IN, DnsType type = DnsType.ANY)
+ public void SendUnicastQuery(DomainName name, DnsClass @class = DnsClass.IN, DnsType type = DnsType.ANY)
{
var msg = new Message
{
@@ -441,7 +441,7 @@ public void SendUnicastQuery(DomainName name, DnsClass klass = DnsClass.IN, DnsT
msg.Questions.Add(new Question
{
Name = name,
- Class = (DnsClass) ((ushort)klass | 0x8000),
+ Class = (DnsClass) ((ushort)class | 0x8000),
Type = type
});