This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save this file to: C:\Users\GaelFraiteur\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 | |
# PowerShell parameter completion shim for the dotnet CLI | |
Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock { | |
param($commandName, $wordToComplete, $cursorPosition) | |
dotnet complete --position $cursorPosition "$wordToComplete" | ForEach-Object { | |
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Appends the indent string, context description, and the record kind to the current <see cref="StringBuilder"/>. | |
/// </summary> | |
protected virtual void AppendProlog() | |
{ | |
#if DEBUG | |
if ( this.StringBuilder != this.actionStringBuilder ) | |
throw new AssertionFailedException(); | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param | |
( | |
[string] $artifactsPath, | |
[string] $scanResponsePath = '' | |
) | |
$ErrorActionPreference = "Stop" | |
trap | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using PostSharp.Aspects; | |
using PostSharp.Aspects.Configuration; | |
using PostSharp.Aspects.Serialization; | |
using Resonance.Messenging.Diagnostics; | |
[assembly: StackOverflowDetection] | |
namespace Resonance.Messenging.Diagnostics | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.Threading; | |
using PostSharp.Aspects; | |
using PostSharp.Aspects.Advices; | |
using PostSharp.Aspects.Configuration; | |
using PostSharp.Aspects.Serialization; | |
using PostSharp.Extensibility; | |
namespace Resonance.Messenging.Threading | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Xml; | |
using PostSharp.Sdk.CodeModel; | |
namespace PostSharp.AddIn.PostObfuscation.Dotfuscator | |
{ | |
internal sealed class DotfuscatorMap : ObfuscationMap | |
{ | |
protected override string GetSignature( IWriteReflectionName member ) | |
{ |