Skip to content

Commit f61784a

Browse files
committed
Fixing compiler error
1 parent 6428259 commit f61784a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/EverythingServer/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ await ctx.Server.RequestSamplingAsync([
124124
{ "resourceId", ["1", "2", "3", "4", "5"] }
125125
};
126126

127-
if (ctx.Params is not { } params)
127+
if (ctx.Params is not { } @params)
128128
{
129129
throw new NotSupportedException($"Params are required.");
130130
}
131131

132-
var @ref = params.Ref;
133-
var argument = params.Argument;
132+
var @ref = @params.Ref;
133+
var argument = @params.Argument;
134134

135135
if (@ref.Type == "ref/resource")
136136
{

0 commit comments

Comments
 (0)