Skip to content

Commit fcee6d4

Browse files
authored
Merge pull request #3073 from mikeblome/mb-latestver
Remove old boilerplate from VS2015 topics
2 parents 0808b75 + ac677b1 commit fcee6d4

File tree

4,880 files changed

+0
-10000
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,880 files changed

+0
-10000
lines changed

docs/vs-2015/code-quality/all-rules-rule-set.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ manager: "wpickett"
1818
# All Rules rule set
1919
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2020

21-
The latest version of this topic can be found at [All Rules rule set](https://docs.microsoft.com/visualstudio/code-quality/all-rules-rule-set).
22-
2321
The All Rules rule set contains all of the rules for both native and managed code. The rule set includes all the rules that are described in the following topics:
2422

2523
1. [Code Analysis for C/C++ Warnings](../code-quality/code-analysis-for-c-cpp-warnings.md)

docs/vs-2015/code-quality/analyzing-application-quality-by-using-code-analysis-tools.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ manager: "wpickett"
2424
# Analyzing Application Quality by Using Code Analysis Tools
2525
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2626

27-
The latest version of this topic can be found at [Analyzing Application Quality by Using Code Analysis Tools](https://docs.microsoft.com/visualstudio/code-quality/analyzing-application-quality-by-using-code-analysis-tools).
28-
2927
In This Section
3028
[Analyzing Managed Code Quality](../code-quality/analyzing-managed-code-quality-by-using-code-analysis.md)
3129
Visual Studio code analysis for managed code provides information about managed assemblies, such as violations of the programming and design rules set forth in the Microsoft .NET Framework Design Guidelines. Warning messages identify any relevant programming and design issues and, when it is possible, supply information about how to fix the problem.

docs/vs-2015/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ manager: "ghogen"
2626
# Analyzing C/C++ Code Quality by Using Code Analysis
2727
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2828

29-
The latest version of this topic can be found at [Analyzing C/C++ Code Quality by Using Code Analysis](https://docs.microsoft.com/visualstudio/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis).
30-
3129
You can improve your C/C++ code by using the code analysis in Visual Studio to find and fix code defects.
3230

3331
## In This Section

docs/vs-2015/code-quality/analyzing-managed-code-quality-by-using-code-analysis.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ manager: "wpickett"
2121
# Analyzing Managed Code Quality by Using Code Analysis
2222
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2323

24-
The latest version of this topic can be found at [Analyzing Managed Code Quality by Using Code Analysis](https://docs.microsoft.com/visualstudio/code-quality/analyzing-managed-code-quality-by-using-code-analysis).
25-
2624
You can use the code analysis tools in Visual Studio to discover potential issues in your code, such as non-secure data access, usage violations, and design problems. Code analysis works on .NET Framework, native (C and C++), and database applications. Code analysis for managed code organizes rules in *rule sets* that target specific coding issues.
2725

2826
## Common Tasks

docs/vs-2015/code-quality/annotating-function-behavior.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ manager: "ghogen"
3030
# Annotating Function Behavior
3131
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
3232

33-
The latest version of this topic can be found at [Annotating Function Behavior](https://docs.microsoft.com/visualstudio/code-quality/annotating-function-behavior).
34-
3533
In addition to annotating [function parameters and return values](../code-quality/annotating-function-parameters-and-return-values.md), you can annotate properties of the whole function.
3634

3735
## Function Annotations

docs/vs-2015/code-quality/annotating-function-parameters-and-return-values.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ manager: "ghogen"
135135
# Annotating Function Parameters and Return Values
136136
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
137137

138-
The latest version of this topic can be found at [Annotating Function Parameters and Return Values](https://docs.microsoft.com/visualstudio/code-quality/annotating-function-parameters-and-return-values).
139-
140138
This article describes typical uses of annotations for simple function parameters—scalars, and pointers to structures and classes—and most kinds of buffers. This article also shows common usage patterns for annotations. For additional annotations that are related to functions, see [Annotating Function Behavior](../code-quality/annotating-function-behavior.md)
141139

142140
## Pointer Parameters

docs/vs-2015/code-quality/annotating-locking-behavior.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ manager: "ghogen"
4242
# Annotating Locking Behavior
4343
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
4444

45-
The latest version of this topic can be found at [Annotating Locking Behavior](https://docs.microsoft.com/visualstudio/code-quality/annotating-locking-behavior).
46-
4745
To avoid concurrency bugs in your multithreaded program, always follow an appropriate locking discipline and use SAL annotations.
4846

4947
Concurrency bugs are notoriously hard to reproduce, diagnose, and debug because they are non-deterministic. Reasoning about thread interleaving is difficult at best, and becomes impractical when you are designing a body of code that has more than a few threads. Therefore, it's good practice to follow a locking discipline in your multithreaded programs. For example, obeying a lock order while acquiring multiple locks helps avoid deadlocks, and acquiring the proper guarding lock before accessing a shared resource helps prevent race conditions.

docs/vs-2015/code-quality/annotating-structs-and-classes.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ manager: "ghogen"
3333
# Annotating Structs and Classes
3434
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
3535

36-
The latest version of this topic can be found at [Annotating Structs and Classes](https://docs.microsoft.com/visualstudio/code-quality/annotating-structs-and-classes).
37-
3836
You can annotate struct and class members by using annotations that act like invariants—they are presumed to be true at any function call or function entry/exit that involves the enclosing structure as a parameter or a result value.
3937

4038
## Struct and Class Annotations

docs/vs-2015/code-quality/anonymous-methods-and-code-analysis.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "wpickett"
2222
# Anonymous Methods and Code Analysis
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [Anonymous Methods and Code Analysis](https://docs.microsoft.com/visualstudio/code-quality/anonymous-methods-and-code-analysis).
26-
2725
An *anonymous method* is a method that has no name. Anonymous methods are most frequently used to pass a code block as a delegate parameter.
2826

2927
This topic explains how Code Analysis handles warnings and metrics that are associated with anonymous methods.

docs/vs-2015/code-quality/automatic-feature-suspension.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ manager: "wpickett"
1919
---
2020
# Automatic feature suspension
2121
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
22-
23-
The latest version of this topic can be found at [Automatic feature suspension](https://docs.microsoft.com/visualstudio/code-quality/automatic-feature-suspension).
24-
2522
If your available system memory falls to 200MB or less, Visual Studio displays the following message in the code editor.
2623

2724
![Alert text suspending full solution analysis](../code-quality/media/fsa-alert.png "FSA_Alert")

docs/vs-2015/code-quality/basic-correctness-rules-rule-set-for-managed-code.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ manager: "wpickett"
1818
# Basic Correctness Rules rule set for managed code
1919
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2020

21-
The latest version of this topic can be found at [Basic Correctness Rules rule set for managed code](https://docs.microsoft.com/visualstudio/code-quality/basic-correctness-rules-rule-set-for-managed-code).
22-
2321
The Basic Correctness Rules rule set focuses on logic errors and common mistakes in the usage of framework APIs. The Basic Correctness Rules include the rules in the Minimum Recommended Rules rule set. For more information, see [Managed Recommended Rules rule set for managed code](../code-quality/managed-recommended-rules-rule-set-for-managed-code.md) You should include this rule set to expand on the list of warnings that the minimum recommended rules report.
2422

2523
The following table describes all the rules in the Microsoft Basic Correctness Rules rule set.

docs/vs-2015/code-quality/basic-design-guideline-rules-rule-set-for-managed-code.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ manager: "wpickett"
1818
# Basic Design Guideline Rules rule set for managed code
1919
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2020

21-
The latest version of this topic can be found at [Basic Design Guideline Rules rule set for managed code](https://docs.microsoft.com/visualstudio/code-quality/basic-design-guideline-rules-rule-set-for-managed-code).
22-
2321
You can use the Microsoft Basic Design Guideline Rules rule set to focus on making your code easier to understand and use. You should include this rule set if your project includes library code or if you want to enforce best practices for code that is easy to maintain.
2422

2523
The Basic Design Guideline Rules include all the rules in the Microsoft Minimum Recommeded Rules rule set. For a list of the minimum rules, see [Managed Recommended Rules rule set for managed code](../code-quality/managed-recommended-rules-rule-set-for-managed-code.md).

docs/vs-2015/code-quality/best-practices-and-examples-sal.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ manager: "ghogen"
1818
# Best Practices and Examples (SAL)
1919
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2020

21-
The latest version of this topic can be found at [Best Practices and Examples (SAL)](https://docs.microsoft.com/visualstudio/code-quality/best-practices-and-examples-sal).
22-
2321
Here are some ways to get the most out of the Source Code Annotation Language (SAL) and avoid some common problems.
2422

2523
## _In\_

docs/vs-2015/code-quality/c1250.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1250
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1250](https://docs.microsoft.com/visualstudio/code-quality/c1250).
26-
2725
warning C1250: Unable to load plug-in.
2826

2927
The Code Analysis tool reports this warning when there is an internal error in the plugin, not in the code being analyzed.

docs/vs-2015/code-quality/c1251.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ manager: "ghogen"
1818
# C1251
1919
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2020

21-
The latest version of this topic can be found at [C1251](https://docs.microsoft.com/visualstudio/code-quality/c1251).
22-
2321
warning C1251: Unable to load models.
2422

2523
The Code Analysis tool reports this warning when there is an internal error in the model file, not in the code being analyzed.

docs/vs-2015/code-quality/c1252.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1252
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1252](https://docs.microsoft.com/visualstudio/code-quality/c1252).
26-
2725
warning C1252: Circular or missing dependency between plugins: requires GUID
2826

2927
The Code Analysis tool reports this warning when there is an internal error with plugin dependencies, not in the code being analyzed.

docs/vs-2015/code-quality/c1253.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1253
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1253](https://docs.microsoft.com/visualstudio/code-quality/c1253).
26-
2725
warning C1253: Unable to load model file.
2826

2927
The Code Analysis tool reports this warning when there is an internal error in the model file, not in the code being analyzed.

docs/vs-2015/code-quality/c1254.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1254
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1254](https://docs.microsoft.com/visualstudio/code-quality/c1254).
26-
2725
warning C1254: Plugin version mismatch : version doesn't match the version of the PREfast driver
2826

2927
The Code Analysis tool reports this warning when there is an internal error with the plugin version, not in the code being analyzed.

docs/vs-2015/code-quality/c1255.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1255
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1255](https://docs.microsoft.com/visualstudio/code-quality/c1255).
26-
2725
warning C1255: PCH data for plugin has incorrect length.
2826

2927
The Code Analysis tool reports this warning when there is an internal error in the tool, not in the code being analyzed.

docs/vs-2015/code-quality/c1256.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1256
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1256](https://docs.microsoft.com/visualstudio/code-quality/c1256).
26-
2725
warning C1256: PCH must be both written and read.
2826

2927
The Code Analysis tool reports this warning when there is an internal error in the tool, not in the code being analyzed.

docs/vs-2015/code-quality/c1257.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C1257
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C1257](https://docs.microsoft.com/visualstudio/code-quality/c1257).
26-
2725
warning 1257: Plugin Initialization Failure.
2826

2927
The Code Analysis tool reports this warning when there is an internal error in the plugin, not in the code being analyzed.

docs/vs-2015/code-quality/c26100.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26100
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26100](https://docs.microsoft.com/visualstudio/code-quality/c26100).
26-
2725
warning C26100: Race condition. Variable \<var> should be protected by lock \<lock>.
2826

2927
The `_Guarded_by_` annotation in the code specifies the lock to use to guard a shared variable. Warning C26100 is generated when the guard contract is violated.

docs/vs-2015/code-quality/c26101.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26101
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26101](https://docs.microsoft.com/visualstudio/code-quality/c26101).
26-
2725
warning C26101: Failing to use interlocked operation properly for variable \<var>.
2826

2927
Windows APIs offer a variety of interlocked operations. Annotation `_Interlocked_` specifies that a variable should only be accessed through an interlocked operation. Warning C26101 is issued when an access is not consistent with the `_Interlocked_` annotation.

docs/vs-2015/code-quality/c26105.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26105
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26105](https://docs.microsoft.com/visualstudio/code-quality/c26105).
26-
2725
warning C26105: Lock order violation. Acquiring lock \<lock> with level \<level> causes order inversion.
2826

2927
Concurrency SAL supports *lock levels*. To declare a lock level, which is denoted by a string literal without double quotes, use `_Create_lock_level_`. You can impose an order of acquisition between two lock levels by using the annotation `_Set_lock_level_order_(A,B)`, which states that locks that have level `A` must be acquired before locks that have level `B`. To establish a lock order hierarchy (a partial order among lock levels), use multiple `_Set_lock_level_order_` annotations. To associate a lock with a lock level, use the `_Set_lock_level_` annotation when you declare the lock. Warning C26105 is issued when a lock ordering violation is detected.

docs/vs-2015/code-quality/c26110.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26110
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26110](https://docs.microsoft.com/visualstudio/code-quality/c26110).
26-
2725
warning C26110: Caller failing to hold lock \<lock> before calling function \<func>.
2826

2927
When a lock is required, make sure to clarify whether the function itself or its caller should acquire the lock. Warning C26110 is issued when there is a violation of the `_Requires_lock_held_` annotation.

docs/vs-2015/code-quality/c26111.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26111
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26111](https://docs.microsoft.com/visualstudio/code-quality/c26111).
26-
2725
warning C26111: Caller failing to release lock \<lock> before calling function \<func>.
2826

2927
The annotation `_Requires_lock_not_held_` imposes a precondition that the lock count for the specified lock cannot be greater than zero when the function is called. Warning C26111 is issued when a function fails to release the lock before it calls another function.

docs/vs-2015/code-quality/c26112.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26112
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26112](https://docs.microsoft.com/visualstudio/code-quality/c26112).
26-
2725
warning C26112: Caller cannot hold any lock before calling \<func>.
2826

2927
The annotation `_Requires_no_locks_held_` imposes a precondition that the caller must not hold any lock while it calls the function. Warning C26112 is issued when a function fails to release all locks before it calls another function.

docs/vs-2015/code-quality/c26115.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26115
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26115](https://docs.microsoft.com/visualstudio/code-quality/c26115).
26-
2725
warning C26115: Failing to release lock \<lock> in function \<func>.
2826

2927
Enforcement of syntactically scoped lock *acquire* and lock *release* pairs in C/C++ programs is not performed by the language. A function may introduce a locking side effect by making an observable modification to the concurrency state. For example, a lock wrapper function increments the number of lock acquisitions, or lock count, for a given lock.

docs/vs-2015/code-quality/c26116.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26116
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26116](https://docs.microsoft.com/visualstudio/code-quality/c26116).
26-
2725
warning C26116: Failing to acquire or to hold lock \<lock> in \<func>.
2826

2927
Enforcement of syntactically scoped lock *acquire* and lock *release* pairs in C/C++ programs is not performed by the language. A function may introduce a locking side effect by making an observable modification to the concurrency state. For example, a lock wrapper function increments the number of lock acquisitions, or lock count, for a given lock.You can annotate a function that has a side effect from a lock acquire or lock release by using `_Acquires_lock_` or `_Requires_lock_held`, respectively. Without such annotations, a function is expected not to change any lock count after it returns. If acquires and releases are not balanced, they are considered to be *orphaned*. Warning C26116 is issued when a function has been annotated with `_Acquires_lock_`, but it does not acquire a lock, or when a function is annotated with `_Requires_lock_held` and releases the lock.

docs/vs-2015/code-quality/c26117.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26117
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26117](https://docs.microsoft.com/visualstudio/code-quality/c26117).
26-
2725
warning C26117: Releasing unheld lock \<lock> in function \<func>.
2826

2927
Enforcement of syntactically scoped lock *acquire* and lock *release* pairs in C/C++ programs is not performed by the language. A function may introduce a locking side effect by making an observable modification to the concurrency state. For example, a lock wrapper function increments the number of lock acquisitions, or lock count, for a given lock.You can annotate a function that has a side effect from a lock acquire or lock release by using `_Acquires_lock_` or `_Releases_lock_`, respectively. Without such annotations, a function is expected not to change any lock count after it returns. If acquires and releases are not balanced, they are considered to be *orphaned*. Warning C26117 is issued when a function that has not been annotated with `_Releases_lock_` releases a lock that it doesn't hold, because the function must own the lock before it releases it.

docs/vs-2015/code-quality/c26130.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26130
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26130](https://docs.microsoft.com/visualstudio/code-quality/c26130).
26-
2725
warning C26130: Missing annotation _Requires_lock_held\_(\<lock>) or _No_competing_thread\_ at function \<func>. Otherwise it could be a race condition. Variable \<var> should be protected by lock \<lock>.
2826

2927
Warning C26130 is issued when the analyzer detects a potential race condition but infers that the function is likely to be run in a single threaded mode, for example, when the function is in the initialization stage based on certain heuristics.

docs/vs-2015/code-quality/c26135.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ manager: "ghogen"
2222
# C26135
2323
[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]
2424

25-
The latest version of this topic can be found at [C26135](https://docs.microsoft.com/visualstudio/code-quality/c26135).
26-
2725
warning C26135: Missing annotation \<annotation> at function \<func>.
2826

2927
Warning C26135 is issued when the analyzer infers that a function is a lock wrapper function that has a lock acquire or lock release side effect. If the code is not intended to be a wrapper function, then either the lock is leaking (if the lock is being acquired) or it is being released incorrectly (if the lock is being released).

0 commit comments

Comments
 (0)