Remove space after new keyword in implicitly typed array allocation (#8505)
This commit is contained in:
parent
2fbda4e62b
commit
e999e1dba5
4 changed files with 333 additions and 333 deletions
|
@ -42,19 +42,19 @@ namespace System.Management.Automation.Runspaces
|
|||
|
||||
var td1 = new TypeData(@"System.Diagnostics.Eventing.Reader.EventLogConfiguration", true);
|
||||
td1.DefaultDisplayPropertySet =
|
||||
new PropertySetData(new [] { "LogName", "MaximumSizeInBytes", "RecordCount", "LogMode" }) { Name = "DefaultDisplayPropertySet" };
|
||||
new PropertySetData(new[] { "LogName", "MaximumSizeInBytes", "RecordCount", "LogMode" }) { Name = "DefaultDisplayPropertySet" };
|
||||
yield return td1;
|
||||
|
||||
var td2 = new TypeData(@"System.Diagnostics.Eventing.Reader.EventLogRecord", true);
|
||||
td2.DefaultDisplayPropertySet =
|
||||
new PropertySetData(new [] { "TimeCreated", "ProviderName", "Id", "Message" }) { Name = "DefaultDisplayPropertySet" };
|
||||
new PropertySetData(new[] { "TimeCreated", "ProviderName", "Id", "Message" }) { Name = "DefaultDisplayPropertySet" };
|
||||
yield return td2;
|
||||
|
||||
var td3 = new TypeData(@"System.Diagnostics.Eventing.Reader.ProviderMetadata", true);
|
||||
td3.Members.Add("ProviderName",
|
||||
new AliasPropertyData("ProviderName", "Name"));
|
||||
td3.DefaultDisplayPropertySet =
|
||||
new PropertySetData(new [] { "Name", "LogLinks" }) { Name = "DefaultDisplayPropertySet" };
|
||||
new PropertySetData(new[] { "Name", "LogLinks" }) { Name = "DefaultDisplayPropertySet" };
|
||||
yield return td3;
|
||||
|
||||
#if !CORECLR
|
||||
|
@ -65,12 +65,12 @@ namespace System.Management.Automation.Runspaces
|
|||
|
||||
var td5 = new TypeData(@"Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSample", true);
|
||||
td5.DefaultDisplayPropertySet =
|
||||
new PropertySetData(new [] { "Path", "InstanceName", "CookedValue" }) { Name = "DefaultDisplayPropertySet" };
|
||||
new PropertySetData(new[] { "Path", "InstanceName", "CookedValue" }) { Name = "DefaultDisplayPropertySet" };
|
||||
yield return td5;
|
||||
|
||||
var td6 = new TypeData(@"Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet", true);
|
||||
td6.DefaultDisplayPropertySet =
|
||||
new PropertySetData(new [] { "Timestamp", "Readings" }) { Name = "DefaultDisplayPropertySet" };
|
||||
new PropertySetData(new[] { "Timestamp", "Readings" }) { Name = "DefaultDisplayPropertySet" };
|
||||
yield return td6;
|
||||
|
||||
var td7 = new TypeData(@"Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet", true);
|
||||
|
|
|
@ -108,7 +108,7 @@ namespace System.Management.Automation.Runspaces
|
|||
td14.SerializationMethod = "SpecificProperties";
|
||||
td14.SerializationDepth = 2;
|
||||
td14.PropertySerializationSet =
|
||||
new PropertySetData(new [] { "Breakpoints", "ResumeAction", "SerializedInvocationInfo" }) { Name = "PropertySerializationSet" };
|
||||
new PropertySetData(new[] { "Breakpoints", "ResumeAction", "SerializedInvocationInfo" }) { Name = "PropertySerializationSet" };
|
||||
yield return td14;
|
||||
|
||||
var td15 = new TypeData(@"Deserialized.System.Management.Automation.DebuggerStopEventArgs", true);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -7320,7 +7320,7 @@ namespace System.Management.Automation.Language
|
|||
{
|
||||
// These types are the ones known to contain
|
||||
// strings used by the parser as errors
|
||||
Type[] resxTypes = new []
|
||||
Type[] resxTypes = new[]
|
||||
{
|
||||
typeof(ParserStrings),
|
||||
typeof(DiscoveryExceptions),
|
||||
|
|
Loading…
Reference in a new issue