Skip to content

Commit

Permalink
Clean-up trailing white-spaces
Browse files Browse the repository at this point in the history
Remove final new-lines
Remove trailing white-spaces
  • Loading branch information
Nirmal4G authored and michael-hawker committed May 17, 2021
1 parent 4df2705 commit ae9e58e
Show file tree
Hide file tree
Showing 1,348 changed files with 2,337 additions and 2,358 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ If applicable, add screenshots to help explain your problem.
## Environment
<!-- Check one or more of the following options with "x" -->
```
NuGet Package(s):
NuGet Package(s):
Package Version(s):
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
Expand All @@ -64,9 +64,9 @@ Device form factor:
- [ ] Surface Hub
- [ ] IoT
Visual Studio
Visual Studio
- [ ] 2017 (version: )
- [ ] 2019 (version: )
- [ ] 2019 (version: )
- [ ] 2019 Preview (version: )
```
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ IF NOT CERTAIN ABOUT THE FEATURE AND REQUIRE MORE CLARITY THEN PLEASE POST ON "I

## Describe the problem this feature would solve
<!-- Please describe or link to any existing issues or discussions.
A clear and concise description of what the problem is, starting with the user story.
A clear and concise description of what the problem is, starting with the user story.
Provide examples of the restrictions in the current environment that hinders the work your users or you want to perform. What are the ways this new feature will help transform and deliver those results?
For example, I am currently using the InfiniteCanvas control which lacks the TabbedCommandBar control feature. I am looking to improve user experience therefore i would like to use that in my project to provide ease of accessibility and a user-friendly interface. This new feature will provide quick access to the toolbar, enhance space utilization, etc [...] -->

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/win32_controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Win32 Controls
about: I have an issue with a Toolkit WPF or WinForms control
title: "[Win32]"
labels:
labels:
assignees: ''

---
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Please check if your PR fulfills the following requirements:
- [ ] Header has been added to all new source files (run *build/UpdateHeaders.bat*)
- [ ] Contains **NO** breaking changes

<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below.
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below.
Please note that breaking changes are likely to be rejected within minor release cycles or held until major versions. -->


Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PackageIconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png</PackageIconUrl>
<PackageIcon>images\nuget.png</PackageIcon>
<PackageProjectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>https://github.com/windows-toolkit/WindowsCommunityToolkit/releases</PackageReleaseNotes>
<Copyright>(c) .NET Foundation and Contributors. All rights reserved.</Copyright>
<DefaultLanguage>en-US</DefaultLanguage>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</PropertyGroup>
</When>
</Choose>

<!--Exclude Notifications project from this since it sets different min versions than what we want for notifications-->
<Import Project="$(MSBuildThisFileDirectory)build\Windows.Toolkit.Uwp.Build.targets" Condition="'$(UseUWP)' == 'true' and $(MSBuildProjectName) != 'Microsoft.Toolkit.Uwp.Notifications'"/>

Expand Down
2 changes: 1 addition & 1 deletion GazeInputTest/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
xmlns:local="using:GazeInputTest"
RequestedTheme="Light">

</Application>
</Application>
2 changes: 1 addition & 1 deletion GazeInputTest/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ private void OnSuspending(object sender, SuspendingEventArgs e)
deferral.Complete();
}
}
}
}
2 changes: 1 addition & 1 deletion GazeInputTest/GazeInputTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
Expand Down
4 changes: 2 additions & 2 deletions GazeInputTest/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
xmlns:g="using:Microsoft.Toolkit.Uwp.Input.GazeInteraction"
g:GazeInput.Interaction="Enabled"
mc:Ignorable="d">

<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

<Grid.RowDefinitions>
Expand Down Expand Up @@ -53,4 +53,4 @@
<Button Grid.Column="1" Content="Dialog" Margin="4" HorizontalAlignment="Stretch" Click="DialogClicked"/>
</Grid>
</Grid>
</Page>
</Page>
2 changes: 1 addition & 1 deletion GazeInputTest/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ private async void DialogClicked(object sender, RoutedEventArgs e)
await dialog.ShowAsync();
}
}
}
}
4 changes: 2 additions & 2 deletions GazeInputTest/Properties/Default.rd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />


<!-- Add your application specific runtime directives here. -->


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ internal sealed class SkipLocalsInitAttribute : Attribute
}
}

