From 68dddffd2c183eaea80648f557df2f35461c2db9 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Wed, 15 Aug 2018 10:27:31 -0700 Subject: [PATCH] Fix analyzer config doc inconsistencies Fixes #353 --- doc/analyzers/configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/analyzers/configuration.md b/doc/analyzers/configuration.md index 0020fde1..ec95ca86 100644 --- a/doc/analyzers/configuration.md +++ b/doc/analyzers/configuration.md @@ -36,7 +36,7 @@ These methods are identified as described below: **Line format:** `[Namespace.TypeName]::MethodName` -**Sample:** `Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread` +**Sample:** `[Microsoft.VisualStudio.Shell.ThreadHelper]::ThrowIfNotOnUIThread` ## Methods that switch to the main thread @@ -49,7 +49,7 @@ These methods are identified as described below: **Line format:** `[Namespace.TypeName]::MethodName` -**Sample:** `Microsoft.VisualStudio.Threading.JoinableTaskFactory.SwitchToMainThreadAsync` +**Sample:** `[Microsoft.VisualStudio.Threading.JoinableTaskFactory]::SwitchToMainThreadAsync` ## Members that require the main thread @@ -62,7 +62,7 @@ These are identified as described below: **Line format:** `[Namespace.TypeName]` or `[Namespace.*]` or `[Namespace.TypeName]::MemberName` -**Sample:** `Microsoft.VisualStudio.Shell.Interop.*` or `[Microsoft.VisualStudio.Shell.Package]::GetService` +**Sample:** `[Microsoft.VisualStudio.Shell.Interop.*]` or `[Microsoft.VisualStudio.Shell.Package]::GetService` Properties are specified by their name, not the name of their accessors. For example, a property should be specified by `PropertyName`, not `get_PropertyName`.