Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ internal static void CalcGeometryAndBounds(StrokeNodeIterator iterator,
// | |----| |
// |------------|
//
prevPrevStrokeNode = iterator[index - 1, prevPrevStrokeNode.Index - 1]; ;
prevPrevStrokeNode = iterator[index - 1, prevPrevStrokeNode.Index - 1];
prevPrevStrokeNodeBounds = Rect.Union(prevStrokeNodeBounds, prevPrevStrokeNodeBounds);

// at this point prevPrevStrokeNodeBounds already contains this node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo c
string modifiersToken;

if (fullName.Length == 0)
return new MouseGesture(MouseAction.None, ModifierKeys.None); ;
return new MouseGesture(MouseAction.None, ModifierKeys.None);

// break apart LocalName and Prefix
int Offset = fullName.LastIndexOf(MODIFIERS_DELIMITER);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal WispLogic(InputManager inputManager)
{
Statistics.FeaturesUsed |= StylusTraceLogger.FeatureFlags.WispStackEnabled;

_inputManager = new SecurityCriticalData<InputManager>(inputManager); ;
_inputManager = new SecurityCriticalData<InputManager>(inputManager);
_inputManager.Value.PreProcessInput += new PreProcessInputEventHandler(PreProcessInput);
_inputManager.Value.PreNotifyInput += new NotifyInputEventHandler(PreNotifyInput);
_inputManager.Value.PostProcessInput += new ProcessInputEventHandler(PostProcessInput);
Expand Down Expand Up @@ -885,7 +885,7 @@ private void PreProcessInput(object sender, PreProcessInputEventArgs e)
else if (input.Report.Type == InputType.Stylus)
{
RawStylusInputReport stylusInputReport = (RawStylusInputReport)input.Report;
WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.As<WispStylusDevice>(); ; // RTI sets this if it finds StylusDevice based on Id.
WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.As<WispStylusDevice>(); // RTI sets this if it finds StylusDevice based on Id.
bool cancelInput = true; // Only process if we see we have valid input data.

if (stylusInputReport.InputSource != null && stylusInputReport.PenContext != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ internal static bool IsPerMonitorDpiScalingSupportedOnCurrentPlatform
{
get
{
return OSVersionHelper.IsOsWindows10RS1OrGreater; ;
return OSVersionHelper.IsOsWindows10RS1OrGreater;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo c

return new FontFamily(baseUri, s);
}
return base.ConvertFrom(context, cultureInfo, o); ;
return base.ConvertFrom(context, cultureInfo, o);
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static void RemoveSourceChangedHandler(IInputElement e, SourceChangedEven
}
if (info == null || info.Count == 0)
{
uie.VisualAncestorChanged -= new Visual.AncestorChangedEventHandler(uie.OnVisualAncestorChanged); ;
uie.VisualAncestorChanged -= new Visual.AncestorChangedEventHandler(uie.OnVisualAncestorChanged);
RemoveElementFromWatchList(uie);
}
}
Expand All @@ -234,7 +234,7 @@ public static void RemoveSourceChangedHandler(IInputElement e, SourceChangedEven
}
if (info == null || info.Count == 0)
{
uie3D.VisualAncestorChanged -= new Visual.AncestorChangedEventHandler(uie3D.OnVisualAncestorChanged); ;
uie3D.VisualAncestorChanged -= new Visual.AncestorChangedEventHandler(uie3D.OnVisualAncestorChanged);
RemoveElementFromWatchList(uie3D);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected JournalEntryPageFunction(SerializationInfo info, StreamingContext cont
: base(info, context)
{
_pageFunctionId = (Guid)info.GetValue("_pageFunctionId", typeof(Guid));
_parentPageFunctionId = (Guid)info.GetValue("_parentPageFunctionId", typeof(Guid)); ;
_parentPageFunctionId = (Guid)info.GetValue("_parentPageFunctionId", typeof(Guid));
}

//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ internal Rect[] GetBoundingRectangles(ITextPointer start, ITextPointer end, bool
{
if (!textView.Contains(start) && start.CompareTo(textSegments[0].Start) < 0)
{
start = textSegments[0].Start.CreatePointer(); ;
start = textSegments[0].Start.CreatePointer();
}
if (!textView.Contains(end) && end.CompareTo(textSegments[textSegments.Count-1].End) > 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8641,7 +8641,7 @@ internal void ProcessImage(FormatState formatState)
{
// Read the windows metafile from the rtf content and then convert it
// to bitmap data then save it as PNG on the container image part
MemoryStream metafileStream = new MemoryStream(); ;
MemoryStream metafileStream = new MemoryStream();

using (metafileStream)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -841,12 +841,12 @@ void ITextSelection.ExtendSelectionByMouse(ITextPointer cursorPosition, bool for
if (anchorWordRange.Start.CompareTo(cursorWordRange.Start) <= 0)
{
startPosition = anchorWordRange.Start.GetFrozenPointer(LogicalDirection.Forward);
movingPosition = cursorWordRange.End.GetFrozenPointer(LogicalDirection.Backward); ;
movingPosition = cursorWordRange.End.GetFrozenPointer(LogicalDirection.Backward);
}
else
{
startPosition = anchorWordRange.End.GetFrozenPointer(LogicalDirection.Backward);
movingPosition = cursorWordRange.Start.GetFrozenPointer(LogicalDirection.Forward); ;
movingPosition = cursorWordRange.Start.GetFrozenPointer(LogicalDirection.Forward);
}

// Note that we use includeCellAtMovingPosition=true because we want that hit-tested table cell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public override ShouldSerializeResult ShouldSerializeValue(object instance)
Type declaringType = _member.UnderlyingMember.DeclaringType;
string methodName = $"ShouldSerialize{_member.Name}";
BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static;
Type[] args = new Type[] { typeof(DependencyObject) }; ;
Type[] args = new Type[] { typeof(DependencyObject) };
if (_member.IsAttachable)
{
_shouldSerializeMethod = declaringType.GetMethod(methodName, flags, null, args, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public override ShouldSerializeResult ShouldSerializeValue(object instance)
Type declaringType = _member.UnderlyingMember.DeclaringType;
string methodName = $"ShouldSerialize{_member.Name}";
BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static;
Type[] args = new Type[] { typeof(DependencyObject) }; ;
Type[] args = new Type[] { typeof(DependencyObject) };
if (_member.IsAttachable)
{
_shouldSerializeMethod = declaringType.GetMethod(methodName, flags, null, args, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ internal int Id
/// </summary>
internal Guid NavigationServiceId
{
get { return _jeGroupState.NavigationServiceId; ; }
get { return _jeGroupState.NavigationServiceId; }
}

/// <summary>
Expand Down