#endif
#endif
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Extensions/TypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ internal static bool IsInstanceOfType(this Type type, object value)
}
#endif
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ public static unsafe string ToHexString<T>(this T value)
return new string(p, 0, bufferSize);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Guard.Comparable.Generic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -442,4 +442,4 @@ public static void IsNotBetweenOrEqualTo<T>(T value, T minimum, T maximum, strin
ThrowHelper.ThrowArgumentOutOfRangeExceptionForIsNotBetweenOrEqualTo(value, minimum, maximum, name);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Guard.Comparable.Numeric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ public static void IsNotCloseTo(nint value, nint target, nuint delta, string nam
ThrowHelper.ThrowArgumentExceptionForIsNotCloseTo(value, target, delta, name);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Guard.IO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ public static void IsAtStartPosition(Stream stream, string name)
ThrowHelper.ThrowArgumentExceptionForIsAtStartPosition(stream, name);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Guard.String.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,4 +405,4 @@ public static void IsNotInRangeFor(int index, string text, string name)
ThrowHelper.ThrowArgumentOutOfRangeExceptionForIsNotInRangeFor(index, text, name);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Guard.Tasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ public static void HasStatusNotEqualTo(Task task, TaskStatus status, string name
ThrowHelper.ThrowArgumentExceptionForHasStatusNotEqualTo(task, status, name);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/Guard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,4 @@ public static void IsFalse([DoesNotReturnIf(true)] bool value, string name, stri
ThrowHelper.ThrowArgumentExceptionForIsFalse(name, message);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ public static void ThrowArgumentExceptionForIsNotEmpty<T>(string name)
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ public static void ThrowArgumentOutOfRangeExceptionForIsNotBetweenOrEqualTo<T>(T
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ public static void ThrowArgumentExceptionForIsNotCloseTo(nint value, nint target
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ public static void ThrowArgumentExceptionForIsAtStartPosition(Stream stream, str
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ public static void ThrowArgumentOutOfRangeExceptionForIsNotInRangeFor(int index,
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ public static void ThrowArgumentExceptionForHasStatusNotEqualTo(Task task, TaskS
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ public static void ThrowArgumentExceptionForIsFalse(string name, string message)
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>

<ItemGroup>
<Compile Update="Generated\Guard.Comparable.Numeric.g.cs">
<DesignTime>True</DesignTime>
Expand All @@ -94,4 +94,4 @@
</Compile>
</ItemGroup>

</Project>
</Project>
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/ThrowHelper.Generic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1099,4 +1099,4 @@ public static T ThrowWin32Exception<T>(string? message, Exception? innerExceptio
throw new Win32Exception(message, innerException);
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Diagnostics/ThrowHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -937,4 +937,4 @@ public static void ThrowWin32Exception(string? message, Exception? innerExceptio
throw new Win32Exception(message, innerException);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ public NotNullWhenAttribute(bool returnValue)
}
}

#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ internal sealed class SkipLocalsInitAttribute : Attribute
}
}

#endif
#endif
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.HighPerformance/Box{T}.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ public static ref T GetReference<T>(this Box<T> box)
return ref Unsafe.Unbox<T>(box);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum AllocationMode
/// </summary>
Clear
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ private static void ThrowArgumentOutOfRangeExceptionForInvalidIndex()
throw new ArgumentOutOfRangeException("elementIndex", "The input index is not in the valid range");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ internal interface IMemoryManager
Memory<T> GetMemory<T>(int offset, int length)
where T : unmanaged;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ private static void ThrowArgumentExceptionForInvalidAlignment()
throw new ArgumentOutOfRangeException("elementIndex", "The input index doesn't result in an aligned item access");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ private static void ThrowArgumentOutOfRangeExceptionForInvalidElementIndex()
}
}

#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ private static void ThrowArgumentOutOfRangeExceptionForInvalidIndex()
throw new ArgumentOutOfRangeException("elementIndex", "The input index is not in the valid range");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,4 @@ private static void ThrowInvalidLengthException()
throw new ArgumentOutOfRangeException(nameof(length), "The input length parameter was not valid");
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.HighPerformance/Buffers/SpanOwner{T}.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,4 @@ public override string ToString()
return $"Microsoft.Toolkit.HighPerformance.Buffers.SpanOwner<{typeof(T)}>[{this.length}]";
}
}
}
}
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.HighPerformance/Buffers/StringPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -796,4 +796,4 @@ private static void ThrowArgumentOutOfRangeException()
throw new ArgumentOutOfRangeException("minimumSize", "The requested size must be greater than 0");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ public MemoryDebugView(SpanOwner<T> spanOwner)
[DebuggerBrowsable(DebuggerBrowsableState.Collapsed)]
public T[]? Items { get; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,4 @@ private static void ThrowArgumentExceptionForDestinationTooShort()
throw new ArgumentException("The target span is too short to copy all the current items to");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ public int Index
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ public readonly ReadOnlySpan<T> Current
get => this.span.Slice(this.start, this.end - this.start);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -504,4 +504,4 @@ private static void ThrowArgumentExceptionForDestinationTooShort()
throw new ArgumentException("The target span is too short to copy all the current items to");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ public int Index
}
}
}
}
}
Loading

0 comments on commit ae9e58e

Please sign in to comment.