Skip to content

Commit 8b85765

Browse files
authored
Fix markdown lint warnings (#43625)
These are new warnings that will be introduced in #43611 Pre-emptively fix them.
1 parent 3c77dd3 commit 8b85765

File tree

7 files changed

+37
-0
lines changed

7 files changed

+37
-0
lines changed

docs/core/compatibility/windows-forms/5.0/invalid-args-cause-argumentoutofrangeexception.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Throwing an <xref:System.ArgumentOutOfRangeException> conforms to the behavior o
2727
The following table lists the affected properties and parameters:
2828

2929
> [!div class="mx-tdBreakAll"]
30+
>
3031
> | Property | Parameter name | Version added |
3132
> |-|-|-|
3233
> | <xref:System.Windows.Forms.ListBox.IntegerCollection.Item(System.Int32)?displayProperty=nameWithType> | `index` | 5.0 Preview 5 |

docs/core/compatibility/windows-forms/5.0/null-args-cause-argumentnullexception.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ If you call any of these methods and your code currently catches a <xref:System.
2626
The following table lists the affected methods and parameters:
2727

2828
> [!div class="mx-tdBreakAll"]
29+
>
2930
> | Method | Parameter name | Version added |
3031
> |-|-|-|
3132
> | <xref:System.Windows.Forms.Control.ControlCollection.%23ctor(System.Windows.Forms.Control)> | `owner` | Preview 1 |

docs/core/compatibility/windows-forms/5.0/null-owner-causes-invalidoperationexception.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Review your code and, if necessary, update it to prevent constructing the affect
2828
The following table lists the affected APIs:
2929

3030
> [!div class="mx-tdBreakAll"]
31+
>
3132
> | Affected method or property | Validated property | Version added |
3233
> |-|-|-|
3334
> | <xref:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.DoDefaultAction?displayProperty=nameWithType> | <xref:System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject.Owner> | 5.0 |

docs/framework/whats-new/obsolete-members.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
1616
## mscorlib.dll
1717

1818
> [!div class="mx-tdBreakAll"]
19+
>
1920
> |Type|Member|Message|
2021
> |----------|------------|-------------|
2122
> |<xref:Microsoft.Win32.Registry?displayProperty=nameWithType>|<xref:Microsoft.Win32.Registry.DynData>|The <xref:Microsoft.Win32.Registry.DynData> registry key only works on Win9x, which is no longer supported by the CLR. On NT-based operating systems, use the <xref:Microsoft.Win32.Registry.PerformanceData?displayProperty=nameWithType> registry key or the <xref:Microsoft.VisualBasic.MyServices.RegistryProxy.PerformanceData%2A?displayProperty=nameWithType> registry proxy instead.|
@@ -182,6 +183,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
182183
## PresentationCore.dll
183184

184185
> [!div class="mx-tdBreakAll"]
186+
>
185187
> |Type|Member|Message|
186188
> |----------|------------|-------------|
187189
> |<xref:System.Windows.UIElement?displayProperty=nameWithType>|<xref:System.Windows.UIElement.BitmapEffect%2A>|Bitmap effects are deprecated and no longer function. Consider using <xref:System.Windows.Media.Effects.Effect?displayProperty=nameWithType> where appropriate instead.|
@@ -222,6 +224,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
222224
## PresentationFramework.dll
223225

224226
> [!div class="mx-tdBreakAll"]
227+
>
225228
> |Type|Member|Message|
226229
> |----------|------------|-------------|
227230
> |<xref:System.Windows.Data.BindingListCollectionView?displayProperty=nameWithType>|<xref:System.Windows.Data.CollectionView.OnBeginChangeLogging%2A>|Replaced by <xref:System.Windows.Data.CollectionView.OnAllowsCrossThreadChangesChanged%2A?displayProperty=nameWithType>.|
@@ -232,6 +235,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
232235
## System.Activities.dll
233236

234237
> [!div class="mx-tdBreakAll"]
238+
>
235239
> |Type|Member|Message|
236240
> |----------|------------|-------------|
237241
> |<xref:System.Activities.Debugger.XamlDebuggerXmlReader?displayProperty=nameWithType>|<xref:System.Activities.Debugger.XamlDebuggerXmlReader.%23ctor%28System.Xaml.XamlReader%2CSystem.Xaml.IXamlLineInfo%2CSystem.IO.TextReader%29>|First deprecated in the .NET Framework 4.5.<br /><br /> Don't use this constructor. Use <xref:System.Activities.Debugger.XamlDebuggerXmlReader.%23ctor%28System.IO.TextReader%29> or <xref:System.Activities.Debugger.XamlDebuggerXmlReader.%23ctor%28System.IO.TextReader%2CSystem.Xaml.XamlSchemaContext%29> instead.|
@@ -240,6 +244,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
240244
## System.Activities.Presentation.dll
241245

242246
> [!div class="mx-tdBreakAll"]
247+
>
243248
> |Type|Member|Message|
244249
> |----------|------------|-------------|
245250
> |<xref:System.Activities.Presentation.DragDropHelper?displayProperty=nameWithType>|<xref:System.Activities.Presentation.DragDropHelper.DoDragMove%28System.Activities.Presentation.WorkflowViewElement%2CSystem.Windows.Point%29>|This method doesn't support dragging multiple items.|
@@ -255,6 +260,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
255260
## System.Core.dll
256261

257262
> [!div class="mx-tdBreakAll"]
263+
>
258264
> |Type|Member|Message|
259265
> |----------|------------|-------------|
260266
> |<xref:System.Diagnostics.Eventing.Reader.StandardEventKeywords?displayProperty=nameWithType>|<xref:System.Diagnostics.Eventing.Reader.StandardEventKeywords.CorrelationHint>|First deprecated in the .NET Framework 4.5.<br /><br /> Incorrect value; use <xref:System.Diagnostics.Eventing.Reader.StandardEventKeywords.CorrelationHint2> instead.|
@@ -298,6 +304,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
298304
## System.Data.dll
299305

300306
> [!div class="mx-tdBreakAll"]
307+
>
301308
> |Type|Member|Message|
302309
> |----------|------------|-------------|
303310
> |<xref:System.Data.DataSysDescriptionAttribute?displayProperty=nameWithType>|<xref:System.Data.DataSysDescriptionAttribute.%23ctor%2A>|<xref:System.Data.DataSysDescriptionAttribute> has been deprecated.|
@@ -320,6 +327,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
320327
## System.Data.Entity.dll
321328

322329
> [!div class="mx-tdBreakAll"]
330+
>
323331
> |Type|Member|Message|
324332
> |----------|------------|-------------|
325333
> |<xref:System.Data.Metadata.Edm.AssociationSetEnd?displayProperty=nameWithType>|<xref:System.Data.Metadata.Edm.AssociationSetEnd.Role%2A>|This property is going away, Use the <xref:System.Data.Metadata.Edm.AssociationSetEnd.Name%2A?displayProperty=nameWithType> property instead.|
@@ -330,6 +338,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
330338
## System.Data.OracleClient.dll
331339

332340
> [!div class="mx-tdBreakAll"]
341+
>
333342
> |Type|Member|Message|
334343
> |----------|------------|-------------|
335344
> |<xref:System.Data.OracleClient.OracleParameter?displayProperty=nameWithType>|<xref:System.Data.OracleClient.OracleParameter.Precision%2A>|<xref:System.Data.OracleClient.OracleParameter.Precision%2A> has been deprecated. Use the <xref:System.Math?displayProperty=nameWithType> classes to explicitly set the precision of a decimal.|
@@ -339,6 +348,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
339348
## System.Design.dll
340349

341350
> [!div class="mx-tdBreakAll"]
351+
>
342352
> |Type|Member|Message|
343353
> |----------|------------|-------------|
344354
> |<xref:System.ComponentModel.Design.ComponentDesigner?displayProperty=nameWithType>|<xref:System.ComponentModel.Design.ComponentDesigner.InitializeNonDefault%2A>|This method has been deprecated. Use <xref:System.ComponentModel.Design.ComponentDesigner.InitializeExistingComponent%2A?displayProperty=nameWithType> instead.|
@@ -392,6 +402,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
392402
## System.dll
393403

394404
> [!div class="mx-tdBreakAll"]
405+
>
395406
> |Type|Member|Message|
396407
> |----------|------------|-------------|
397408
> |<xref:Microsoft.CSharp.CSharpCodeProvider?displayProperty=nameWithType>|<xref:Microsoft.CSharp.CSharpCodeProvider.CreateCompiler%2A>|Callers should not use the <xref:System.CodeDom.Compiler.ICodeCompiler?displayProperty=nameWithType> interface and should instead use the methods directly on the <xref:System.CodeDom.Compiler.CodeDomProvider?displayProperty=nameWithType> class.|
@@ -504,6 +515,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
504515
## System.Drawing.dll
505516

506517
> [!div class="mx-tdBreakAll"]
518+
>
507519
> |Type|Member|Message|
508520
> |----------|------------|-------------|
509521
> |<xref:System.Drawing.FontFamily?displayProperty=nameWithType>|<xref:System.Drawing.FontFamily.GetFamilies%2A>|Don't use the <xref:System.Drawing.FontFamily.GetFamilies%2A> method; use the <xref:System.Drawing.FontFamily.Families%2A?displayProperty=nameWithType> property instead.|
@@ -512,6 +524,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
512524
## System.Messaging.dll
513525

514526
> [!div class="mx-tdBreakAll"]
527+
>
515528
> |Type|Member|Message|
516529
> |----------|------------|-------------|
517530
> |<xref:System.Messaging.MessageQueue?displayProperty=nameWithType>|<xref:System.Messaging.MessageQueue.GetEnumerator%2A>|This method returns a <xref:System.Messaging.MessageEnumerator?displayProperty=nameWithType> that implements the <xref:System.Messaging.MessageEnumerator.RemoveCurrent%2A?displayProperty=nameWithType> family of methods incorrectly. Use <xref:System.Messaging.MessageQueue.GetMessageEnumerator2%2A?displayProperty=nameWithType> instead.|
@@ -520,6 +533,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
520533
## System.ServiceModel.dll
521534

522535
> [!div class="mx-tdBreakAll"]
536+
>
523537
> |Type|Member|Message|
524538
> |----------|------------|-------------|
525539
> |<xref:System.ServiceModel.BasicHttpBinding?displayProperty=nameWithType>|<xref:System.ServiceModel.BasicHttpBinding.EnableHttpCookieContainer%2A>|First deprecated in the .NET Framework 4.5.<br /><br /> This property is obsolete. To enable Http <xref:System.Net.CookieContainer>, use the <xref:System.ServiceModel.HttpBindingBase.AllowCookies%2A?displayProperty=nameWithType> property instead.|
@@ -532,6 +546,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
532546
## System.ServiceModel.Discovery.dll
533547

534548
> [!div class="mx-tdBreakAll"]
549+
>
535550
> |Type|Member|Message|
536551
> |----------|------------|-------------|
537552
> |<xref:System.ServiceModel.Discovery.UdpAnnouncementEndpoint?displayProperty=nameWithType>|<xref:System.ServiceModel.Discovery.UdpAnnouncementEndpoint.TransportSettings%2A>|First deprecated in the .NET Framework 4.5.<br /><br /> The <xref:System.ServiceModel.Discovery.UdpAnnouncementEndpoint.TransportSettings%2A> property is obsolete. Consider using <xref:System.ServiceModel.Channels.UdpTransportBindingElement?displayProperty=nameWithType> for setting the transport properties.|
@@ -540,13 +555,15 @@ This article doesn't list the members of obsolete types. For a list of obsolete
540555
## System.Web.DataVisualization.dll
541556

542557
> [!div class="mx-tdBreakAll"]
558+
>
543559
> |Type|Member|Message|
544560
> |----------|------------|-------------|
545561
> |<xref:System.Web.UI.DataVisualization.Charting.Chart?displayProperty=nameWithType>|<xref:System.Web.UI.DataVisualization.Charting.Chart.ViewStateData%2A>|<xref:System.Web.UI.DataVisualization.Charting.Chart.ViewStateData%2A> has been deprecated. Investigate <xref:System.Web.UI.Control.ViewState%2A?displayProperty=nameWithType> instead.|
546562
547563
## System.Web.dll
548564

549565
> [!div class="mx-tdBreakAll"]
566+
>
550567
> |Type|Member|Message|
551568
> |----------|------------|-------------|
552569
> |<xref:System.Web.HttpContext?displayProperty=nameWithType>|<xref:System.Web.HttpContext.GetAppConfig%2A>|The recommended alternative is <xref:System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection%2A?displayProperty=nameWithType> in System.Web.dll.|
@@ -582,13 +599,15 @@ This article doesn't list the members of obsolete types. For a list of obsolete
582599
## System.Web.DynamicData.dll
583600

584601
> [!div class="mx-tdBreakAll"]
602+
>
585603
> |Type|Member|Message|
586604
> |----------|------------|-------------|
587605
> |<xref:System.Web.DynamicData.DynamicDataExtensions?displayProperty=nameWithType>|<xref:System.Web.DynamicData.DynamicDataExtensions.EnablePersistedSelection%2A>|Use the `EnablePersistedSelection` property on a databound control such as <xref:System.Web.UI.WebControls.GridView?displayProperty=nameWithType> or <xref:System.Web.UI.WebControls.ListView?displayProperty=nameWithType>.|
588606
589607
## System.Web.Extensions.dll
590608

591609
> [!div class="mx-tdBreakAll"]
610+
>
592611
> |Type|Member|Message|
593612
> |----------|------------|-------------|
594613
> |<xref:System.Web.UI.CompositeScriptReference?displayProperty=nameWithType>|<xref:System.Web.UI.CompositeScriptReference.IsFromSystemWebExtensions%2A>|Use <xref:System.Web.UI.CompositeScriptReference.IsAjaxFrameworkScript%2A?displayProperty=nameWithType>.|
@@ -603,6 +622,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
603622
## System.Web.Services.dll
604623

605624
> [!div class="mx-tdBreakAll"]
625+
>
606626
> |Type|Member|Message|
607627
> |----------|------------|-------------|
608628
> |<xref:System.Web.Services.Discovery.DiscoveryClientProtocol?displayProperty=nameWithType>|<xref:System.Web.Services.Discovery.DiscoveryClientProtocol.LoadExternals%2A>|This method will be removed from a future version. The method call is no longer required for resource discovery.|
@@ -611,6 +631,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
611631
## System.Windows.Forms.dll
612632

613633
> [!div class="mx-tdBreakAll"]
634+
>
614635
> |Type|Member|Message|
615636
> |----------|------------|-------------|
616637
> |<xref:System.Windows.Forms.AccessibleStates?displayProperty=nameWithType>|<xref:System.Windows.Forms.AccessibleStates.Valid>|This enumeration value has been deprecated. There is no replacement.|
@@ -628,6 +649,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
628649
## System.Xaml.dll
629650

630651
> [!div class="mx-tdBreakAll"]
652+
>
631653
> |Type|Member|Message|
632654
> |----------|------------|-------------|
633655
> |<xref:System.Windows.Markup.MarkupExtensionReturnTypeAttribute?displayProperty=nameWithType>|<xref:System.Windows.Markup.MarkupExtensionReturnTypeAttribute.ExpressionType%2A>|This isn't used by the XAML parser. See <xref:System.Windows.Markup.XamlSetMarkupExtensionAttribute?displayProperty=nameWithType>.|
@@ -636,6 +658,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete
636658
## System.Xml.dll
637659

638660
> [!div class="mx-tdBreakAll"]
661+
>
639662
> |Type|Member|Message|
640663
> |----------|------------|-------------|
641664
> |<xref:System.Xml.ValidationType?displayProperty=nameWithType>|<xref:System.Xml.ValidationType.Auto>|Validation type should be specified as <xref:System.Xml.ValidationType.DTD?displayProperty=nameWithType> or <xref:System.Xml.ValidationType.Schema?displayProperty=nameWithType>.|
@@ -662,13 +685,15 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework.
662685
## ISymWrapper.dll
663686

664687
> [!div class="mx-tdBreakAll"]
688+
>
665689
> |Type|Member|Message|
666690
> |----------|------------|-------------|
667691
> |<xref:System.Diagnostics.SymbolStore.SymBinder?displayProperty=nameWithType>|<xref:System.Diagnostics.SymbolStore.SymBinder.GetReader%28System.Int32%2CSystem.String%2CSystem.String%29>|The recommended alternative is <xref:System.Diagnostics.SymbolStore.SymBinder.GetReader%28System.IntPtr%2CSystem.String%2CSystem.String%29?displayProperty=nameWithType>. <xref:System.Diagnostics.SymbolStore.ISymbolBinder1.GetReader%2A?displayProperty=nameWithType> takes the importer interface pointer as an <xref:System.IntPtr?displayProperty=nameWithType> instead of an <xref:System.Int32?displayProperty=nameWithType>, and thus works on both 32-bit and 64-bit architectures.|
668692
669693
## Microsoft.Build.Conversion.v4.0.dll
670694

671695
> [!div class="mx-tdBreakAll"]
696+
>
672697
> |Type|Member|Message|
673698
> |----------|------------|-------------|
674699
> |<xref:Microsoft.Build.Conversion.ProjectFileConverter?displayProperty=nameWithType>|<xref:Microsoft.Build.Conversion.ProjectFileConverter.Convert%28Microsoft.Build.BuildEngine.ProjectLoadSettings%29>|Use parameterless <xref:Microsoft.Build.Conversion.ProjectFileConverter.Convert> overload instead.|
@@ -679,6 +704,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework.
679704
## Microsoft.Build.Engine.dll
680705

681706
> [!div class="mx-tdBreakAll"]
707+
>
682708
> |Type|Member|Message|
683709
> |----------|------------|-------------|
684710
> |<xref:Microsoft.Build.BuildEngine.Engine?displayProperty=nameWithType>|<xref:Microsoft.Build.BuildEngine.Engine.BinPath%2A>|Avoid setting <xref:Microsoft.Build.BuildEngine.Engine.BinPath%2A>. If you were simply passing in the .NET Framework location as the <xref:Microsoft.Build.BuildEngine.Engine.BinPath%2A>, no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's <xref:Microsoft.Build.BuildEngine.ToolsetCollection?displayProperty=nameWithType>, to use a custom <xref:Microsoft.Build.BuildEngine.Engine.BinPath%2A>.|
@@ -687,27 +713,31 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework.
687713
## Microsoft.Build.Framework.dll
688714

689715
> [!div class="mx-tdBreakAll"]
716+
>
690717
> |Type|Member|Message|
691718
> |----------|------------|-------------|
692719
> |<xref:Microsoft.Build.Framework.XamlTypes.ContentType?displayProperty=nameWithType>|<xref:Microsoft.Build.Framework.XamlTypes.ContentType.ItemGroupName%2A>|First deprecated in the .NET Framework 4.5.<br /><br /> Use of this member generates a compiler error.<br /><br /> Use the <xref:Microsoft.Build.Framework.XamlTypes.ContentType.ItemType%2A?displayProperty=nameWithType> property instead.|
693720
694721
## Microsoft.Build.Utilities.v4.0.dll
695722

696723
> [!div class="mx-tdBreakAll"]
724+
>
697725
> |Type|Member|Message|
698726
> |----------|------------|-------------|
699727
> |<xref:Microsoft.Build.Utilities.ToolTask?displayProperty=nameWithType>|<xref:Microsoft.Build.Utilities.ToolTask.EnvironmentOverride%2A>|Use the <xref:Microsoft.Build.Utilities.ToolTask.EnvironmentVariables%2A?displayProperty=nameWithType> property.|
700728
701729
## Microsoft.Data.Entity.Build.Tasks.dll
702730

703731
> [!div class="mx-tdBreakAll"]
732+
>
704733
> |Type|Member|Message|
705734
> |----------|------------|-------------|
706735
> |`Microsoft.Data.Entity.Build.Tasks.EntityDeploy`|`EntityDataModelEmbeddedResources`|First deprecated in the .NET Framework 4.5.<br /><br /> Used only for version 3.5 backward compatibility.|
707736
708737
## Microsoft.VisualBasic.dll
709738

710739
> [!div class="mx-tdBreakAll"]
740+
>
711741
> |Type|Member|Message|
712742
> |----------|------------|-------------|
713743
> |<xref:Microsoft.VisualBasic.FileSystem?displayProperty=nameWithType>|<xref:Microsoft.VisualBasic.FileSystem.FilePut%28System.Object%2CSystem.Object%2CSystem.Object%29>|This member has been deprecated. Use <xref:Microsoft.VisualBasic.FileSystem.FilePutObject%2A?displayProperty=nameWithType> to write <xref:System.Object> types, or coerce `FileNumber` and `RecordNumber` to <xref:System.Int32> for writing non-object types.|

docs/fundamentals/code-analysis/quality-rules/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ms.date: 01/31/2024
1212
The following table lists code quality analysis rules.
1313

1414
> [!div class="mx-tdCol2BreakAll"]
15+
>
1516
> | Rule ID and warning | Description |
1617
> | ------------------- | ----------- |
1718
> | [CA1000: Do not declare static members on generic types](ca1000.md) | When a static member of a generic type is called, the type argument must be specified for the type. When a generic instance member that does not support inference is called, the type argument must be specified for the member. In these two cases, the syntax for specifying the type argument is different and easily confused. |

docs/fundamentals/code-analysis/style-rules/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ The code-style rules are organized into the following subcategories:
3232
The following table list all the code-style rules by ID and [options](../code-style-rule-options.md), if any.
3333

3434
> [!div class="mx-tdCol3BreakAll"]
35+
>
3536
> | Rule ID | Title | Option |
3637
> | - | - | - |
3738
> | [IDE0001](ide0001.md) | Simplify name | |

0 commit comments

Comments
 (0)