Skip to content

Commit 100a8f0

Browse files
Correct the link to the known pitfalls to include file type
Co-authored-by: Bill Wagner <[email protected]>
1 parent f5bad4f commit 100a8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/compiler-messages/nullable-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ This article covers the following compiler warnings:
172172
The purpose of nullable warnings is to minimize the chance that your application throws a <xref:System.NullReferenceException?displayProperty=nameWithType> when run. To achieve this goal, the compiler uses static analysis and issues warnings when your code has constructs that may lead to null reference exceptions. You provide the compiler with information for its static analysis by applying type annotations and attributes. These annotations and attributes describe the nullability of arguments, parameters, and members of your types. In this article, you'll learn different techniques to address the nullable warnings the compiler generates from its static analysis. The techniques described here are for general C# code. Learn to work with nullable reference types and Entity Framework core in [Working with nullable reference types](/ef/core/miscellaneous/nullable-reference-types).
173173

174174
> [!NOTE]
175-
> The static analysis can't always deduce in what order, in a specific scenario, are methods accessed, and whether the method will complete successfully without throwing an exception. Those known pitfalls are well described in [Known pitfalls](../../nullable-references#known-pitfalls) section.
175+
> The static analysis can't always deduce in what order, in a specific scenario, methods are accessed, and whether the method completes successfully without throwing an exception. Those known pitfalls are well described in [Known pitfalls](../../nullable-references.md#known-pitfalls) section.
176176
177177
You'll address almost all warnings using one of four techniques:
178178

0 commit comments

Comments
 (0)