Skip to content

Commit 2d35565

Browse files
authored
Provide better H1 and titles (#27611)
Fixes #26814 Use better titles and H1 terms
1 parent a802249 commit 2d35565

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

docs/csharp/language-reference/attributes/caller-information.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "C# Reserved attributes: Tracking caller information"
2+
title: "Attributes interpreted by the C# compiler: Tracking caller information"
33
ms.date: 11/02/2021
44
description: These attributes instruct the compiler to generate information about the code that calls a member. You use the CallerFilePath, CallerLineNumber, CallerMemberName, and CallerArgumentExpression to provide detailed trace information
55
---
66

7-
# Reserved attributes: Determine caller information
7+
# Determine caller information using attributes interpreted by the C# compiler
88

99
Using info attributes, you obtain information about the caller to a method. You obtain the file path of the source code, the line number in the source code, and the member name of the caller. To obtain member caller information, you use attributes that are applied to optional parameters. Each optional parameter specifies a default value. The following table lists the Caller Info attributes that are defined in the <xref:System.Runtime.CompilerServices?displayProperty=nameWithType> namespace:
1010

docs/csharp/language-reference/attributes/general.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "C# reserved attributes: Miscellaneous"
3-
ms.date: 10/19/2021
2+
title: "Attributes interpreted by the C# compiler: Miscellaneous"
3+
ms.date: 12/16/2021
44
description: "Learn about attributes that affect code generated by the compiler: the Conditional, Obsolete, AttributeUsage, ModuleInitializer, and SkipLocalsInit attributes."
55
---
6-
# Reserved attributes: Miscellaneous
6+
# Miscellaneous attributes interpreted by the C# compiler
77

88
These attributes can be applied to elements in your code. They add semantic meaning to those elements. The compiler uses those semantic meanings to alter its output and report possible mistakes by developers using your code.
99

docs/csharp/language-reference/attributes/global.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "C# reserved attributes: Global attributes"
3-
ms.date: 04/09/2020
2+
title: "Attributes interpreted by the C# compiler: Global attributes"
3+
ms.date: 12/16/2020
44
description: Attributes provide metadata the compiler uses to understand more semantics of your program
55
---
6-
# Reserved attributes: Assembly level attributes
6+
# Assembly level attributes interpreted by the C# compiler
77

88
Most attributes are applied to specific language elements such as classes or methods; however, some attributes are global—they apply to an entire assembly or module. For example, the <xref:System.Reflection.AssemblyVersionAttribute> attribute can be used to embed version information into an assembly, like this:
99

docs/csharp/language-reference/attributes/nullable-analysis.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "C# Reserved attributes: Nullable static analysis"
3-
ms.date: 09/08/2021
2+
title: "Attributes interpreted by the C# compiler: Nullable static analysis"
3+
ms.date: 12/16/2021
44
description: Learn about attributes that are interpreted by the compiler to provide better static analysis for nullable and non-nullable reference types.
55
---
6-
# Attributes for null-state static analysis
6+
# Attributes for null-state static analysis interpreted by the C# compiler
77

88
In a nullable enabled context, the compiler performs static analysis of code to determine the *null-state* of all reference type variables:
99

0 commit comments

Comments
 (0)