Skip to content

Commit e127c2a

Browse files
AndreyAkinshinrladuca
authored andcommitted
Remove extra semicolons (dotnet#63)
1 parent 4718b86 commit e127c2a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ServiceProviderContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ AmbientPropertyValue IAmbientProvider.GetFirstAmbientValue(
140140
if (property == null)
141141
{
142142
// we don't allow any property to be null
143-
throw new ArgumentException(SR.Get(SRID.ValueInArrayIsNull, "properties"));;
143+
throw new ArgumentException(SR.Get(SRID.ValueInArrayIsNull, "properties"));
144144
}
145145
}
146146

src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/NodeStreamSorter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ private bool AdvanceToNextInstancingMember(int current, int depth, out int end)
595595
current = end;
596596
originalIdx = _sortingInfoArray[current].OriginalOrderIndex;
597597
nextMember = _originalNodesInOrder[originalIdx].Member;
598-
};
598+
}
599599
return true;
600600
}
601601

@@ -615,7 +615,7 @@ private bool AdvanceToNextCtorDirective(int current, int depth, out int end)
615615
current = end;
616616
originalIdx = _sortingInfoArray[current].OriginalOrderIndex;
617617
member = _originalNodesInOrder[originalIdx].Member;
618-
};
618+
}
619619
return true;
620620
}
621621

src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPullParser.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ public IEnumerable<XamlNode> P_ElementContent()
580580
if (isXDataText)
581581
{
582582
yield return Logic_EndMember();
583-
yield return Logic_EndObject(); ;
583+
yield return Logic_EndObject();
584584
}
585585
}
586586
else
@@ -707,7 +707,7 @@ public IEnumerable<XamlNode> P_PropertyContent()
707707
if (isTextXML)
708708
{
709709
yield return Logic_EndMember();
710-
yield return Logic_EndObject(); ;
710+
yield return Logic_EndObject();
711711
}
712712
}
713713
else

src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlValueConverter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public override bool Equals(object obj)
121121

122122
public override int GetHashCode()
123123
{
124-
int result = Name.GetHashCode();;
124+
int result = Name.GetHashCode();
125125
if (ConverterType != null)
126126
{
127127
result ^= ConverterType.GetHashCode();

0 commit comments

Comments
 (0)