You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description:$"Cannot generate sample pane options for a type which does not use {nameof(Attributes.ToolkitSampleAttribute)}.");
27
+
description:"Cannot generate sample pane options for a type which does not use ToolkitSampleAttribute.");
28
28
29
29
/// <summary>
30
30
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a derived <see cref="Attributes.ToolkitSampleOptionBaseAttribute"/> with an empty or invalid name.
31
31
/// <para>
32
-
/// Format: <c>"Cannot generate sample pane options for type {0} as it contains an empty or invalid name."</c>.
32
+
/// Format: <c>"Cannot generate sample pane options for type {0} as it contains an empty or invalid name"</c>.
description:$"Cannot generate sample pane options when the provided name is empty or invalid.");
42
+
description:"Cannot generate sample pane options when the provided name is empty or invalid.");
43
43
44
44
/// <summary>
45
45
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a <see cref="Attributes.ToolkitSampleOptionsPaneAttribute"/> with a <see cref="Attributes.ToolkitSampleOptionsPaneAttribute.SampleId"/> that doesn't have a corresponding <see cref="Attributes.ToolkitSampleAttribute.Id"/>.
@@ -49,12 +49,12 @@ public static class DiagnosticDescriptors
messageFormat:$"Cannot link sample options pane to type {{0}} as the provided sample ID does not match any known {nameof(Attributes.ToolkitSampleAttribute)}",
52
+
title:"Missing or invalid sample Id",
53
+
messageFormat:"Cannot link sample options pane to type {{0}} as the provided sample ID does not match any known ToolkitSampleAttribute",
description:$"Cannot link sample options pane to a provided sample ID that does not match any known {nameof(Attributes.ToolkitSampleAttribute)}.");
57
+
description:"Cannot link sample options pane to a provided sample ID that does not match any known ToolkitSampleAttribute.");
58
58
59
59
/// <summary>
60
60
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a derived <see cref="Attributes.ToolkitSampleOptionBaseAttribute"/> that contains a name which is already in use by another sample option.
@@ -64,12 +64,12 @@ public static class DiagnosticDescriptors
description:$"Cannot generate sample pane option when the provided name is used by another sample option.");
72
+
description:"Cannot generate sample pane option when the provided name is used by another sample option.");
73
73
74
74
/// <summary>
75
75
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a derived <see cref="Attributes.ToolkitSampleOptionBaseAttribute"/> that contains a name which is already defined as a member in the attached class.
@@ -79,12 +79,12 @@ public static class DiagnosticDescriptors
description:$"Cannot generate sample pane option when the provided name is already defined as a member in the attached class.");
87
+
description:"Cannot generate sample pane option when the provided name is already defined as a member in the attached class.");
88
88
89
89
/// <summary>
90
90
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a <see cref="Attributes.ToolkitSampleMultiChoiceOptionAttribute"/> that has no defined options to present to the user.
@@ -94,117 +94,117 @@ public static class DiagnosticDescriptors
description:$"Cannot generate sample metadata as the attribute was used on an unsupported type.");
117
+
description:"Cannot generate sample metadata as the attribute was used on an unsupported type.");
118
118
119
119
/// <summary>
120
120
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a <see cref="Attributes.ToolkitSampleOptionsPaneAttribute"/> that was used on an unsupported type.
121
121
/// <para>
122
-
/// Format: <c>"Cannot generate options pane metadata as the attribute was used on an unsupported type."</c>.
122
+
/// Format: <c>"Cannot generate options pane metadata as the attribute was used on an unsupported type"</c>.
description:$"Cannot generate options pane metadata as the attribute was used on an unsupported type.");
132
+
description:"Cannot generate options pane metadata as the attribute was used on an unsupported type.");
133
133
134
134
/// <summary>
135
135
/// Gets a <see cref="DiagnosticDescriptor"/> indicating a derived <see cref="Attributes.ToolkitSampleOptionBaseAttribute"/> that was used on an unsupported type.
136
136
/// <para>
137
-
/// Format: <c>"Cannot generate sample option metadata as the attribute was used on an unsupported type."</c>.
137
+
/// Format: <c>"Cannot generate sample option metadata as the attribute was used on an unsupported type"</c>.
messageFormat:$"The documentation page '{{0}}' does not reference any sample examples, it is recommended to have at least one code sample per document page.",
202
+
title:"Documentation Has No Samples",
203
+
messageFormat:"The documentation page '{{0}}' does not reference any sample examples, it is recommended to have at least one code sample per document page",
0 commit comments