Skip to content

Commit 2795a0c

Browse files
committed
Fixed symbol name.
1 parent f2e4f12 commit 2795a0c

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Diff for: src/LightResults.Extensions.GeneratedIdentifier/GeneratedIdentifierSourceGenerator.cs

+11-11
Original file line numberDiff line numberDiff line change
@@ -293,18 +293,18 @@ public bool Equals({{symbolName}} other)
293293
"""
294294
);
295295
else
296-
source.AppendLine("""
297-
/// <inheritdoc />
298-
public bool Equals(TestStringId? other)
299-
{
300-
if (other is null)
301-
return false;
302-
if (ReferenceEquals(this, other))
303-
return true;
304-
return _value == other._value;
305-
}
296+
source.AppendLine($$"""
297+
/// <inheritdoc />
298+
public bool Equals({{symbolName}}? other)
299+
{
300+
if (other is null)
301+
return false;
302+
if (ReferenceEquals(this, other))
303+
return true;
304+
return _value == other._value;
305+
}
306306
307-
"""
307+
"""
308308
);
309309

310310
if (isStruct)

Diff for: src/LightResults.Extensions.GeneratedIdentifier/LightResults.Extensions.GeneratedIdentifier.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<!-- Output -->
3737
<PropertyGroup>
3838
<AssemblyName>LightResults.Extensions.GeneratedIdentifier</AssemblyName>
39-
<Version>9.0.0-preview.5</Version>
39+
<Version>9.0.0-preview.6</Version>
4040
<AssemblyVersion>9.0.0.0</AssemblyVersion>
4141
<FileVersion>9.0.0.0</FileVersion>
4242
<NeutralLanguage>en-US</NeutralLanguage>

0 commit comments

Comments
 (0)