From 55bc9ff28480de547e7e95d13d0f63e1a95fd4f5 Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Mon, 21 Sep 2020 21:38:47 +0200 Subject: [PATCH] Corrected references to language-specific syntax nodes in documentation (#47674) --- src/Compilers/CSharp/Portable/SymbolDisplay/ObjectDisplay.cs | 2 +- src/Compilers/Core/Portable/Syntax/SyntaxNode.cs | 2 +- src/Compilers/Core/Portable/Syntax/SyntaxTrivia.cs | 3 +-- .../VisualBasic/Portable/SymbolDisplay/ObjectDisplay.vb | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Compilers/CSharp/Portable/SymbolDisplay/ObjectDisplay.cs b/src/Compilers/CSharp/Portable/SymbolDisplay/ObjectDisplay.cs index c3f279dd60f..31fbef857fe 100644 --- a/src/Compilers/CSharp/Portable/SymbolDisplay/ObjectDisplay.cs +++ b/src/Compilers/CSharp/Portable/SymbolDisplay/ObjectDisplay.cs @@ -20,7 +20,7 @@ namespace Microsoft.CodeAnalysis.CSharp /// Separate from because we want to link this functionality into /// the Formatter project and we don't want it to be public there. /// - /// + /// #pragma warning restore CA1200 // Avoid using cref tags with a prefix internal static class ObjectDisplay { diff --git a/src/Compilers/Core/Portable/Syntax/SyntaxNode.cs b/src/Compilers/Core/Portable/Syntax/SyntaxNode.cs index 913a124d19b..ec755e97e1c 100644 --- a/src/Compilers/Core/Portable/Syntax/SyntaxNode.cs +++ b/src/Compilers/Core/Portable/Syntax/SyntaxNode.cs @@ -20,7 +20,7 @@ namespace Microsoft.CodeAnalysis #pragma warning disable CA1200 // Avoid using cref tags with a prefix /// /// Represents a non-terminal node in the syntax tree. This is the language agnostic equivalent of and . + /// cref="T:Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode"/> and . /// #pragma warning restore CA1200 // Avoid using cref tags with a prefix [DebuggerDisplay("{GetDebuggerDisplay(), nq}")] diff --git a/src/Compilers/Core/Portable/Syntax/SyntaxTrivia.cs b/src/Compilers/Core/Portable/Syntax/SyntaxTrivia.cs index a45e165ba8a..383a0652e85 100644 --- a/src/Compilers/Core/Portable/Syntax/SyntaxTrivia.cs +++ b/src/Compilers/Core/Portable/Syntax/SyntaxTrivia.cs @@ -16,8 +16,7 @@ namespace Microsoft.CodeAnalysis { #pragma warning disable CA1200 // Avoid using cref tags with a prefix /// - /// Represents a trivia in the syntax tree. This is the language agnostic equivalent of and . + /// Represents a trivia in the syntax tree. /// #pragma warning restore CA1200 // Avoid using cref tags with a prefix [DebuggerDisplay("{GetDebuggerDisplay(), nq}")] diff --git a/src/Compilers/VisualBasic/Portable/SymbolDisplay/ObjectDisplay.vb b/src/Compilers/VisualBasic/Portable/SymbolDisplay/ObjectDisplay.vb index 23a6c544f5a..2380d12511c 100644 --- a/src/Compilers/VisualBasic/Portable/SymbolDisplay/ObjectDisplay.vb +++ b/src/Compilers/VisualBasic/Portable/SymbolDisplay/ObjectDisplay.vb @@ -12,7 +12,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ObjectDisplay ''' ''' Displays a value in the VisualBasic style. ''' - ''' + ''' #Enable Warning CA1200 ' Avoid using cref tags with a prefix Friend Module ObjectDisplay -- GitLab