mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use consistent '(c)' for copyright symbol (#5210)
- Remove the year about copyright - Fix casing of `All rights reserved` - Replace Unicode characters representing single quote with a single quote
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/********************************************************************++
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/********************************************************************++
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System.Management.Automation;
|
||||
@@ -7,7 +7,7 @@ using System.Reflection;
|
||||
|
||||
namespace Application.Test
|
||||
{
|
||||
public class Program
|
||||
public class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Managed entry point shim, which starts the actual program
|
||||
@@ -15,10 +15,10 @@ namespace Application.Test
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
// Application needs to use PowerShell AssemblyLoadContext if it needs to create powershell runspace
|
||||
// PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core
|
||||
// PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core
|
||||
string appBase = System.IO.Path.GetDirectoryName(typeof(Program).GetTypeInfo().Assembly.Location);
|
||||
System.Console.WriteLine("\nappBase: {0}", appBase);
|
||||
|
||||
|
||||
// Initialize the PS ALC and let it load 'Logic.dll' and start the execution
|
||||
return (int)PowerShellAssemblyLoadContextInitializer.
|
||||
InitializeAndCallEntryMethod(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/********************************************************************++
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/********************************************************************++
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System.Management.Automation;
|
||||
@@ -7,7 +7,7 @@ using System.Reflection;
|
||||
|
||||
namespace Application.Test
|
||||
{
|
||||
public class Program
|
||||
public class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Managed entry point shim, which starts the actual program
|
||||
@@ -15,10 +15,10 @@ namespace Application.Test
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
// Application needs to use PowerShell AssemblyLoadContext if it needs to create powershell runspace
|
||||
// PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core
|
||||
// PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core
|
||||
string appBase = System.IO.Path.GetDirectoryName(typeof(Program).GetTypeInfo().Assembly.Location);
|
||||
System.Console.WriteLine("\nappBase: {0}", appBase);
|
||||
|
||||
|
||||
// Initialize the PS ALC and let it load 'Logic.dll' and start the execution
|
||||
return (int)PowerShellAssemblyLoadContextInitializer.
|
||||
InitializeAndCallEntryMethod(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/********************************************************************++
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
--********************************************************************/
|
||||
|
||||
using System;
|
||||
@@ -7,7 +7,7 @@ using System.Management.Automation;
|
||||
|
||||
namespace Application.Test
|
||||
{
|
||||
public class Program
|
||||
public class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Managed entry point shim, which starts the actual program
|
||||
|
||||
Reference in New Issue
Block a user