Skip to content

Commit dfda18c

Browse files
committed
Fix typos
1 parent 70820fc commit dfda18c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Flow.Launcher.Localization.Analyzers/Localize/ContextAvailabilityAnalyzer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private static void AnalyzeNode(SyntaxNodeAnalysisContext context)
5757
{
5858
context.ReportDiagnostic(Diagnostic.Create(
5959
AnalyzerDiagnostics.ContextIsNotStatic,
60-
pluginClassInfo.CodeFixLocatioin
60+
pluginClassInfo.CodeFixLocation
6161
));
6262
return;
6363
}
@@ -66,7 +66,7 @@ private static void AnalyzeNode(SyntaxNodeAnalysisContext context)
6666
{
6767
context.ReportDiagnostic(Diagnostic.Create(
6868
AnalyzerDiagnostics.ContextAccessIsTooRestrictive,
69-
pluginClassInfo.CodeFixLocatioin
69+
pluginClassInfo.CodeFixLocation
7070
));
7171
return;
7272
}

Flow.Launcher.Localization.Shared/Classes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ public class PluginClassInfo
1010
public bool IsStatic { get; }
1111
public bool IsPrivate { get; }
1212
public bool IsProtected { get; }
13-
public Location CodeFixLocatioin { get; }
13+
public Location CodeFixLocation { get; }
1414

1515
public string ContextAccessor => $"{ClassName}.{PropertyName}";
1616
public bool IsValid => PropertyName != null && IsStatic && (!IsPrivate) && (!IsProtected);
1717

18-
public PluginClassInfo(Location location, string className, string propertyName, bool isStatic, bool isPrivate, bool isProtected, Location codeFixLocatioin)
18+
public PluginClassInfo(Location location, string className, string propertyName, bool isStatic, bool isPrivate, bool isProtected, Location codeFixLocation)
1919
{
2020
Location = location;
2121
ClassName = className;
2222
PropertyName = propertyName;
2323
IsStatic = isStatic;
2424
IsPrivate = isPrivate;
2525
IsProtected = isProtected;
26-
CodeFixLocatioin = codeFixLocatioin;
26+
CodeFixLocation = codeFixLocation;
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)