Skip to content

Commit b10302b

Browse files
committed
Uppercase portent to Portent.
Ugh
1 parent 12d7ee8 commit b10302b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+45
-43
lines changed

AllProjects.sln

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.29209.152
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Portent", "portent\Portent.csproj", "{B51F0229-53A3-4773-8F45-5CFC3636C65E}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Portent", "Portent\Portent.csproj", "{B51F0229-53A3-4773-8F45-5CFC3636C65E}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{A384CDD6-B349-4EC7-B2B9-1A47A1CF9D0A}"
99
ProjectSection(SolutionItems) = preProject
@@ -23,9 +23,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{62D7260B
2323
build\opencover.ps1 = build\opencover.ps1
2424
EndProjectSection
2525
EndProject
26-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Portent.Test", "portent.Test\Portent.Test.csproj", "{2745B9B8-FCA5-4648-994F-69A47C6AFA86}"
26+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Portent.Test", "Portent.Test\Portent.Test.csproj", "{2745B9B8-FCA5-4648-994F-69A47C6AFA86}"
2727
EndProject
28-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Portent.Benchmark", "portent.Benchmark\Portent.Benchmark.csproj", "{BD1A249D-0576-49EE-BC96-63B9545674BE}"
28+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Portent.Benchmark", "Portent.Benchmark\Portent.Benchmark.csproj", "{BD1A249D-0576-49EE-BC96-63B9545674BE}"
2929
EndProject
3030
Global
3131
GlobalSection(SolutionConfigurationPlatforms) = preSolution

portent.Benchmark/DawgBenchmark.cs renamed to Portent.Benchmark/DawgBenchmark.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Linq;
55
using System.Runtime;
66

7-
namespace portent.Benchmark
7+
namespace Portent.Benchmark
88
{
99
public class DawgBenchmark : IDisposable
1010
{

portent.Benchmark/portent.Benchmark.csproj renamed to Portent.Benchmark/Portent.Benchmark.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26-
<ProjectReference Include="..\portent\Portent.csproj" />
26+
<ProjectReference Include="..\Portent\Portent.csproj" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

portent.Benchmark/Program.cs renamed to Portent.Benchmark/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Diagnostics;
44
using System.Linq;
55

6-
namespace portent.Benchmark
6+
namespace Portent.Benchmark
77
{
88
public static class Program
99
{
File renamed without changes.

portent.Test/portent.Test.csproj renamed to Portent.Test/Portent.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</ItemGroup>
2828

2929
<ItemGroup>
30-
<ProjectReference Include="..\portent\portent.csproj" />
30+
<ProjectReference Include="..\Portent\Portent.csproj" />
3131
</ItemGroup>
3232

3333
</Project>

portent.Test/UnitTest1.cs renamed to Portent.Test/UnitTest1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Xunit;
22

3-
namespace portent.Test
3+
namespace Portent.Test
44
{
55
public class UnitTest1
66
{

portent/Allocation/LargePageMemoryChunk.cs renamed to Portent/Allocation/LargePageMemoryChunk.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Runtime.InteropServices;
55
using System.Threading;
66

7-
namespace portent
7+
namespace Portent
88
{
99
/// <summary>
1010
/// Helper class for allocating a large contiguous region of memory.

portent/Allocation/MemoryChunkBuilder.cs renamed to Portent/Allocation/MemoryChunkBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.CompilerServices;
22

3-
namespace portent
3+
namespace Portent
44
{
55
internal sealed class MemoryChunkBuilder
66
{

portent/Allocation/Native/Enums/MemoryAllocationTypes.cs renamed to Portent/Allocation/Native/Enums/MemoryAllocationTypes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using JetBrains.Annotations;
33

4-
namespace portent
4+
namespace Portent
55
{
66
/// <summary>
77
/// The type of memory allocation for VirtualAlloc.

portent/Allocation/Native/Enums/MemoryFreeType.cs renamed to Portent/Allocation/Native/Enums/MemoryFreeType.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using JetBrains.Annotations;
33

4-
namespace portent
4+
namespace Portent
55
{
66
/// <summary>
77
/// The type of free operation for VirtualFree.

portent/Allocation/Native/Enums/MemoryProtectionConstants.cs renamed to Portent/Allocation/Native/Enums/MemoryProtectionConstants.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Diagnostics.CodeAnalysis;
33
using JetBrains.Annotations;
44

5-
namespace portent
5+
namespace Portent
66
{
77
/// <summary>
88
/// The following are the memory-protection options; you must specify one of the following values when allocating or protecting a page in memory.

portent/Allocation/Native/Enums/SePrivilegeAttributes.cs renamed to Portent/Allocation/Native/Enums/SePrivilegeAttributes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2727
using System;
2828
using JetBrains.Annotations;
2929

30-
namespace portent
30+
namespace Portent
3131
{
3232
/// <summary>
3333
/// Contains values specifying the attributes available for privileges.

portent/Allocation/Native/Enums/SecurityImpersonationLevel.cs renamed to Portent/Allocation/Native/Enums/SecurityImpersonationLevel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using JetBrains.Annotations;
22

3-
namespace portent
3+
namespace Portent
44
{
55
/// <summary>
66
/// The SECURITY_IMPERSONATION_LEVEL enumeration contains values that specify security impersonation levels.

portent/Allocation/Native/Enums/TokenAccessLevels.cs renamed to Portent/Allocation/Native/Enums/TokenAccessLevels.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2828
using System.Diagnostics.CodeAnalysis;
2929
using JetBrains.Annotations;
3030

31-
namespace portent
31+
namespace Portent
3232
{
3333
/// <summary>
3434
/// Contains values specifying possible token access levels.

portent/Allocation/Native/Enums/TokenInformationClass.cs renamed to Portent/Allocation/Native/Enums/TokenInformationClass.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using JetBrains.Annotations;
22

3-
namespace portent
3+
namespace Portent
44
{
55
/// <summary>
66
/// The TOKEN_INFORMATION_CLASS enumeration contains values that specify the type of information being assigned to or retrieved from an access token.

portent/Allocation/Native/Enums/TokenType.cs renamed to Portent/Allocation/Native/Enums/TokenType.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using JetBrains.Annotations;
22

3-
namespace portent
3+
namespace Portent
44
{
55
/// <summary>
66
/// The TOKEN_TYPE enumeration contains values that differentiate between a primary token and an impersonation token.

portent/Allocation/Native/Enums/WinSecurityContext.cs renamed to Portent/Allocation/Native/Enums/WinSecurityContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2424
SOFTWARE.
2525
*/
2626

27-
namespace portent
27+
namespace Portent
2828
{
2929
/// <summary>
3030
/// // The following two enums ported from WindowsIdentity.cs since it is needed for the impersonation APIs here.

portent/Allocation/Native/MemoryAlignmentHelper.cs renamed to Portent/Allocation/Native/MemoryAlignmentHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Runtime.CompilerServices;
44
using System.Runtime.InteropServices;
55

6-
namespace portent
6+
namespace Portent
77
{
88
internal static class MemoryAlignmentHelper
99
{

portent/Allocation/Native/PrivilegeHolder.cs renamed to Portent/Allocation/Native/PrivilegeHolder.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3030
using System.Runtime.InteropServices;
3131
using System.Threading;
3232

33-
namespace portent
33+
namespace Portent
3434
{
3535
/// <summary>
3636
/// Disposable class to manage the lifetime of a token privilege.
@@ -451,7 +451,9 @@ private static bool HasPrivilege(ref int resultPointer, in Luid privilegeLuid)
451451
var resultCount = resultPointer;
452452
for (var i = 0; i < resultCount; i++)
453453
{
454+
// ReSharper disable once ArrangeRedundantParentheses
454455
var high = Unsafe.Add(ref resultPointer, 1 + (3 * i));
456+
// ReSharper disable once ArrangeRedundantParentheses
455457
var low = Unsafe.Add(ref resultPointer, 2 + (3 * i));
456458
if (high == privilegeLuid.HighPart && low == privilegeLuid.LowPart)
457459
{

portent/Allocation/Native/SafeTokenHandle.cs renamed to Portent/Allocation/Native/SafeTokenHandle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2828
using System.Runtime.InteropServices;
2929
using JetBrains.Annotations;
3030

31-
namespace portent
31+
namespace Portent
3232
{
3333
/// <summary>
3434
/// Disposable class to manage the lifetime of a thread token handle.

portent/Allocation/Native/Structs/Luid.cs renamed to Portent/Allocation/Native/Structs/Luid.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2727
using System;
2828
using System.Runtime.InteropServices;
2929

30-
namespace portent
30+
namespace Portent
3131
{
3232
/// <summary>
3333
/// See link for details

portent/Allocation/Native/Structs/LuidAndAttributes.cs renamed to Portent/Allocation/Native/Structs/LuidAndAttributes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2828
using System.Collections.Generic;
2929
using System.Runtime.InteropServices;
3030

31-
namespace portent
31+
namespace Portent
3232
{
3333
/// <summary>
3434
/// See link for details.

portent/Allocation/Native/Structs/TokenPrivileges.cs renamed to Portent/Allocation/Native/Structs/TokenPrivileges.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2727
using System;
2828
using System.Collections.Generic;
2929

30-
namespace portent
30+
namespace Portent
3131
{
3232
/// <summary>
3333
/// See link for details.

portent/Allocation/Native/TlsContent.cs renamed to Portent/Allocation/Native/TlsContent.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2727
using System;
2828
using System.Runtime.InteropServices;
2929

30-
namespace portent
30+
namespace Portent
3131
{
3232
/// <summary>
3333
/// Disposable class to manage the lifetime of a thread token.

portent/Collections/CompoundSuggestItemCollection.cs renamed to Portent/Collections/CompoundSuggestItemCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Diagnostics;
66
#endif
77

8-
namespace portent
8+
namespace Portent
99
{
1010
internal sealed class CompoundSuggestItemCollection : IEnumerable<SuggestItem>, IDisposable
1111
{

portent/Collections/SingleElementSuggestItemCollection.cs renamed to Portent/Collections/SingleElementSuggestItemCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Collections.Generic;
44
using System.Runtime.CompilerServices;
55

6-
namespace portent
6+
namespace Portent
77
{
88
internal sealed class SingleElementSuggestItemCollection : IEnumerable<SuggestItem>, IDisposable
99
{

portent/Collections/SuggestItem.cs renamed to Portent/Collections/SuggestItem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace portent
3+
namespace Portent
44
{
55
public readonly struct SuggestItem : IEquatable<SuggestItem>
66
{

portent/Collections/SuggestItemCollection.cs renamed to Portent/Collections/SuggestItemCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Diagnostics;
66
#endif
77

8-
namespace portent
8+
namespace Portent
99
{
1010
internal sealed class SuggestItemCollection : IEnumerable<SuggestItem>
1111
{

portent/Dawg.cs renamed to Portent/Dawg.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
using nuint = System.UInt32;
2626
#endif
2727

28-
namespace portent
28+
namespace Portent
2929
{
3030
public sealed unsafe class Dawg : IDisposable
3131
{
File renamed without changes.
File renamed without changes.

portent/Graph/CompressedSparseRowGraph.cs renamed to Portent/Graph/CompressedSparseRowGraph.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.IO;
77
using System.Runtime;
88

9-
namespace portent
9+
namespace Portent
1010
{
1111
public unsafe class CompressedSparseRowPointerGraph
1212
{

portent/Graph/GraphEdge.cs renamed to Portent/Graph/GraphEdge.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace portent
1+
namespace Portent
22
{
33
internal sealed class GraphEdge
44
{

portent/Graph/GraphNode.cs renamed to Portent/Graph/GraphNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Linq;
33
using System.Text;
44

5-
namespace portent
5+
namespace Portent
66
{
77
internal sealed class GraphNode
88
{

portent/Graph/PartitionedGraphBuilder.cs renamed to Portent/Graph/PartitionedGraphBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Linq;
55
using System.Runtime;
66

7-
namespace portent
7+
namespace Portent
88
{
99
public sealed class PartitionedGraphBuilder
1010
{

portent/portent.csproj renamed to Portent/Portent.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<NullableContextOptions>enable</NullableContextOptions>
1515
<Nullable>enable</Nullable>
1616
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
17-
<RootNamespace>portent</RootNamespace>
17+
<RootNamespace>Portent</RootNamespace>
1818
</PropertyGroup>
1919

2020
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

portent/Serialization/StreamExtensions.cs renamed to Portent/Serialization/StreamExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// ReSharper disable ForCanBeConvertedToForeach
99

10-
namespace portent
10+
namespace Portent
1111
{
1212
public static class StreamExtensions
1313
{

Portent/Utility/MathUtils.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Diagnostics.Contracts;
22
using System.Runtime.CompilerServices;
33

4-
namespace portent
4+
namespace Portent
55
{
66
public static class MathUtils
77
{

README.md

+1-1

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ configuration: Release
5252
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
5353
build:
5454
# path to Visual Studio solution or project
55-
project: portent.sln
55+
project: AllProjects.sln
5656
# MSBuild verbosity level
5757
verbosity: minimal
5858

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps:
2525
- task: DotNetCoreCLI@2
2626
inputs:
2727
command: test
28-
projects: portent.Test/portent.Test.csproj
28+
projects: Portent.Test/Portent.Test.csproj
2929
arguments: -c $(buildConfiguration) --collect:"XPlat Code Coverage" -- RunConfiguration.DisableAppDomain=true
3030
displayName: Run Tests
3131

build/opencover.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ mkdir $report_folder | Out-Null
4343

4444
$report_file = "$report_folder\portent_coverage.xml"
4545

46-
$target_dll = "..\portent.Test\bin\Release\netcoreapp3.0\portent.Test.dll"
46+
$target_dll = "..\Portent.Test\bin\Release\netcoreapp3.0\Portent.Test.dll"
4747

4848
&$opencover_console `
4949
-register:user `
5050
-threshold:1 -oldStyle `
5151
-returntargetcode `
5252
-hideskipped:All `
53-
-filter:"+[portent*]* -[portent.Test*]*" `
53+
-filter:"+[Portent*]* -[Portent.Test*]*" `
5454
-excludebyattribute:*.ExcludeFromCodeCoverage* `
5555
-excludebyfile:*\*Designer.cs `
5656
-output:"$report_file" `

0 commit comments

Comments
 (0)