Skip to content

Commit ad0a0a4

Browse files
authored
fix that/which grammar (#11143)
1 parent 443adba commit ad0a0a4

File tree

40 files changed

+3954
-3957
lines changed

40 files changed

+3954
-3957
lines changed

xml/Microsoft.Build.Tasks.Windows/GenerateTemporaryTargetAssembly.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
<ReturnType>System.String</ReturnType>
108108
</ReturnValue>
109109
<Docs>
110-
<summary>Gets or sets the MS Build target name which is used to generate assembly from source code files.</summary>
111-
<value>The MS Build target name which is used to generate assembly from source code files.</value>
110+
<summary>Gets or sets the MSBuild target name that's used to generate assembly from source code files.</summary>
111+
<value>The MSBuild target name that's used to generate assembly from source code files.</value>
112112
<remarks>To be added.</remarks>
113113
<forInternalUseOnly />
114114
</Docs>
@@ -144,8 +144,8 @@
144144
<ReturnType>System.String</ReturnType>
145145
</ReturnValue>
146146
<Docs>
147-
<summary>Gets or sets the appropriate item name which can be accepted by managed compiler task.</summary>
148-
<value>The appropriate item name which can be accepted by managed compiler task.</value>
147+
<summary>Gets or sets the appropriate item name that can be accepted by managed compiler task.</summary>
148+
<value>The appropriate item name that can be accepted by managed compiler task.</value>
149149
<remarks>To be added.</remarks>
150150
<forInternalUseOnly />
151151
</Docs>
@@ -414,8 +414,8 @@
414414
<ReturnType>System.String</ReturnType>
415415
</ReturnValue>
416416
<Docs>
417-
<summary>Gets or sets the item name which is used to keep the Reference list in managed compiler task.</summary>
418-
<value>The item name which is used to keep the Reference list in managed compiler task.</value>
417+
<summary>Gets or sets the item name that's used to keep the Reference list in managed compiler task.</summary>
418+
<value>The item name that's used to keep the Reference list in managed compiler task.</value>
419419
<remarks>To be added.</remarks>
420420
<forInternalUseOnly />
421421
</Docs>

xml/Microsoft.Build.Tasks.Windows/MarkupCompilePass1.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@
107107
<value>
108108
<see langword="true" /> to run the compilation in second application domain; otherwise, <see langword="false" />.</value>
109109
<remarks>
110-
<format type="text/markdown"><![CDATA[
111-
112-
## Remarks
113-
Setting this property to `false` results in faster compilation.
114-
110+
<format type="text/markdown"><![CDATA[
111+
112+
## Remarks
113+
Setting this property to `false` results in faster compilation.
114+
115115
]]></format>
116116
</remarks>
117117
<forInternalUseOnly />
@@ -215,7 +215,7 @@
215215
</ReturnValue>
216216
<Docs>
217217
<summary>Gets or sets the short name of assembly that will be generated for this project.</summary>
218-
<value>The short name of assembly which will be generated for this project.</value>
218+
<value>The short name of assembly that will be generated for this project.</value>
219219
<remarks>To be added.</remarks>
220220
<forInternalUseOnly />
221221
</Docs>

xml/Microsoft.Build.Tasks.Windows/MarkupCompilePass2.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
</ReturnValue>
139139
<Docs>
140140
<summary>Gets or sets the short name of assembly that will be generated for this project.</summary>
141-
<value>The short name of assembly which will be generated for this project.</value>
141+
<value>The short name of assembly that will be generated for this project.</value>
142142
<remarks>To be added.</remarks>
143143
<forInternalUseOnly />
144144
</Docs>

xml/Microsoft.VisualBasic.FileIO/FileSystem.xml

+1,180-1,180
Large diffs are not rendered by default.

xml/Microsoft.VisualBasic.MyServices/RegistryProxy.xml

+286-286
Large diffs are not rendered by default.

xml/System.Activities.Hosting/WorkflowInstance.xml

+46-46
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@
1818
<summary>
1919
<see cref="T:System.Activities.Hosting.WorkflowInstance" /> is a lightweight, per-instance runtime for executing a workflow program. It can be constructed to create a new workflow instance or from existing instance state. The APIs that <see cref="T:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl" /> exposes are the minimal set of runtime controls from which higher level operations can be implemented. This API set represents the entire breadth of functionality of the runtime. <see cref="T:System.Activities.Hosting.WorkflowInstance" /> is an abstract class and relies on a host's implementation of its abstract methods in order to provide host functionality such as synchronization, persistence, tracking, and extensions.</summary>
2020
<remarks>
21-
<format type="text/markdown"><![CDATA[
22-
23-
## Remarks
24-
<xref:System.Activities.Hosting.WorkflowInstance> is single threaded and assumes that the host synchronizes all access to it. An attempt to call multiple APIs simultaneously will result in an <xref:System.InvalidOperationException> being thrown.
25-
26-
Internally, a <xref:System.Activities.Hosting.WorkflowInstance> has two states: Running and Paused. The only way to cause the runtime to transition from paused to running is to call <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Run%2A>. All actions (except Pause) can only be taken while the runtime is Paused. The runtime will become spontaneously Paused in the following situations:
27-
28-
- An error fatal to the runtime has occurred. The host will be signaled through <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> (which does not signal a transition to Paused) and then notified through <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyPaused%2A>.
29-
30-
- An exception in the workflow was uncaught and escaped the root. The host will be notified through the <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyUnhandledException%2A> method.
31-
32-
- The scheduler has run out of work items and is now <xref:System.Activities.Hosting.WorkflowInstanceState.Idle>. The host will be notified through the <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyPaused%2A> method. Note that the scheduler could have run out of work items because the instance is idle or because the instance is complete. The <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.State%2A> value of the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property can be used to differentiate between the two.
33-
34-
The host can request a change from Running to Paused by calling the <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.RequestPause%2A> or <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.PauseWhenPersistable%2A> methods of the <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl> instance returned by the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property. This request should not be considered to have a specific response meaning that the host should not attempt to correlate an OnNotify* or <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> with a specific call to pause. In response to a pause request, the runtime may transition to Paused and call <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyPaused%2A> while the scheduler still has pending work items. The <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.State%2A> value of the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property can be used to determine whether the scheduler has no more work or was interrupted by a request to pause.
35-
36-
The <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.RequestPause%2A> method of the <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl> instance returned by the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property is the only method which can be called while the <xref:System.Activities.Hosting.WorkflowInstance> is in the Running state. All other methods will throw an <xref:System.InvalidOperationException> if called.Given the rules for how <xref:System.Activities.Hosting.WorkflowInstance> transitions from one state to another, the public notion of Running and Paused can be defined as follows:
37-
38-
- Running - The state between a call to <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Run%2A> and the next WorkflowInstance.OnNotify*.
39-
40-
- Paused - The state between the last WorkflowInstance.OnNotify* and the next call to <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Run%2A>.
41-
21+
<format type="text/markdown"><![CDATA[
22+
23+
## Remarks
24+
<xref:System.Activities.Hosting.WorkflowInstance> is single threaded and assumes that the host synchronizes all access to it. An attempt to call multiple APIs simultaneously will result in an <xref:System.InvalidOperationException> being thrown.
25+
26+
Internally, a <xref:System.Activities.Hosting.WorkflowInstance> has two states: Running and Paused. The only way to cause the runtime to transition from paused to running is to call <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Run%2A>. All actions (except Pause) can only be taken while the runtime is Paused. The runtime will become spontaneously Paused in the following situations:
27+
28+
- An error fatal to the runtime has occurred. The host will be signaled through <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> (which does not signal a transition to Paused) and then notified through <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyPaused%2A>.
29+
30+
- An exception in the workflow was uncaught and escaped the root. The host will be notified through the <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyUnhandledException%2A> method.
31+
32+
- The scheduler has run out of work items and is now <xref:System.Activities.Hosting.WorkflowInstanceState.Idle>. The host will be notified through the <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyPaused%2A> method. Note that the scheduler could have run out of work items because the instance is idle or because the instance is complete. The <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.State%2A> value of the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property can be used to differentiate between the two.
33+
34+
The host can request a change from Running to Paused by calling the <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.RequestPause%2A> or <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.PauseWhenPersistable%2A> methods of the <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl> instance returned by the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property. This request should not be considered to have a specific response meaning that the host should not attempt to correlate an OnNotify* or <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> with a specific call to pause. In response to a pause request, the runtime may transition to Paused and call <xref:System.Activities.Hosting.WorkflowInstance.OnNotifyPaused%2A> while the scheduler still has pending work items. The <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.State%2A> value of the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property can be used to determine whether the scheduler has no more work or was interrupted by a request to pause.
35+
36+
The <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.RequestPause%2A> method of the <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl> instance returned by the <xref:System.Activities.Hosting.WorkflowInstance.Controller%2A> property is the only method that can be called while the <xref:System.Activities.Hosting.WorkflowInstance> is in the Running state. All other methods will throw an <xref:System.InvalidOperationException> if called.Given the rules for how <xref:System.Activities.Hosting.WorkflowInstance> transitions from one state to another, the public notion of Running and Paused can be defined as follows:
37+
38+
- Running - The state between a call to <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Run%2A> and the next WorkflowInstance.OnNotify*.
39+
40+
- Paused - The state between the last WorkflowInstance.OnNotify* and the next call to <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Run%2A>.
41+
4242
]]></format>
4343
</remarks>
4444
</Docs>
@@ -348,11 +348,11 @@
348348
<summary>Gets or sets the root environment for the workflow instance's arguments and variables.</summary>
349349
<value>The root environment for the workflow instance's arguments and variables.</value>
350350
<remarks>
351-
<format type="text/markdown"><![CDATA[
352-
353-
## Remarks
354-
If this property is set after the workflow instance is initialized and <xref:System.Activities.Hosting.WorkflowInstance.IsReadOnly%2A> returns `true`, an <xref:System.InvalidOperationException> is thrown.
355-
351+
<format type="text/markdown"><![CDATA[
352+
353+
## Remarks
354+
If this property is set after the workflow instance is initialized and <xref:System.Activities.Hosting.WorkflowInstance.IsReadOnly%2A> returns `true`, an <xref:System.InvalidOperationException> is thrown.
355+
356356
]]></format>
357357
</remarks>
358358
</Docs>
@@ -799,11 +799,11 @@
799799
<param name="reason">The reason for aborting the workflow instance.</param>
800800
<summary>Called by the workflow runtime to notify the host that an abort operation has been requested for the workflow instance.</summary>
801801
<remarks>
802-
<format type="text/markdown"><![CDATA[
803-
804-
## Remarks
805-
Once <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> is called, most <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl> APIs except <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Abort%2A> will throw an <xref:System.InvalidOperationException>. It is expected that after <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> is called a host will trend toward a state in which it can satisfy the abort.
806-
802+
<format type="text/markdown"><![CDATA[
803+
804+
## Remarks
805+
Once <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> is called, most <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl> APIs except <xref:System.Activities.Hosting.WorkflowInstance.WorkflowInstanceControl.Abort%2A> will throw an <xref:System.InvalidOperationException>. It is expected that after <xref:System.Activities.Hosting.WorkflowInstance.OnRequestAbort%2A> is called a host will trend toward a state in which it can satisfy the abort.
806+
807807
]]></format>
808808
</remarks>
809809
</Docs>
@@ -830,11 +830,11 @@
830830
<param name="extensionManager">The extension manager to register.</param>
831831
<summary>Called by the host to register the specified extension manager, validate that all required extensions are present, and to initialize the collection of extensions to be used.</summary>
832832
<remarks>
833-
<format type="text/markdown"><![CDATA[
834-
835-
## Remarks
836-
Extensions are keyed by type, and a host provided extension will always be used if provided. Extensions added through <xref:System.Activities.Hosting.WorkflowInstanceExtensionManager.Add%2A> use the runtime type of the object as the type key. Extensions providers added through <xref:System.Activities.Hosting.WorkflowInstanceExtensionManager.Add%2A> use the decared type T of the Func\<T> as the type key. Extension providers contributed by activities through the various *ActivityMetadata.AddDefaultExtensionProvider methods are dropped if a host extension exists for the declared type or if there is a broader type provided through AddDefaultExtensionProvider (ex. if Func\<StreamWriter> is provided and Func\<TextWriter> is provided, only Func\<StreamWriter> will be kept). If an extension does not exist in the collection that is required by an activity (expressed by calling *ActivityMetadata.RequireExtension) a <xref:System.Activities.ValidationException> is thrown.
837-
833+
<format type="text/markdown"><![CDATA[
834+
835+
## Remarks
836+
Extensions are keyed by type, and a host provided extension will always be used if provided. Extensions added through <xref:System.Activities.Hosting.WorkflowInstanceExtensionManager.Add%2A> use the runtime type of the object as the type key. Extensions providers added through <xref:System.Activities.Hosting.WorkflowInstanceExtensionManager.Add%2A> use the decared type T of the Func\<T> as the type key. Extension providers contributed by activities through the various *ActivityMetadata.AddDefaultExtensionProvider methods are dropped if a host extension exists for the declared type or if there is a broader type provided through AddDefaultExtensionProvider (ex. if Func\<StreamWriter> is provided and Func\<TextWriter> is provided, only Func\<StreamWriter> will be kept). If an extension does not exist in the collection that is required by an activity (expressed by calling *ActivityMetadata.RequireExtension) a <xref:System.Activities.ValidationException> is thrown.
837+
838838
]]></format>
839839
</remarks>
840840
</Docs>
@@ -886,11 +886,11 @@
886886
<summary>Gets or sets the <see cref="T:System.Threading.SynchronizationContext" /> used for scheduling the workflow instance.</summary>
887887
<value>The synchronization context used for scheduling the workflow instance.</value>
888888
<remarks>
889-
<format type="text/markdown"><![CDATA[
890-
891-
## Remarks
892-
If this property is set after the workflow instance is initialized and <xref:System.Activities.Hosting.WorkflowInstance.IsReadOnly%2A> returns `true`, an <xref:System.InvalidOperationException> is thrown.
893-
889+
<format type="text/markdown"><![CDATA[
890+
891+
## Remarks
892+
If this property is set after the workflow instance is initialized and <xref:System.Activities.Hosting.WorkflowInstance.IsReadOnly%2A> returns `true`, an <xref:System.InvalidOperationException> is thrown.
893+
894894
]]></format>
895895
</remarks>
896896
</Docs>
@@ -914,11 +914,11 @@
914914
<Docs>
915915
<summary>Throws an <see cref="T:System.InvalidOperationException" /> if the workflow instance has been initialized, as determined by <see cref="P:System.Activities.Hosting.WorkflowInstance.IsReadOnly" />.</summary>
916916
<remarks>
917-
<format type="text/markdown"><![CDATA[
918-
919-
## Remarks
920-
If <xref:System.Activities.Hosting.WorkflowInstance.IsReadOnly%2A> returns `true`, then an <xref:System.InvalidOperationException> is thrown.
921-
917+
<format type="text/markdown"><![CDATA[
918+
919+
## Remarks
920+
If <xref:System.Activities.Hosting.WorkflowInstance.IsReadOnly%2A> returns `true`, then an <xref:System.InvalidOperationException> is thrown.
921+
922922
]]></format>
923923
</remarks>
924924
</Docs>

0 commit comments

Comments
 (0)