From 148953bd4cf2494bc52514bb6eca1efa97841ccf Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 23 Apr 2026 15:39:12 -0700 Subject: [PATCH 1/6] Update redirected /dotnet/framework URLs to final targets - /dotnet/framework/interop/com-callable-wrapper -> /dotnet/standard/native-interop/com-callable-wrapper - /dotnet/framework/interop/runtime-callable-wrapper -> /dotnet/standard/native-interop/runtime-callable-wrapper - /dotnet/framework/misc/using-the-assert-method -> /previous-versions/dotnet/framework/code-access-security/using-the-assert-method Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- xml/System.Runtime.InteropServices/Marshal.xml | 10 +++++----- xml/System.Runtime.Remoting.Proxies/RealProxy.xml | 2 +- .../EnterpriseServicesHelper.xml | 2 +- xml/System.Security.Permissions/SecurityAction.xml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/xml/System.Runtime.InteropServices/Marshal.xml b/xml/System.Runtime.InteropServices/Marshal.xml index c1d6debcbe2..478ffee0ced 100644 --- a/xml/System.Runtime.InteropServices/Marshal.xml +++ b/xml/System.Runtime.InteropServices/Marshal.xml @@ -593,7 +593,7 @@ The object whose CCW holds a reference counted handle. The handle is strong if the reference count on the CCW is greater than zero; otherwise, it is weak. to change the strength of the handle on the parameter to weak, regardless of its reference count; to reset the handle strength on to be reference counted. - Changes the strength of an object's COM Callable Wrapper (CCW) handle. + Changes the strength of an object's COM Callable Wrapper (CCW) handle. - Notifies the runtime to clean up all Runtime Callable Wrappers (RCWs) allocated in the current context. + Notifies the runtime to clean up all Runtime Callable Wrappers (RCWs) allocated in the current context. The RCW to be released. - Releases all references to a Runtime Callable Wrapper (RCW) by setting its reference count to 0. + Releases all references to a Runtime Callable Wrapper (RCW) by setting its reference count to 0. The new value of the reference count of the RCW associated with the parameter, which is 0 (zero) if the release is successful. A managed pointer to an interface. - Creates a unique Runtime Callable Wrapper (RCW) object for a given IUnknown interface. + Creates a unique Runtime Callable Wrapper (RCW) object for a given IUnknown interface. A unique RCW for the specified interface. The COM object to release. - Decrements the reference count of the Runtime Callable Wrapper (RCW) associated with the specified COM object. + Decrements the reference count of the Runtime Callable Wrapper (RCW) associated with the specified COM object. The new value of the reference count of the RCW associated with . This value is typically zero since the RCW keeps just one reference to the wrapped COM object regardless of the number of managed clients calling it. if the object reference is requested for marshaling to a remote location; if the object reference is requested for communication with unmanaged objects in the current process through COM. Requests an unmanaged reference to the object represented by the current proxy instance. - A pointer to a COM Callable Wrapper if the object reference is requested for communication with unmanaged objects in the current process through COM, or a pointer to a cached or newly generated COM interface if the object reference is requested for marshaling to a remote location. + A pointer to a COM Callable Wrapper if the object reference is requested for communication with unmanaged objects in the current process through COM, or a pointer to a cached or newly generated COM interface if the object reference is requested for marshaling to a remote location. A proxy that represents the old instance of a class that is referenced by a CCW. A proxy that represents the new instance of a class that is referenced by a CCW. - Switches a COM Callable Wrapper (CCW) from one instance of a class to another instance of the same class. + Switches a COM Callable Wrapper (CCW) from one instance of a class to another instance of the same class. 3 - The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource (see Using the Assert Method). + The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource (see Using the Assert Method). From 63165c38bd3710ecb500a046b8a98b55ebcd1f8b Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 23 Apr 2026 15:50:11 -0700 Subject: [PATCH 2/6] Update redirected /dotnet/ URLs to final targets Update links across core, standard, framework, fundamentals, and csharp categories to their current redirect destinations. Key changes: - C# keywords/operators moved to new language-reference paths - C# LINQ docs moved from programming-guide to linq/ - Framework link-demands and assert moved to previous-versions - Framework interop docs moved to standard/native-interop - Standard parallel-linq-plinq renamed to introduction-to-plinq - Standard threading/ redirects to threading/managed-threading-basics - Fundamentals apicompat and networking path updates Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- xml/Microsoft.CSharp/CSharpCodeProvider.xml | 2 +- xml/Microsoft.CSharp/Compiler.xml | 48 +- .../RemoteParameterData.xml | 2 +- xml/System.CodeDom.Compiler/CodeCompiler.xml | 2 +- .../CodeDomProvider.xml | 2 +- xml/System.CodeDom.Compiler/CodeGenerator.xml | 2 +- .../CodeGeneratorOptions.xml | 2 +- xml/System.CodeDom.Compiler/CodeParser.xml | 2 +- xml/System.CodeDom.Compiler/CompilerInfo.xml | 2 +- .../CompilerParameters.xml | 4 +- xml/System.CodeDom.Compiler/Executor.xml | 2 +- .../IndentedTextWriter.xml | 2 +- .../TempFileCollection.xml | 2 +- .../CodeDefaultValueExpression.xml | 2 +- xml/System.CodeDom/CodeTypeDeclaration.xml | 2 +- xml/System.CodeDom/CodeTypeParameter.xml | 2 +- .../IEnumerable`1.xml | 4 +- xml/System.Collections.Generic/List`1.xml | 2 +- xml/System.Collections/DictionaryBase.xml | 2 +- xml/System.Collections/DictionaryEntry.xml | 2 +- .../TableAttribute.xml | 2 +- xml/System.Data.Linq/DataLoadOptions.xml | 2 +- .../EnumerableRowCollectionExtensions.xml | 2 +- xml/System.Data/TypedTableBaseExtensions.xml | 2 +- .../ExperimentalAttribute.xml | 2 +- .../EventSource.xml | 2 +- xml/System.Diagnostics/Debug.xml | 2 +- xml/System.Diagnostics/FileVersionInfo.xml | 2 +- xml/System.Diagnostics/Process.xml | 2 +- xml/System.Diagnostics/ProcessStartInfo.xml | 2 +- xml/System.Dynamic/DynamicObject.xml | 4 +- xml/System.IO/File.xml | 8 +- xml/System.Linq.Expressions/Expression`1.xml | 2 +- xml/System.Linq/Enumerable.xml | 46 +- xml/System.Linq/OrderedParallelQuery`1.xml | 4 +- xml/System.Linq/ParallelEnumerable.xml | 410 +++++++++--------- xml/System.Linq/ParallelExecutionMode.xml | 2 +- xml/System.Linq/ParallelMergeOptions.xml | 2 +- xml/System.Linq/ParallelQuery.xml | 4 +- xml/System.Linq/ParallelQuery`1.xml | 4 +- xml/System.Net.Http/HttpClient.xml | 2 +- xml/System.Reflection/Assembly.xml | 2 +- xml/System.Reflection/AssemblyName.xml | 6 +- .../MethodImplAttributes.xml | 2 +- xml/System.Reflection/MethodInfo.xml | 8 +- .../AsyncStateMachineAttribute.xml | 4 +- .../BaseChannelObjectWithProperties.xml | 2 +- .../BaseChannelSinkWithProperties.xml | 2 +- .../BaseChannelWithProperties.xml | 2 +- .../ChannelDataStore.xml | 2 +- .../ClientChannelSinkStack.xml | 2 +- .../ServerChannelSinkStack.xml | 2 +- .../TransportHeaders.xml | 2 +- .../SynchronizationAttribute.xml | 2 +- .../ClientSponsor.xml | 2 +- .../LifetimeServices.xml | 2 +- .../CallContext.xml | 2 +- .../LogicalCallContext.xml | 2 +- .../RemotingSurrogateSelector.xml | 2 +- .../ReturnMessage.xml | 2 +- .../ProxyAttribute.xml | 2 +- .../RealProxy.xml | 2 +- .../EnterpriseServicesHelper.xml | 2 +- .../ITrackingHandler.xml | 2 +- .../TrackingServices.xml | 2 +- xml/System.Runtime.Remoting/ObjRef.xml | 2 +- xml/System.Runtime.Remoting/SoapServices.xml | 2 +- .../FormatterServices.xml | 2 +- .../RequiresPreviewFeaturesAttribute.xml | 2 +- .../CryptoStream.xml | 6 +- .../HostProtectionAttribute.xml | 2 +- xml/System.Security/SecurityException.xml | 4 +- xml/System.Threading/AutoResetEvent.xml | 10 +- xml/System.Threading/EventWaitHandle.xml | 32 +- xml/System.Threading/Interlocked.xml | 80 ++-- xml/System.Threading/LockCookie.xml | 4 +- xml/System.Threading/ManualResetEvent.xml | 10 +- xml/System.Threading/Monitor.xml | 30 +- xml/System.Threading/Mutex.xml | 36 +- xml/System.Threading/ReaderWriterLock.xml | 68 +-- xml/System.Threading/Semaphore.xml | 56 +-- xml/System.Threading/WaitHandle.xml | 16 +- .../AnnotationStore.xml | 2 +- .../ItemContainerGenerator.xml | 2 +- xml/System.Windows.Input/TouchDevice.xml | 2 +- xml/System.Windows.Shell/JumpList.xml | 2 +- xml/System.Xml.Linq/XElement.xml | 4 +- xml/System.Xml.Xsl/XslTransform.xml | 2 +- xml/System.Xml.Xsl/XsltArgumentList.xml | 2 +- xml/System.Xml/XmlDictionaryWriter.xml | 4 +- xml/System.Xml/XmlReader.xml | 34 +- xml/System.Xml/XmlReaderSettings.xml | 2 +- xml/System.Xml/XmlResolver.xml | 2 +- xml/System.Xml/XmlWriter.xml | 68 +-- xml/System.Xml/XmlWriterSettings.xml | 2 +- xml/System/Action.xml | 4 +- xml/System/Action`1.xml | 4 +- xml/System/Action`2.xml | 4 +- xml/System/Action`3.xml | 4 +- xml/System/Action`4.xml | 4 +- xml/System/AggregateException.xml | 2 +- xml/System/AppDomainManager.xml | 2 +- xml/System/ArgumentOutOfRangeException.xml | 2 +- xml/System/Array.xml | 78 ++-- xml/System/ArraySegment`1+Enumerator.xml | 2 +- xml/System/DuplicateWaitObjectException.xml | 2 +- xml/System/Func`1.xml | 6 +- xml/System/Func`2.xml | 6 +- xml/System/Func`3.xml | 6 +- xml/System/Func`4.xml | 6 +- xml/System/Func`5.xml | 6 +- xml/System/IndexOutOfRangeException.xml | 2 +- xml/System/IntPtr.xml | 2 +- xml/System/Math.xml | 8 +- xml/System/MathF.xml | 2 +- xml/System/NullReferenceException.xml | 4 +- xml/System/Nullable`1.xml | 2 +- xml/System/ReadOnlySpan`1+Enumerator.xml | 2 +- xml/System/Span`1+Enumerator.xml | 4 +- xml/System/String.xml | 2 +- xml/System/ThreadStaticAttribute.xml | 2 +- xml/System/Type.xml | 16 +- xml/System/UIntPtr.xml | 2 +- 123 files changed, 667 insertions(+), 667 deletions(-) diff --git a/xml/Microsoft.CSharp/CSharpCodeProvider.xml b/xml/Microsoft.CSharp/CSharpCodeProvider.xml index 6adfb45b785..e6210c823f7 100644 --- a/xml/Microsoft.CSharp/CSharpCodeProvider.xml +++ b/xml/Microsoft.CSharp/CSharpCodeProvider.xml @@ -174,7 +174,7 @@ In .NET Framework apps, you can obtain the value for `providerOptions` from the Configuration file schema for the .NET Framework <compilers> Element - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names <provideroption> Element diff --git a/xml/Microsoft.CSharp/Compiler.xml b/xml/Microsoft.CSharp/Compiler.xml index 9201f765c4d..60e896f92b5 100644 --- a/xml/Microsoft.CSharp/Compiler.xml +++ b/xml/Microsoft.CSharp/Compiler.xml @@ -79,29 +79,29 @@ For the `options` parameter, the key is the short form of the compiler option. T | Key Name | Usage | | --- | --- | -| `addmodule` | List of modules to include in this assembly. The module names must be separated by the vertical bar or pipe character. Value must be of type . See [-addmodule (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/addmodule-compiler-option). | -| `baseaddress` | Base address for libraries. Value must be of type . See [-baseaddress (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/baseaddress-compiler-option). | -| `bugreport` | Produces bug report file. Value must be of type . See [-bugreport (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/bugreport-compiler-option). | -| `checked` | Set default expression evaluation to checked (or unchecked). Value must be of type . See [-checked (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/checked-compiler-option). | -| `d` | List of semicolon separated symbols to define. Value must be of type . See [-define (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/define-compiler-option). | -| `debug` | Emit debug information with output. Value must be of type . Full or pdb-only cannot be specified. See [-debug (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/debug-compiler-option). | -| `doc` | File name to put XML comments in. Value must be of type . See [-doc (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/doc-compiler-option). | -| `filealign` | PE section alignment size. Value must be of type . See [-filealign (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/filealign-compiler-option). | +| `addmodule` | List of modules to include in this assembly. The module names must be separated by the vertical bar or pipe character. Value must be of type . See [-addmodule (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/inputs). | +| `baseaddress` | Base address for libraries. Value must be of type . See [-baseaddress (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/advanced). | +| `bugreport` | Produces bug report file. Value must be of type . See [-bugreport (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/). | +| `checked` | Set default expression evaluation to checked (or unchecked). Value must be of type . See [-checked (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/language). | +| `d` | List of semicolon separated symbols to define. Value must be of type . See [-define (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/language). | +| `debug` | Emit debug information with output. Value must be of type . Full or pdb-only cannot be specified. See [-debug (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/code-generation). | +| `doc` | File name to put XML comments in. Value must be of type . See [-doc (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/output). | +| `filealign` | PE section alignment size. Value must be of type . See [-filealign (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/advanced). | | `incr` | Enable incremental rebuild. Value must be of type . | -| `lib` | Additional paths to search when locating modules and referenced assemblies. Value must be of type . See [-lib (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/lib-compiler-option). | -| `linkres` | Link a managed resource to the assembly. Value must be of type . See [-linkresource (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/linkresource-compiler-option). | -| `m` | Type to search in for the Main method. Value must be of type . See [-main (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/main-compiler-option). | -| `nostdlib` | Do not auto-reference mscorlib.dll. Value must be of type . See [-nostdlib (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/nostdlib-compiler-option). | -| `nowarn` | List of semicolon separated warning numbers to not report. Value must be of type . See [-nowarn (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/nowarn-compiler-option). | -| `o` | Enable compiler optimizations. Value must be of type . See [-optimize (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/optimize-compiler-option). | -| `r` | Referenced assemblies. Value must be of type String. If more than one assembly is specified, the file name must be separated by the vertical bar or pipe character. See [-reference (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/reference-compiler-option). | -| `res` | Embed a managed resource. Value must be of type . See [-resource (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/resource-compiler-option). | -| `target` | Output file target type, one of the following: "library", "exe", "winexe", or "module". Value must be of type . See [-target (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/target-compiler-option). | -| `unsafe` | Allow unsafe constructs. Value must be of type . See [-unsafe (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/unsafe-compiler-option). | -| `w` | Warning level (0-4). Value must be of type . See [-warn (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/warn-compiler-option). | -| `warnaserror` | Report warning diagnostics as errors. Value must be of type . See [-warnaserror (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/warnaserror-compiler-option). | -| `win32icon` | Win32 icon for auto generated Win32 resource. Value must be of type . See [-win32icon (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/win32icon-compiler-option). | -| `win32res` | Win32 resource file. Value must be of type . See [-win32res (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/win32res-compiler-option). | +| `lib` | Additional paths to search when locating modules and referenced assemblies. Value must be of type . See [-lib (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/advanced). | +| `linkres` | Link a managed resource to the assembly. Value must be of type . See [-linkresource (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/resources). | +| `m` | Type to search in for the Main method. Value must be of type . See [-main (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/advanced). | +| `nostdlib` | Do not auto-reference mscorlib.dll. Value must be of type . See [-nostdlib (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/advanced). | +| `nowarn` | List of semicolon separated warning numbers to not report. Value must be of type . See [-nowarn (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/errors-warnings). | +| `o` | Enable compiler optimizations. Value must be of type . See [-optimize (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/code-generation). | +| `r` | Referenced assemblies. Value must be of type String. If more than one assembly is specified, the file name must be separated by the vertical bar or pipe character. See [-reference (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/inputs). | +| `res` | Embed a managed resource. Value must be of type . See [-resource (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/resources). | +| `target` | Output file target type, one of the following: "library", "exe", "winexe", or "module". Value must be of type . See [-target (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/output). | +| `unsafe` | Allow unsafe constructs. Value must be of type . See [-unsafe (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/language). | +| `w` | Warning level (0-4). Value must be of type . See [-warn (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/errors-warnings). | +| `warnaserror` | Report warning diagnostics as errors. Value must be of type . See [-warnaserror (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/errors-warnings). | +| `win32icon` | Win32 icon for auto generated Win32 resource. Value must be of type . See [-win32icon (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/resources). | +| `win32res` | Win32 resource file. Value must be of type . See [-win32res (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/resources). | ]]> @@ -124,8 +124,8 @@ For the `options` parameter, the key is the short form of the compiler option. T is not the same size as . - #line (C# Reference) - -reference (C# Compiler Options) + #line (C# Reference) + -reference (C# Compiler Options) C# Compiler Options diff --git a/xml/System.AddIn.Contract.Automation/RemoteParameterData.xml b/xml/System.AddIn.Contract.Automation/RemoteParameterData.xml index f4ef29e751a..295045d1f6f 100644 --- a/xml/System.AddIn.Contract.Automation/RemoteParameterData.xml +++ b/xml/System.AddIn.Contract.Automation/RemoteParameterData.xml @@ -128,7 +128,7 @@ The value of this field is always `false` if this describes a parameter of a method provided by a COM object. - Parameters that can have a variable number of arguments are specified by the `params` (for Visual C#) and `ParamArray` (for Visual Basic) keywords. For more information, see [params](/dotnet/csharp/language-reference/keywords/params) and [ParamArray](/dotnet/visual-basic/language-reference/modifiers/paramarray). + Parameters that can have a variable number of arguments are specified by the `params` (for Visual C#) and `ParamArray` (for Visual Basic) keywords. For more information, see [params](/dotnet/csharp/language-reference/keywords/method-parameters) and [ParamArray](/dotnet/visual-basic/language-reference/modifiers/paramarray). ]]> diff --git a/xml/System.CodeDom.Compiler/CodeCompiler.xml b/xml/System.CodeDom.Compiler/CodeCompiler.xml index 5c9ea251248..00f711d0612 100644 --- a/xml/System.CodeDom.Compiler/CodeCompiler.xml +++ b/xml/System.CodeDom.Compiler/CodeCompiler.xml @@ -44,7 +44,7 @@ is a useful utility base class for code generators to derive from in order to provide code compilation functions. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.CodeDom.Compiler/CodeDomProvider.xml b/xml/System.CodeDom.Compiler/CodeDomProvider.xml index 749243d1ded..7f0d2039136 100644 --- a/xml/System.CodeDom.Compiler/CodeDomProvider.xml +++ b/xml/System.CodeDom.Compiler/CodeDomProvider.xml @@ -59,7 +59,7 @@ For more details on language provider settings in the configuration file, see [Compiler and Language Provider Settings Schema](/dotnet/framework/configure-apps/file-schema/compiler/). > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown if either the immediate caller or the derived class does not have full trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown if either the immediate caller or the derived class does not have full trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.CodeDom.Compiler/CodeGenerator.xml b/xml/System.CodeDom.Compiler/CodeGenerator.xml index b70dc2ad7c4..d804b96b5f1 100644 --- a/xml/System.CodeDom.Compiler/CodeGenerator.xml +++ b/xml/System.CodeDom.Compiler/CodeGenerator.xml @@ -44,7 +44,7 @@ This is a useful base class for code generators to derive from. Code generators are capable of rendering source code in a specific language according to the structure of a Code Document Object Model (CodeDOM) graph. This class provides many functions and methods to generate specific types of code from a CodeDOM graph. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml index 11f8f9133e6..707c840f86c 100644 --- a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml +++ b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml @@ -44,7 +44,7 @@ An implementation can provide custom code generation options which you can set or pass data to using the dictionary indexer, which a code generator can search through to locate additional code generation options. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.CodeDom.Compiler/CodeParser.xml b/xml/System.CodeDom.Compiler/CodeParser.xml index e2322973a3c..163232e68dc 100644 --- a/xml/System.CodeDom.Compiler/CodeParser.xml +++ b/xml/System.CodeDom.Compiler/CodeParser.xml @@ -44,7 +44,7 @@ Developers who build compilers can implement this interface to support code parsing by designers. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.CodeDom.Compiler/CompilerInfo.xml b/xml/System.CodeDom.Compiler/CompilerInfo.xml index c80eb56978c..6974bc0f9fd 100644 --- a/xml/System.CodeDom.Compiler/CompilerInfo.xml +++ b/xml/System.CodeDom.Compiler/CompilerInfo.xml @@ -47,7 +47,7 @@ For more details on language provider settings in the configuration file, see [Compiler and Language Provider Settings Schema](/dotnet/framework/configure-apps/file-schema/compiler/). > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For details about link demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For details about link demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.CodeDom.Compiler/CompilerParameters.xml b/xml/System.CodeDom.Compiler/CompilerParameters.xml index 23ea29f53ca..74e9c2d478d 100644 --- a/xml/System.CodeDom.Compiler/CompilerParameters.xml +++ b/xml/System.CodeDom.Compiler/CompilerParameters.xml @@ -61,7 +61,7 @@ To specify a custom command-line arguments string to use when invoking the compilation process, set the string in the property. If a Win32 security token is required to invoke the compiler process, specify the token in the property. To include .NET Framework resource files in the compiled assembly, add the names of the resource files to the property. To reference .NET Framework resources in another assembly, add the names of the resource files to the property. To include a Win32 resource file in the compiled assembly, specify the name of the Win32 resource file in the property. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ## Examples The following example builds a CodeDOM source graph for a simple Hello World program. The source is then saved to a file, compiled into an executable, and run. The `CompileCode` method illustrates how to use the class to specify various compiler settings and options. @@ -903,7 +903,7 @@ An typically includes this string o The temporary files in the collection are retained or deleted upon the completion of compiler activity based on the value of the property in the collection. The property is set if the collection is created using the constructor with the `keepFiles` parameter set to `true`. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.CodeDom.Compiler/Executor.xml b/xml/System.CodeDom.Compiler/Executor.xml index e70e1915d74..39f845c7021 100644 --- a/xml/System.CodeDom.Compiler/Executor.xml +++ b/xml/System.CodeDom.Compiler/Executor.xml @@ -44,7 +44,7 @@ This class provides a collection of methods that can be used to invoke a compiler, typically from an implementation. > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For more information, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For more information, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.CodeDom.Compiler/IndentedTextWriter.xml b/xml/System.CodeDom.Compiler/IndentedTextWriter.xml index c8395689588..7496d06bf4a 100644 --- a/xml/System.CodeDom.Compiler/IndentedTextWriter.xml +++ b/xml/System.CodeDom.Compiler/IndentedTextWriter.xml @@ -83,7 +83,7 @@ The tab string is the string that each indentation consists of. Typically the tab string contains white space. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.CodeDom.Compiler/TempFileCollection.xml b/xml/System.CodeDom.Compiler/TempFileCollection.xml index e4d3f142e42..8b57db62e2a 100644 --- a/xml/System.CodeDom.Compiler/TempFileCollection.xml +++ b/xml/System.CodeDom.Compiler/TempFileCollection.xml @@ -71,7 +71,7 @@ The property indicates a full path to the base file name, without a file name extension, used to generate the file names returned by the method. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.CodeDom/CodeDefaultValueExpression.xml b/xml/System.CodeDom/CodeDefaultValueExpression.xml index d150282c526..9464f7a4d28 100644 --- a/xml/System.CodeDom/CodeDefaultValueExpression.xml +++ b/xml/System.CodeDom/CodeDefaultValueExpression.xml @@ -53,7 +53,7 @@ ## Remarks A can be used to represent a reference to a default value. - The property specifies the reference to the value type. The class is used in the generation of generics-based code. For more information on generics, see [Generics in the .NET Framework Class Library](/dotnet/csharp/programming-guide/generics/generics-in-the-net-framework-class-library). The following code steps are provided in this section to further describe the use of the class to add a new default value to a code graph. + The property specifies the reference to the value type. The class is used in the generation of generics-based code. For more information on generics, see [Generics in the .NET Framework Class Library](/dotnet/standard/generics/). The following code steps are provided in this section to further describe the use of the class to add a new default value to a code graph. The code in part 1 is part of a larger example provided for the class. This code, when run through the C# code generator, results in the C# code that appears in part 2. When this code is called in the statement in part 3, the result is the output shown in part 4. diff --git a/xml/System.CodeDom/CodeTypeDeclaration.xml b/xml/System.CodeDom/CodeTypeDeclaration.xml index 51df57fbec4..ee8dd24bec2 100644 --- a/xml/System.CodeDom/CodeTypeDeclaration.xml +++ b/xml/System.CodeDom/CodeTypeDeclaration.xml @@ -668,7 +668,7 @@ Implements Interface1 ## Remarks A generic type declaration contains one or more unspecified types known as type parameters. A type parameter name stands for the type within the body of the generic declaration. For example, the generic declaration for the class contains the type parameter `T`. - For more information on generics, see [Generics in the .NET Framework Class Library](/dotnet/csharp/programming-guide/generics/generics-in-the-net-framework-class-library). + For more information on generics, see [Generics in the .NET Framework Class Library](/dotnet/standard/generics/). ]]> diff --git a/xml/System.CodeDom/CodeTypeParameter.xml b/xml/System.CodeDom/CodeTypeParameter.xml index c859f1a33c2..f3e45ef9134 100644 --- a/xml/System.CodeDom/CodeTypeParameter.xml +++ b/xml/System.CodeDom/CodeTypeParameter.xml @@ -55,7 +55,7 @@ A generic type or method declaration contains one or more unspecified types known as type parameters. A type parameter name stands for the type within the body of the generic declaration. For example, the generic declaration for the class contains the type parameter `T`. - For more information on generics, see [Generics in the .NET Framework Class Library](/dotnet/csharp/programming-guide/generics/generics-in-the-net-framework-class-library). + For more information on generics, see [Generics in the .NET Framework Class Library](/dotnet/standard/generics/). diff --git a/xml/System.Collections.Generic/IEnumerable`1.xml b/xml/System.Collections.Generic/IEnumerable`1.xml index cc70cc4f5d4..be1f8709256 100644 --- a/xml/System.Collections.Generic/IEnumerable`1.xml +++ b/xml/System.Collections.Generic/IEnumerable`1.xml @@ -82,7 +82,7 @@ ## Examples - The following example demonstrates how to implement the interface and how to use that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/keywords/yield) keyword. Implementing also requires to be implemented, which you will see in this example. + The following example demonstrates how to implement the interface and how to use that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/statements/yield) keyword. Implementing also requires to be implemented, which you will see in this example. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEnumerableT/Overview/program.cs" id="Snippet1"::: :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb" id="Snippet1"::: @@ -163,7 +163,7 @@ Default implementations of collections in the namespace aren't synchronized. ## Examples - The following example demonstrates how to implement the interface and uses that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/keywords/yield) keyword. Implementing also requires to be implemented, which you will see in this example. + The following example demonstrates how to implement the interface and uses that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/statements/yield) keyword. Implementing also requires to be implemented, which you will see in this example. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEnumerableT/Overview/program.cs" id="Snippet1"::: :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb" id="Snippet1"::: diff --git a/xml/System.Collections.Generic/List`1.xml b/xml/System.Collections.Generic/List`1.xml index f50bb56302c..a34a0d4dd7c 100644 --- a/xml/System.Collections.Generic/List`1.xml +++ b/xml/System.Collections.Generic/List`1.xml @@ -2484,7 +2484,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates the use of the delegate to print the contents of a object. In this example the `Print` method is used to display the contents of the list to the console. > [!NOTE] -> In addition to displaying the contents using the `Print` method, the C# example demonstrates the use of [anonymous methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods) to display the results to the console. +> In addition to displaying the contents using the `Print` method, the C# example demonstrates the use of [anonymous methods](/dotnet/csharp/language-reference/operators/delegate-operator) to display the results to the console. :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/action.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/action.vb" id="Snippet01"::: diff --git a/xml/System.Collections/DictionaryBase.xml b/xml/System.Collections/DictionaryBase.xml index 93e2a8095ff..3df32cf7cb1 100644 --- a/xml/System.Collections/DictionaryBase.xml +++ b/xml/System.Collections/DictionaryBase.xml @@ -81,7 +81,7 @@ > [!IMPORTANT] > We don't recommend that you use the `DictionaryBase` class for new development. Instead, we recommend that you use the generic or class . For more information, see [Non-generic collections shouldn't be used](https://github.com/dotnet/platform-compat/blob/master/docs/DE0006.md) on GitHub. -The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statement and the Visual Basic [For Each](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) statement return an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . +The C# [foreach](/dotnet/csharp/language-reference/statements/iteration-statements) statement and the Visual Basic [For Each](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) statement return an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. diff --git a/xml/System.Collections/DictionaryEntry.xml b/xml/System.Collections/DictionaryEntry.xml index 5d4189665b9..7432724a7ae 100644 --- a/xml/System.Collections/DictionaryEntry.xml +++ b/xml/System.Collections/DictionaryEntry.xml @@ -74,7 +74,7 @@ The [!IMPORTANT] > We don't recommend that you use the `DictionaryEntry` structure for new development. Instead, we recommend that you use a generic structure along with the class. For more information, see [Non-generic collections shouldn't be used](https://github.com/dotnet/platform-compat/blob/master/docs/DE0006.md) on GitHub. - The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statement and the Visual Basic [For Each](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) statement require the type of each element in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: + The C# [foreach](/dotnet/csharp/language-reference/statements/iteration-statements) statement and the Visual Basic [For Each](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) statement require the type of each element in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.cs" id="Snippet01"::: :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb" id="Snippet01"::: diff --git a/xml/System.Data.Linq.Mapping/TableAttribute.xml b/xml/System.Data.Linq.Mapping/TableAttribute.xml index a48fa4fb38b..8244b943882 100644 --- a/xml/System.Data.Linq.Mapping/TableAttribute.xml +++ b/xml/System.Data.Linq.Mapping/TableAttribute.xml @@ -22,7 +22,7 @@ Designates a class as an entity class that is associated with a database table. - For more information about this API, see Supplemental API remarks for TableAttribute. + For more information about this API, see Supplemental API remarks for TableAttribute. diff --git a/xml/System.Data.Linq/DataLoadOptions.xml b/xml/System.Data.Linq/DataLoadOptions.xml index 4866d13ff27..b5ff9511304 100644 --- a/xml/System.Data.Linq/DataLoadOptions.xml +++ b/xml/System.Data.Linq/DataLoadOptions.xml @@ -16,7 +16,7 @@ Provides for immediate loading and filtering of related data. - For more information about this API, see Supplemental API remarks for DataLoadOptions. + For more information about this API, see Supplemental API remarks for DataLoadOptions. diff --git a/xml/System.Data/EnumerableRowCollectionExtensions.xml b/xml/System.Data/EnumerableRowCollectionExtensions.xml index 895be9fea2e..b4d38eb5831 100644 --- a/xml/System.Data/EnumerableRowCollectionExtensions.xml +++ b/xml/System.Data/EnumerableRowCollectionExtensions.xml @@ -69,7 +69,7 @@ - Standard Query Operators Overview (C#) + Standard Query Operators Overview (C#) Standard Query Operators Overview (Visual Basic) diff --git a/xml/System.Data/TypedTableBaseExtensions.xml b/xml/System.Data/TypedTableBaseExtensions.xml index fd9c9c3efc4..323583f325f 100644 --- a/xml/System.Data/TypedTableBaseExtensions.xml +++ b/xml/System.Data/TypedTableBaseExtensions.xml @@ -67,7 +67,7 @@ ]]> Standard Query Operators Overview (Visual Basic) - Standard Query Operators Overview (C#) + Standard Query Operators Overview (C#) Querying Typed DataSets diff --git a/xml/System.Diagnostics.CodeAnalysis/ExperimentalAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/ExperimentalAttribute.xml index 9e1bcf0f5cf..23f56944ed7 100644 --- a/xml/System.Diagnostics.CodeAnalysis/ExperimentalAttribute.xml +++ b/xml/System.Diagnostics.CodeAnalysis/ExperimentalAttribute.xml @@ -32,7 +32,7 @@ allows call sites to be flagged with a diagnostic that indicates that an experimental feature is used. You can use this attribute to ship preview features in otherwise stable libraries. -For more information about marking APIs as preview, see [Preview APIs](/dotnet/fundamentals/apicompat/preview-apis). +For more information about marking APIs as preview, see [Preview APIs](/dotnet/fundamentals/runtime-libraries/preview-apis). ]]> diff --git a/xml/System.Diagnostics.Tracing/EventSource.xml b/xml/System.Diagnostics.Tracing/EventSource.xml index a63cab5cb99..e8ebb7ea5cc 100644 --- a/xml/System.Diagnostics.Tracing/EventSource.xml +++ b/xml/System.Diagnostics.Tracing/EventSource.xml @@ -3829,7 +3829,7 @@ public void LogTime(string tag, int hour, int minute, int second) You could do this without calling , but it would be slower than it needs to be. That is because it uses arrays and reflection to figure out what to do. If you log these at a high rate (> 1000 / sec), it can be worth making a fast helper, as shown in the following example. The method shadows the existing . Thus the original caller code (LogTime) does not actually change, but the C# compiler will use the more specialized version which will be faster. - To compile unsafe code, you must specify the [/unsafe (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/unsafe-compiler-option) compiler option. + To compile unsafe code, you must specify the [/unsafe (C# Compiler Options)](/dotnet/csharp/language-reference/compiler-options/language) compiler option. ```csharp class AnotherEventSource : EventSource { diff --git a/xml/System.Diagnostics/Debug.xml b/xml/System.Diagnostics/Debug.xml index 143ed8bbbf5..28a6255d4d2 100644 --- a/xml/System.Diagnostics/Debug.xml +++ b/xml/System.Diagnostics/Debug.xml @@ -3009,7 +3009,7 @@ The following example creates a named `gen ## Remarks This method uses the [.NET composite formatting feature](/dotnet/standard/base-types/composite-formatting) to convert the value of an object to its text representation and embed that representation in a string. - The [params](/dotnet/csharp/language-reference/keywords/params) (in C#) or [ParamArray](/dotnet/visual-basic/language-reference/modifiers/paramarray) (in Visual Basic) keyword in the syntax for this method implies that the object array can be a single value. The exception to this is the object. Explicit overloads take precedence, so an `arg` value of a single string will default to the overload. + The [params](/dotnet/csharp/language-reference/keywords/method-parameters) (in C#) or [ParamArray](/dotnet/visual-basic/language-reference/modifiers/paramarray) (in Visual Basic) keyword in the syntax for this method implies that the object array can be a single value. The exception to this is the object. Explicit overloads take precedence, so an `arg` value of a single string will default to the overload. By default, the output is written to an instance of . diff --git a/xml/System.Diagnostics/FileVersionInfo.xml b/xml/System.Diagnostics/FileVersionInfo.xml index 53983f8dc4b..7dc1b65f81b 100644 --- a/xml/System.Diagnostics/FileVersionInfo.xml +++ b/xml/System.Diagnostics/FileVersionInfo.xml @@ -73,7 +73,7 @@ Version resources are typically specified in a Win32 resource file, or in assembly attributes. For example the property reflects the `VS_FF_DEBUG` flag value in the file's `VS_FIXEDFILEINFO` block, which is built from the `VERSIONINFO` resource in a Win32 resource file. For more information about specifying version resources in a Win32 resource file, see "About Resource Files" and "VERSIONINFO Resource" in the Platform SDK. For more information about specifying version resources in a .NET module, see the [Setting Assembly Attributes](/dotnet/standard/assembly/set-attributes) topic. > [!NOTE] -> This class makes a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full trust permission. For details about link demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full trust permission. For details about link demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Diagnostics/Process.xml b/xml/System.Diagnostics/Process.xml index 7ed68012238..32be93b510c 100644 --- a/xml/System.Diagnostics/Process.xml +++ b/xml/System.Diagnostics/Process.xml @@ -119,7 +119,7 @@ On macOS, the following properties return 0: - > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ## .NET Core Notes diff --git a/xml/System.Diagnostics/ProcessStartInfo.xml b/xml/System.Diagnostics/ProcessStartInfo.xml index 496a35be857..ab5562f790c 100644 --- a/xml/System.Diagnostics/ProcessStartInfo.xml +++ b/xml/System.Diagnostics/ProcessStartInfo.xml @@ -75,7 +75,7 @@ [!INCLUDE [untrusted-data-instance-note](~/includes/untrusted-data-instance-note.md)] > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ## Examples The following code example demonstrates how to use the class to start Internet Explorer. The destination URLs are provided as arguments. diff --git a/xml/System.Dynamic/DynamicObject.xml b/xml/System.Dynamic/DynamicObject.xml index 70a3774b1fd..4bab308c7cc 100644 --- a/xml/System.Dynamic/DynamicObject.xml +++ b/xml/System.Dynamic/DynamicObject.xml @@ -87,7 +87,7 @@ You cannot directly create an instance of the `DynamicObject` class. To implement the dynamic behavior, you may want to inherit from the `DynamicObject` class and override necessary methods. For example, if you need only operations for setting and getting properties, you can override just the and methods. - In C#, to enable dynamic behavior for instances of classes derived from the `DynamicObject` class, you must use the `dynamic` keyword. For more information, see [Using Type dynamic](/dotnet/csharp/programming-guide/types/using-type-dynamic). + In C#, to enable dynamic behavior for instances of classes derived from the `DynamicObject` class, you must use the `dynamic` keyword. For more information, see [Using Type dynamic](/dotnet/csharp/advanced-topics/interop/using-type-dynamic). In Visual Basic, dynamic operations are supported by late binding. For more information, see [Early and Late Binding (Visual Basic)](/dotnet/visual-basic/programming-guide/language-features/early-late-binding/). @@ -181,7 +181,7 @@ Dim sampleObject As Object = New SampleDynamicObject() ## Remarks You cannot directly create an instance of the class. To implement dynamic behavior, you have to inherit from the class and override necessary methods. - In C#, to enable dynamic behavior for instances of the classes derived from the class, you must use the `dynamic` keyword. For more information, see [Using Type dynamic](/dotnet/csharp/programming-guide/types/using-type-dynamic). + In C#, to enable dynamic behavior for instances of the classes derived from the class, you must use the `dynamic` keyword. For more information, see [Using Type dynamic](/dotnet/csharp/advanced-topics/interop/using-type-dynamic). In Visual Basic, dynamic operations are supported by late binding. For more information, see [Early and Late Binding (Visual Basic)](/dotnet/visual-basic/programming-guide/language-features/early-late-binding/). diff --git a/xml/System.IO/File.xml b/xml/System.IO/File.xml index cae86bb21c0..4847342abd8 100644 --- a/xml/System.IO/File.xml +++ b/xml/System.IO/File.xml @@ -524,7 +524,7 @@ You can use this method to create a file that contains the following: -- The results of a [LINQ to Objects](/dotnet/csharp/programming-guide/concepts/linq/linq-to-objects) query on the lines of a file, as obtained by using the method. +- The results of a [LINQ to Objects](/dotnet/csharp/linq/get-started/introduction-to-linq-queries) query on the lines of a file, as obtained by using the method. - The contents of a collection that implements an of strings. @@ -5454,7 +5454,7 @@ The and met You can use the method to do the following: -- Perform [LINQ to Objects](/dotnet/csharp/programming-guide/concepts/linq/linq-to-objects) queries on a file to obtain a filtered set of its lines. +- Perform [LINQ to Objects](/dotnet/csharp/linq/get-started/introduction-to-linq-queries) queries on a file to obtain a filtered set of its lines. - Write the returned collection of lines to a file with the method, or append them to an existing file with the method. - Create an immediately populated instance of a collection that takes an collection of strings for its constructor, such as a or a . @@ -5564,7 +5564,7 @@ The and met You can use the method to do the following: -- Perform [LINQ to Objects](/dotnet/csharp/programming-guide/concepts/linq/linq-to-objects) queries on a file to obtain a filtered set of its lines. +- Perform [LINQ to Objects](/dotnet/csharp/linq/get-started/introduction-to-linq-queries) queries on a file to obtain a filtered set of its lines. - Write the returned collection of lines to a file with the method, or append them to an existing file with the method. - Create an immediately populated instance of a collection that takes an collection of strings for its constructor, such as a or a . @@ -7620,7 +7620,7 @@ Given a string array and a file path, this method opens the specified file, writ You can use this method to create a file that contains the following: -- The results of a [LINQ to Objects](/dotnet/csharp/programming-guide/concepts/linq/linq-to-objects) query on the lines of a file, as obtained by using the method. +- The results of a [LINQ to Objects](/dotnet/csharp/linq/get-started/introduction-to-linq-queries) query on the lines of a file, as obtained by using the method. - The contents of a collection that implements an of strings. diff --git a/xml/System.Linq.Expressions/Expression`1.xml b/xml/System.Linq.Expressions/Expression`1.xml index 5c902779af3..3f357dd2029 100644 --- a/xml/System.Linq.Expressions/Expression`1.xml +++ b/xml/System.Linq.Expressions/Expression`1.xml @@ -94,7 +94,7 @@ ]]> - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) diff --git a/xml/System.Linq/Enumerable.xml b/xml/System.Linq/Enumerable.xml index 95791bba536..2c264c81e38 100644 --- a/xml/System.Linq/Enumerable.xml +++ b/xml/System.Linq/Enumerable.xml @@ -65,7 +65,7 @@ ]]> - Standard Query Operators overview (C#) + Standard Query Operators overview (C#) Standard Query Operators overview (Visual Basic) Extension Methods (C# Programming Guide) Extension Methods (Visual Basic) @@ -2501,7 +2501,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta ]]> - Partitioning data + Partitioning data is . @@ -3101,7 +3101,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta is . - Join operations (C#) + Join operations (C#) Join operations (Visual Basic) @@ -3178,7 +3178,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta ]]> - Join operations (C#) + Join operations (C#) Join operations (Visual Basic) @@ -3450,7 +3450,7 @@ The - Distinct and DistinctBy examples + Distinct and DistinctBy examples is . @@ -3530,7 +3530,7 @@ The - Distinct and DistinctBy examples + Distinct and DistinctBy examples is . @@ -4152,7 +4152,7 @@ Only unique elements are returned. Produces the set difference of two sequences according to a specified key selector function. A sequence that contains the set difference of the elements of two sequences. To be added. - Except and ExceptBy examples + Except and ExceptBy examples @@ -4222,7 +4222,7 @@ Only unique elements are returned. Produces the set difference of two sequences according to a specified key selector function. A sequence that contains the set difference of the elements of two sequences. To be added. - Except and ExceptBy examples + Except and ExceptBy examples @@ -5630,7 +5630,7 @@ Only unique elements are returned. `GroupJoin` preserves the order of the elements of `outer`, and for each element of `outer`, the order of the matching elements from `inner`. - has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join operations](/dotnet/csharp/programming-guide/concepts/linq/join-operations). + has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join operations](/dotnet/csharp/linq/standard-query-operators/join-operations). In query expression syntax, a `join ... into` (C#) or `Group Join` (Visual Basic) clause translates to an invocation of . @@ -5644,7 +5644,7 @@ Only unique elements are returned. or or or or is . - Join operations (C#) + Join operations (C#) Join operations (Visual Basic) join clause (C# Reference) Group Join Clause (Visual Basic) @@ -5767,13 +5767,13 @@ Only unique elements are returned. `GroupJoin` preserves the order of the elements of `outer`, and for each element of `outer`, the order of the matching elements from `inner`. - has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join operations](/dotnet/csharp/programming-guide/concepts/linq/join-operations). + has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join operations](/dotnet/csharp/linq/standard-query-operators/join-operations). ]]> or or or or is . - Join operations (C#) + Join operations (C#) Join operations (Visual Basic) @@ -6159,7 +6159,7 @@ The default equality comparer, - Intersect and IntersectBy examples + Intersect and IntersectBy examples or is . @@ -6245,7 +6245,7 @@ If `comparer` is `null`, the default equality comparer, - Intersect and IntersectBy examples + Intersect and IntersectBy examples or is . @@ -6365,7 +6365,7 @@ If `comparer` is `null`, the default equality comparer, . - In relational database terms, the method implements an inner equijoin. 'Inner' means that only elements that have a match in the other sequence are included in the results. An 'equijoin' is a join in which the keys are compared for equality. A left outer join operation has no dedicated standard query operator, but can be performed by using the method. For more information, see [Join operations](/dotnet/csharp/programming-guide/concepts/linq/join-operations). + In relational database terms, the method implements an inner equijoin. 'Inner' means that only elements that have a match in the other sequence are included in the results. An 'equijoin' is a join in which the keys are compared for equality. A left outer join operation has no dedicated standard query operator, but can be performed by using the method. For more information, see [Join operations](/dotnet/csharp/linq/standard-query-operators/join-operations). ## Examples The following code example demonstrates how to use to perform an inner join of two sequences based on a common key. @@ -6377,7 +6377,7 @@ If `comparer` is `null`, the default equality comparer, or or or or is . - Join operations (C#) + Join operations (C#) Join operations (Visual Basic) join clause (C# Reference) Join Clause (Visual Basic) @@ -6495,13 +6495,13 @@ If `comparer` is `null`, the default equality comparer, preserves the order of the elements of `outer`, and for each of these elements, the order of the matching elements of `inner`. - In relational database terms, the method implements an inner equijoin. 'Inner' means that only elements that have a match in the other sequence are included in the results. An 'equijoin' is a join in which the keys are compared for equality. A left outer join operation has no dedicated standard query operator, but can be performed by using the method. For more information, see [Join operations](/dotnet/csharp/programming-guide/concepts/linq/join-operations). + In relational database terms, the method implements an inner equijoin. 'Inner' means that only elements that have a match in the other sequence are included in the results. An 'equijoin' is a join in which the keys are compared for equality. A left outer join operation has no dedicated standard query operator, but can be performed by using the method. For more information, see [Join operations](/dotnet/csharp/linq/standard-query-operators/join-operations). ]]> or or or or is . - Join operations (C#) + Join operations (C#) Join operations (Visual Basic) @@ -17932,7 +17932,7 @@ The following example demonstrates how to use `UnionBy` to merge two collections ]]> - Union and UnionBy examples + Union and UnionBy examples or is . @@ -18022,7 +18022,7 @@ The following example demonstrates how to use `UnionBy` to merge two collections ]]> - Union and UnionBy examples + Union and UnionBy examples or is . @@ -18263,7 +18263,7 @@ The following example demonstrates how to use `UnionBy` to merge two collections Produces a sequence of tuples with elements from the two specified sequences. A sequence of tuples with elements taken from the first and second sequences, in that order. To be added. - Projection operations - Zip + Projection operations - Zip @@ -18358,7 +18358,7 @@ The following example demonstrates how to use `UnionBy` to merge two collections ]]> - Projection operations - Zip + Projection operations - Zip or is . @@ -18440,7 +18440,7 @@ The following example demonstrates how to use `UnionBy` to merge two collections Produces a sequence of tuples with elements from the three specified sequences. A sequence of tuples with elements taken from the first, second, and third sequences, in that order. To be added. - Projection operations - Zip + Projection operations - Zip diff --git a/xml/System.Linq/OrderedParallelQuery`1.xml b/xml/System.Linq/OrderedParallelQuery`1.xml index 47b62c0437d..6c15f49204b 100644 --- a/xml/System.Linq/OrderedParallelQuery`1.xml +++ b/xml/System.Linq/OrderedParallelQuery`1.xml @@ -66,7 +66,7 @@ Represents a sorted, parallel sequence. To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) Order Preservation in PLINQ How to: Control Ordering in a PLINQ Query @@ -111,7 +111,7 @@ An enumerator that iterates through the sequence. To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) diff --git a/xml/System.Linq/ParallelEnumerable.xml b/xml/System.Linq/ParallelEnumerable.xml index 32fe8686b2e..9a82c76425e 100644 --- a/xml/System.Linq/ParallelEnumerable.xml +++ b/xml/System.Linq/ParallelEnumerable.xml @@ -51,7 +51,7 @@ Provides a set of methods for querying objects that implement ParallelQuery{TSource}. This is the parallel equivalent of . To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -131,7 +131,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -212,7 +212,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -298,7 +298,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -393,7 +393,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -488,7 +488,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -551,7 +551,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -629,7 +629,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -692,7 +692,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -756,7 +756,7 @@ To be added. is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -819,7 +819,7 @@ -or- is not one of , , or . - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -890,7 +890,7 @@ -or- is not one of AsParallel, ParallelEnumerable.Range, or ParallelEnumerable.Repeat. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -904,7 +904,7 @@ @@ -961,7 +961,7 @@ is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1026,7 +1026,7 @@ is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1084,7 +1084,7 @@ To be added. is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1149,7 +1149,7 @@ is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1214,7 +1214,7 @@ is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1225,7 +1225,7 @@ Computes in parallel the average of a sequence of values. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1276,7 +1276,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1327,7 +1327,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1378,7 +1378,7 @@ The sum or count of the elements in the sequence is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1429,7 +1429,7 @@ The sum or count of the elements in the sequence is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1480,7 +1480,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1531,7 +1531,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1582,7 +1582,7 @@ The sum or count of the elements in the sequence is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1633,7 +1633,7 @@ The sum or count of the elements in the sequence is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1684,7 +1684,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1735,7 +1735,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1800,7 +1800,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1865,7 +1865,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1930,7 +1930,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -1995,7 +1995,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2060,7 +2060,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2125,7 +2125,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2190,7 +2190,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2255,7 +2255,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2320,7 +2320,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2385,7 +2385,7 @@ contains no elements. (Thrown as inner exception in an ). The function returns a value greater than MaxValue for the element type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2444,7 +2444,7 @@ is a null reference (Nothing in Visual Basic). The type of the source sequence could not be converted to . - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2526,7 +2526,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2586,7 +2586,7 @@ To be added. or is a null reference (Nothing in Visual Basic). - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2665,7 +2665,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2738,7 +2738,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2808,7 +2808,7 @@ is a null reference (Nothing in Visual Basic). The number of elements in source is larger than Int32.MaxValue. (In this case the InnerException is ) -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2870,7 +2870,7 @@ or is a null reference (Nothing in Visual Basic). The number of elements in source is larger than Int32.MaxValue. (In this case the InnerException is ) -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -2940,7 +2940,7 @@ is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3002,7 +3002,7 @@ is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3078,7 +3078,7 @@ is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3147,7 +3147,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3211,7 +3211,7 @@ is less than 0 or greater than or equal to the number of elements in . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3274,7 +3274,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3327,7 +3327,7 @@ Returns an empty ParallelQuery{TResult} that has the specified type argument. An empty sequence whose type argument is . To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3409,7 +3409,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3477,7 +3477,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3559,7 +3559,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3632,7 +3632,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3711,7 +3711,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3781,7 +3781,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. No element in satisfies the condition in . - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3859,7 +3859,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3929,7 +3929,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -3997,7 +3997,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4084,7 +4084,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4165,7 +4165,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4253,7 +4253,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4345,7 +4345,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4427,7 +4427,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4519,7 +4519,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4612,7 +4612,7 @@ or or or is ( in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4715,7 +4715,7 @@ or or or is ( in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4830,7 +4830,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -4931,7 +4931,7 @@ or or or or is ( in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5046,7 +5046,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5151,7 +5151,7 @@ or or or or is ( in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5233,7 +5233,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5301,7 +5301,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5383,7 +5383,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5455,7 +5455,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5570,7 +5570,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5671,7 +5671,7 @@ or or or or is ( in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5786,7 +5786,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5891,7 +5891,7 @@ or or or or is ( in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -5970,7 +5970,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6040,7 +6040,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. No element in satisfies the condition in . - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6118,7 +6118,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6188,7 +6188,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6259,7 +6259,7 @@ is a null reference (Nothing in Visual Basic). The number of elements in source is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. The computed result is greater than Int32.MaxValue. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6322,7 +6322,7 @@ or is a null reference (Nothing in Visual Basic). The number of elements in source is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. The computed result is greater than Int32.MaxValue. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6383,7 +6383,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6434,7 +6434,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6485,7 +6485,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6536,7 +6536,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6587,7 +6587,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6638,7 +6638,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6689,7 +6689,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6740,7 +6740,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6791,7 +6791,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6842,7 +6842,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6905,7 +6905,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -6969,7 +6969,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7033,7 +7033,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7097,7 +7097,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7161,7 +7161,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7225,7 +7225,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7289,7 +7289,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7353,7 +7353,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7417,7 +7417,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7481,7 +7481,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7545,7 +7545,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7619,7 +7619,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7680,7 +7680,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7731,7 +7731,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7782,7 +7782,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7833,7 +7833,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7884,7 +7884,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7935,7 +7935,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -7986,7 +7986,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8037,7 +8037,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8088,7 +8088,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8139,7 +8139,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8202,7 +8202,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8266,7 +8266,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8330,7 +8330,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8394,7 +8394,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8458,7 +8458,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8522,7 +8522,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8586,7 +8586,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8650,7 +8650,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8714,7 +8714,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8778,7 +8778,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8842,7 +8842,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8916,7 +8916,7 @@ One or more exceptions occurred during the evaluation of the query. contains no elements and is a non-nullable value type. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -8976,7 +8976,7 @@ is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9064,7 +9064,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9152,7 +9152,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9240,7 +9240,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9328,7 +9328,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9377,7 +9377,7 @@ To be added. is less than 0 -or- + - 1 is larger than Int32.MaxValue. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9437,7 +9437,7 @@ To be added. is less than 0. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9497,7 +9497,7 @@ is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9579,7 +9579,7 @@ The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. More than Int32.MaxValue elements are enumerated by the query. This condition might occur in streaming scenarios. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9650,7 +9650,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9731,7 +9731,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9803,7 +9803,7 @@ The query was canceled with the token passed in through . More than Int32.MaxValue elements are enumerated by the query. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9886,7 +9886,7 @@ The query was canceled with the token passed in through . More than Int32.MaxValue elements are enumerated by the query. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -9969,7 +9969,7 @@ The query was canceled with the token passed in through . More than Int32.MaxValue elements are enumerated by the query. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10051,7 +10051,7 @@ ]]> Thrown every time this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10114,7 +10114,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10196,7 +10196,7 @@ ]]> Thrown every time this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10269,7 +10269,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10340,7 +10340,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. The input sequence contains more than one element. -or- The input sequence is empty. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10403,7 +10403,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. No element satisfies the condition in . -or- More than one element satisfies the condition in . - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10476,7 +10476,7 @@ has more than one element. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10541,7 +10541,7 @@ One or more exceptions occurred during the evaluation of the query. is empty or multiple elements are returned. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10611,7 +10611,7 @@ The query was canceled with the token passed in through . Count is greater than Int32.MaxValue One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10683,7 +10683,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10746,7 +10746,7 @@ The query was canceled with the token passed in through . More than Int32.MaxValue elements are enumerated by the query. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10805,7 +10805,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10854,7 +10854,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10903,7 +10903,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -10952,7 +10952,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11001,7 +11001,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11050,7 +11050,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11099,7 +11099,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11148,7 +11148,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11197,7 +11197,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11246,7 +11246,7 @@ is a null reference (Nothing in Visual Basic). The sum is larger than Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11308,7 +11308,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11370,7 +11370,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11432,7 +11432,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11494,7 +11494,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11556,7 +11556,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11618,7 +11618,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11680,7 +11680,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11742,7 +11742,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11804,7 +11804,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11866,7 +11866,7 @@ or is a null reference (Nothing in Visual Basic). The sum is larger than Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -11928,7 +11928,7 @@ is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12000,7 +12000,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12063,7 +12063,7 @@ The query was canceled with the token passed in through . More than Int32.MaxValue elements are enumerated by this query. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12151,7 +12151,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12239,7 +12239,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12327,7 +12327,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12415,7 +12415,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12475,7 +12475,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12550,7 +12550,7 @@ or is a null reference (Nothing in Visual Basic). produces a key that is a null reference (Nothing in Visual Basic). -or- produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12625,7 +12625,7 @@ or is a null reference (Nothing in Visual Basic). produces a key that is a null reference (Nothing in Visual Basic). -or- produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12701,7 +12701,7 @@ or or is a null reference (Nothing in Visual Basic). produces a key that is a null reference (Nothing in Visual Basic). -or- produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12787,7 +12787,7 @@ or or is a null reference (Nothing in Visual Basic). produces a key that is a null reference (Nothing in Visual Basic). -or- produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12847,7 +12847,7 @@ is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12921,7 +12921,7 @@ or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -12995,7 +12995,7 @@ or or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13070,7 +13070,7 @@ or or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13155,7 +13155,7 @@ or or is a null reference (Nothing in Visual Basic). One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13239,7 +13239,7 @@ The exception that occurs when this method is called. The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13307,7 +13307,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13391,7 +13391,7 @@ The exception that occurs when this method is called. The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13463,7 +13463,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13535,7 +13535,7 @@ or is a null reference (Nothing in Visual Basic). The query was canceled with the token passed in through . One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13598,7 +13598,7 @@ The query was canceled with the token passed in through . More than Int32.MaxValue elements are enumerated by the query. One or more exceptions occurred during the evaluation of the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13661,7 +13661,7 @@ is a null reference (Nothing in Visual Basic). is used multiple times in the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) How to: Cancel a PLINQ Query Cancellation @@ -13726,7 +13726,7 @@ is less than 1 or greater than 512. WithDegreeOfParallelism is used multiple times in the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13796,7 +13796,7 @@ is not a valid value. WithExecutionMode is used multiple times in the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -13860,7 +13860,7 @@ is not a valid value. is used multiple times in the query. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) Merge Options in PLINQ How to: Specify Merge Options in PLINQ @@ -13964,7 +13964,7 @@ ]]> The exception that occurs when this method is called. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) diff --git a/xml/System.Linq/ParallelExecutionMode.xml b/xml/System.Linq/ParallelExecutionMode.xml index 56826e11388..a0485e2fc2c 100644 --- a/xml/System.Linq/ParallelExecutionMode.xml +++ b/xml/System.Linq/ParallelExecutionMode.xml @@ -44,7 +44,7 @@ The query execution mode is a hint that specifies how the system should handle performance trade-offs when parallelizing queries. To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) How to: Specify the Execution Mode in PLINQ Understanding Speedup in PLINQ diff --git a/xml/System.Linq/ParallelMergeOptions.xml b/xml/System.Linq/ParallelMergeOptions.xml index 9072dc284d0..cf0c63dbf6c 100644 --- a/xml/System.Linq/ParallelMergeOptions.xml +++ b/xml/System.Linq/ParallelMergeOptions.xml @@ -55,7 +55,7 @@ ]]> - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) Merge Options in PLINQ How to: Specify Merge Options in PLINQ diff --git a/xml/System.Linq/ParallelQuery.xml b/xml/System.Linq/ParallelQuery.xml index 045ee997c1b..882036b2cda 100644 --- a/xml/System.Linq/ParallelQuery.xml +++ b/xml/System.Linq/ParallelQuery.xml @@ -50,7 +50,7 @@ Represents a parallel sequence. To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -109,7 +109,7 @@ This member is an explicit interface member implementation. It can be used only ]]> - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) diff --git a/xml/System.Linq/ParallelQuery`1.xml b/xml/System.Linq/ParallelQuery`1.xml index 2575eeeabce..41c8181bd36 100644 --- a/xml/System.Linq/ParallelQuery`1.xml +++ b/xml/System.Linq/ParallelQuery`1.xml @@ -64,7 +64,7 @@ Represents a parallel sequence. To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) @@ -109,7 +109,7 @@ Returns an enumerator that iterates through the sequence. An enumerator that iterates through the sequence. To be added. - Parallel LINQ (PLINQ) + Parallel LINQ (PLINQ) diff --git a/xml/System.Net.Http/HttpClient.xml b/xml/System.Net.Http/HttpClient.xml index fbc6bc7ad84..c35eef7f2cc 100644 --- a/xml/System.Net.Http/HttpClient.xml +++ b/xml/System.Net.Http/HttpClient.xml @@ -55,7 +55,7 @@ :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/vb/source.vb" id="Snippet1"::: ]]> - Guidelines for using HttpClient + Guidelines for using HttpClient HttpClient Sample diff --git a/xml/System.Reflection/Assembly.xml b/xml/System.Reflection/Assembly.xml index 6456a5ab29c..007366ca28b 100644 --- a/xml/System.Reflection/Assembly.xml +++ b/xml/System.Reflection/Assembly.xml @@ -1184,7 +1184,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex ]]> - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names diff --git a/xml/System.Reflection/AssemblyName.xml b/xml/System.Reflection/AssemblyName.xml index 250039e168a..8d0b3398cbc 100644 --- a/xml/System.Reflection/AssemblyName.xml +++ b/xml/System.Reflection/AssemblyName.xml @@ -197,7 +197,7 @@ ExampleAssembly, Version=1.0.0.0, Culture=en, PublicKeyToken=a5d015c7d5a0b012 - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -826,7 +826,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 ]]> - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -1303,7 +1303,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 ]]> - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names diff --git a/xml/System.Reflection/MethodImplAttributes.xml b/xml/System.Reflection/MethodImplAttributes.xml index f64660aab45..1d5e07b8b8b 100644 --- a/xml/System.Reflection/MethodImplAttributes.xml +++ b/xml/System.Reflection/MethodImplAttributes.xml @@ -911,7 +911,7 @@ 32 - Specifies that the method is single-threaded through the body. Static methods ( in Visual Basic) lock on the type, whereas instance methods lock on the instance. You can also use the C# lock statement or the Visual Basic SyncLock statement for this purpose. + Specifies that the method is single-threaded through the body. Static methods ( in Visual Basic) lock on the type, whereas instance methods lock on the instance. You can also use the C# lock statement or the Visual Basic SyncLock statement for this purpose. diff --git a/xml/System.Reflection/MethodInfo.xml b/xml/System.Reflection/MethodInfo.xml index 9481db14f90..8efbd29db1c 100644 --- a/xml/System.Reflection/MethodInfo.xml +++ b/xml/System.Reflection/MethodInfo.xml @@ -675,7 +675,7 @@ For a list of the invariant conditions for other terms used in generic reflectio Reflection and Generic Types - Introduction to Generics (C# Programming Guide) + Introduction to Generics (C# Programming Guide) @@ -782,7 +782,7 @@ End Class Reflection and Generic Types - Introduction to Generics (C# Programming Guide) + Introduction to Generics (C# Programming Guide) @@ -1085,7 +1085,7 @@ Console::WriteLine("\tIs this a generic method definition? {0}", Reflection and Generic Types - Introduction to Generics (C# Programming Guide) + Introduction to Generics (C# Programming Guide) @@ -1220,7 +1220,7 @@ End Class Reflection and Generic Types - Introduction to Generics (C# Programming Guide) + Introduction to Generics (C# Programming Guide) diff --git a/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml b/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml index 0788717d5bb..40f2bdc10bf 100644 --- a/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml +++ b/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml @@ -67,7 +67,7 @@ When a method (*MethodName*) has the Async or async modifier, the compiler emits IL that includes a state machine structure. This structure contains the code in the method. That IL also contains a stub method (*MethodName*) that calls into the state machine. The compiler adds the `AsyncStateMachine` attribute to the stub method so that tools can identify the corresponding state machine. Details of the emitted IL might change in future releases of the compilers. - For information about the Async feature, see [Asynchronous programming (C#)](/dotnet/csharp/async) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). + For information about the Async feature, see [Asynchronous programming (C#)](/dotnet/csharp/asynchronous-programming/) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). @@ -76,7 +76,7 @@ - Obtains a object for the method name by using . -- Obtains a object for the attribute by using [GetType Operator](/dotnet/visual-basic/language-reference/operators/gettype-operator) or [typeof](/dotnet/csharp/language-reference/keywords/typeof). +- Obtains a object for the attribute by using [GetType Operator](/dotnet/visual-basic/language-reference/operators/gettype-operator) or [typeof](/dotnet/csharp/language-reference/operators/type-testing-and-cast). - Obtains an attribute object for the method and attribute type by using `MethodInfo.GetCustomAttribute`. If `GetCustomAttribute` returns `Nothing` (Visual Basic) or `null` (C#), the method doesn't contain the attribute. diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml index 44f706ee85d..0037f73ad6e 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml @@ -48,7 +48,7 @@ handles the complex task of asking a channel object for its properties. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml index 744f92c5937..c379653061e 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml @@ -34,7 +34,7 @@ ## Remarks Channel sinks provide a plug-in point that allows access to the underlying messages that are flowing through the channel as well as the stream that is used by the transport mechanism to send messages to a remote object. Channel sinks are linked together in a chain of channel sink providers, and all channel messages flow through this chain of sinks before the message is serialized and transported. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml index 0e8cf4b1678..b1c2ffb871a 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml @@ -37,7 +37,7 @@ The class handles the complexity of asking the sinks in a channel sink chain for their properties. After the channel constructs its sink chain (if applicable), it must set the property. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml b/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml index 4368bf2c729..a2fcf661684 100644 --- a/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml +++ b/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml @@ -40,7 +40,7 @@ is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml b/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml index ccba7b148ad..1c5866d8315 100644 --- a/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml +++ b/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml @@ -39,7 +39,7 @@ diff --git a/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml b/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml index 4c128cc8b22..9c54d370eaf 100644 --- a/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml +++ b/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml @@ -39,7 +39,7 @@ diff --git a/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml b/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml index 2a1d0cb7823..3f8d89a4822 100644 --- a/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml +++ b/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml @@ -42,7 +42,7 @@ ## Remarks You can use the `foreach` statement to iterate over the contents of the header list that contains objects of type . Keys to the headers are required to be strings, and comparisons are done on a case-insensitive basis. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml b/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml index 9dc9b10f652..080ebfe2d5c 100644 --- a/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml +++ b/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml @@ -53,7 +53,7 @@ > There are two classes named `SynchronizationAttribute` : one in the namespace, and the other in the namespace. The class supports only synchronous calls, and can be used only with serviced components. The supports both synchronous and asynchronous calls, and can be used only with context bound objects. (For more information on context bound objects, see the class.) > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml b/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml index 412c9dc865a..51ff42482c3 100644 --- a/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml +++ b/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml @@ -39,7 +39,7 @@ The current lifetime sponsor implementation can be used to sponsor objects by specifying the required renewal . > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml b/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml index 150592a42ea..7c3774909db 100644 --- a/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml +++ b/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml @@ -37,7 +37,7 @@ The lifetime service associates a lease with each remotely activated object. When the lease expires, the object is removed. > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/dotnet/framework/misc/link-demands) for more information. +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. diff --git a/xml/System.Runtime.Remoting.Messaging/CallContext.xml b/xml/System.Runtime.Remoting.Messaging/CallContext.xml index f61587bc5b1..3cb87452c78 100644 --- a/xml/System.Runtime.Remoting.Messaging/CallContext.xml +++ b/xml/System.Runtime.Remoting.Messaging/CallContext.xml @@ -44,7 +44,7 @@ > All methods in are static and operate on the call context in the current . > [!NOTE] -> This class makes a link demand. A `SecurityException` is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/dotnet/framework/misc/link-demands) for more information. +> This class makes a link demand. A `SecurityException` is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. diff --git a/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml b/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml index f9fc4071b50..f8096f8e33a 100644 --- a/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml +++ b/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml @@ -48,7 +48,7 @@ When a remote method call is made to an object in another , the class generates a that travels along with the remote call. Only objects that expose the interface and are stored in the are propagated outside the in a . Objects that do not support this interface are not transmitted in instances with remote method calls. > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/dotnet/framework/misc/link-demands) for more information. +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml b/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml index 3f96e22143a..0a6bd775455 100644 --- a/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml +++ b/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml @@ -41,7 +41,7 @@ During serialization for remoting purposes of a , the remoting surrogate creates an that contains all the relevant information required to activate and communicate with the remote object. The newly created can then be sent to a remote location and used to create a proxy. > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml b/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml index 4cd41ad4f6c..5c54d140927 100644 --- a/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml @@ -44,7 +44,7 @@ ## Remarks > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml b/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml index 119a19ceb42..dfb35c92e25 100644 --- a/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml +++ b/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml @@ -43,7 +43,7 @@ Apply the current attribute to types that need custom proxies. You can use the ProxyAttribute class to intercept the `new` (`New` in Visual Basic) statement by deriving from the ProxyAttribute and placing the attribute on a child of `ContextBoundObject`. (Placing the proxy attribute on a child of `MarshalByRefObject` is not supported.) > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Proxies/RealProxy.xml b/xml/System.Runtime.Remoting.Proxies/RealProxy.xml index 69d9ea2e589..1be94963f26 100644 --- a/xml/System.Runtime.Remoting.Proxies/RealProxy.xml +++ b/xml/System.Runtime.Remoting.Proxies/RealProxy.xml @@ -42,7 +42,7 @@ A proxy object can be used without regard to any remoting subdivisions within a . > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml b/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml index b3aa369809e..f60136a91e0 100644 --- a/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml +++ b/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml @@ -34,7 +34,7 @@ ## Remarks > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/dotnet/framework/misc/link-demands) for more information. +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. ]]> diff --git a/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml b/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml index b676aa898bb..87cdd296ce9 100644 --- a/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml +++ b/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml @@ -30,7 +30,7 @@ Note that only objects can be disconnected. An exception is thrown when disconnect is called on a proxy. > [!NOTE] -> This interface makes a link demand. A SecurityException is thrown if the immediate caller makes the call through a reference to the interface and does not have infrastructure permission. See [Link Demands](/dotnet/framework/misc/link-demands) for more information. +> This interface makes a link demand. A SecurityException is thrown if the immediate caller makes the call through a reference to the interface and does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. diff --git a/xml/System.Runtime.Remoting.Services/TrackingServices.xml b/xml/System.Runtime.Remoting.Services/TrackingServices.xml index 9dc72bd790f..bc21f96274a 100644 --- a/xml/System.Runtime.Remoting.Services/TrackingServices.xml +++ b/xml/System.Runtime.Remoting.Services/TrackingServices.xml @@ -37,7 +37,7 @@ All methods in the class are static and operate on the tracking handlers in the current . > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/dotnet/framework/misc/link-demands) for more information. +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. diff --git a/xml/System.Runtime.Remoting/ObjRef.xml b/xml/System.Runtime.Remoting/ObjRef.xml index bf54010a2cd..0a49e26f03a 100644 --- a/xml/System.Runtime.Remoting/ObjRef.xml +++ b/xml/System.Runtime.Remoting/ObjRef.xml @@ -53,7 +53,7 @@ A proxy object can be used without regard to any remoting subdivisions within a . Applications need not distinguish between proxy references and object references. However, service providers dealing with issues such as activation, lifetime management, and transactions need to make such distinctions. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Runtime.Remoting/SoapServices.xml b/xml/System.Runtime.Remoting/SoapServices.xml index 91916afb424..db2e1a2b124 100644 --- a/xml/System.Runtime.Remoting/SoapServices.xml +++ b/xml/System.Runtime.Remoting/SoapServices.xml @@ -32,7 +32,7 @@ should only be used for deserialization when the user intends to immediately populate all fields. It does not create an uninitialized string, since creating an empty instance of an immutable type serves no purpose. - converts all class level [Link Demands](/dotnet/framework/misc/link-demands) to Demands to ensure that all direct and indirect callers have the permissions that the demand specifies. Use to increase the level of security when deserializing from a partially trusted source. For better performance in full trust scenarios, use . + converts all class level [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) to Demands to ensure that all direct and indirect callers have the permissions that the demand specifies. Use to increase the level of security when deserializing from a partially trusted source. For better performance in full trust scenarios, use . ]]> diff --git a/xml/System.Runtime.Versioning/RequiresPreviewFeaturesAttribute.xml b/xml/System.Runtime.Versioning/RequiresPreviewFeaturesAttribute.xml index e865311dae2..ed076e2a606 100644 --- a/xml/System.Runtime.Versioning/RequiresPreviewFeaturesAttribute.xml +++ b/xml/System.Runtime.Versioning/RequiresPreviewFeaturesAttribute.xml @@ -36,7 +36,7 @@ If you want to ship preview functionality in your own libraries, use instead. -For more information about marking APIs as preview, see [Preview APIs](/dotnet/fundamentals/apicompat/preview-apis). +For more information about marking APIs as preview, see [Preview APIs](/dotnet/fundamentals/runtime-libraries/preview-apis). ]]> Preview Features diff --git a/xml/System.Security.Cryptography/CryptoStream.xml b/xml/System.Security.Cryptography/CryptoStream.xml index 72e4970e68b..993ea7c0cab 100644 --- a/xml/System.Security.Cryptography/CryptoStream.xml +++ b/xml/System.Security.Cryptography/CryptoStream.xml @@ -1089,7 +1089,7 @@ Flushing the stream will not flush its underlying encoder unless you explicitly with the `await` (C#) or `Await` (Visual Basic) operator to suspend execution of the method until the task is complete. For more information, see [Asynchronous programming (C#)](/dotnet/csharp/async) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). +You must preface your call to with the `await` (C#) or `Await` (Visual Basic) operator to suspend execution of the method until the task is complete. For more information, see [Asynchronous programming (C#)](/dotnet/csharp/asynchronous-programming/) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). If the operation is canceled before it completes, the returned task contains the value for the property. @@ -1519,7 +1519,7 @@ This property exists only to support inheritance from , a > [!IMPORTANT] > Starting in .NET 6, this method might not read as many bytes as were requested. For more information, see [Partial and zero-byte reads in DeflateStream, GZipStream, and CryptoStream](/dotnet/core/compatibility/core-libraries/6.0/partial-byte-reads-in-streams). -You must preface your call to with the `await` (C#) or `Await` (Visual Basic) operator to suspend execution of the method until the task is complete. For more information, see [Asynchronous programming (C#)](/dotnet/csharp/async) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). +You must preface your call to with the `await` (C#) or `Await` (Visual Basic) operator to suspend execution of the method until the task is complete. For more information, see [Asynchronous programming (C#)](/dotnet/csharp/asynchronous-programming/) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). If the operation is canceled before it completes, the returned task contains the value for the property. @@ -1902,7 +1902,7 @@ This member is an explicit interface member implementation. It can be used only with the `await` (C#) or `Await` (Visual Basic) operator to suspend execution of the method until the task is complete. For more information, see [Asynchronous programming (C#)](/dotnet/csharp/async) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). +You must preface your call to with the `await` (C#) or `Await` (Visual Basic) operator to suspend execution of the method until the task is complete. For more information, see [Asynchronous programming (C#)](/dotnet/csharp/asynchronous-programming/) or [Asynchronous programming with Async and Await (Visual Basic)](/dotnet/visual-basic/programming-guide/concepts/async/). If the operation is canceled before it completes, the returned task contains the value for the property. diff --git a/xml/System.Security.Permissions/HostProtectionAttribute.xml b/xml/System.Security.Permissions/HostProtectionAttribute.xml index fbf42eef1be..249c028c0fc 100644 --- a/xml/System.Security.Permissions/HostProtectionAttribute.xml +++ b/xml/System.Security.Permissions/HostProtectionAttribute.xml @@ -81,7 +81,7 @@ ]]> Extending Metadata Using Attributes - Link Demands + Link Demands diff --git a/xml/System.Security/SecurityException.xml b/xml/System.Security/SecurityException.xml index 587f86a9fbb..2d7b5a486f3 100644 --- a/xml/System.Security/SecurityException.xml +++ b/xml/System.Security/SecurityException.xml @@ -864,7 +864,7 @@ because it can contain a permission, a permission set, or a permission set collection. To test the run-time type of this property, you can use the method or a specific language operator, such as the [is operator](/dotnet/csharp/language-reference/keywords/is) in C# or the [TypeOf operator](/dotnet/visual-basic/language-reference/operators/typeof-operator) in Visual Basic. + This property contains the denied permission, permission set, or permission set collection that caused the security check to fail. It is `null` for exceptions that are not caused by a Deny. The property is of type because it can contain a permission, a permission set, or a permission set collection. To test the run-time type of this property, you can use the method or a specific language operator, such as the [is operator](/dotnet/csharp/language-reference/operators/is) in C# or the [TypeOf operator](/dotnet/visual-basic/language-reference/operators/typeof-operator) in Visual Basic. ]]> @@ -1365,7 +1365,7 @@ ## Remarks The property represents the permitted permission, permission set, or permission set collection contained in the stack frame that caused the security exception. For instance, when a security exception occurs because of a failure, the permitted permission appears in this property and the demanded is contained in the property. - This property is of type because permissions, permission sets, or permission set collections can all be demanded and is their common base class. To test the run-time type of this property, you can use the method or a specific language operator, such as the [is operator](/dotnet/csharp/language-reference/keywords/is) in C# or the [TypeOf operator](/dotnet/visual-basic/language-reference/operators/typeof-operator) in Visual Basic. + This property is of type because permissions, permission sets, or permission set collections can all be demanded and is their common base class. To test the run-time type of this property, you can use the method or a specific language operator, such as the [is operator](/dotnet/csharp/language-reference/operators/is) in C# or the [TypeOf operator](/dotnet/visual-basic/language-reference/operators/typeof-operator) in Visual Basic. ]]> diff --git a/xml/System.Threading/AutoResetEvent.xml b/xml/System.Threading/AutoResetEvent.xml index e652e0f4cfd..48810ccf590 100644 --- a/xml/System.Threading/AutoResetEvent.xml +++ b/xml/System.Threading/AutoResetEvent.xml @@ -65,7 +65,7 @@ ## Remarks -You use `AutoResetEvent`, , and for thread interaction (or thread signaling). For more information, see [Thread interaction](/dotnet/standard/threading/overview-of-synchronization-primitives#thread-interaction-or-signaling). +You use `AutoResetEvent`, , and for thread interaction (or thread signaling). For more information, see [Thread interaction](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives#thread-interaction-or-signaling). A thread waits for a signal by calling [AutoResetEvent.WaitOne](xref:System.Threading.WaitHandle.WaitOne%2A). If the `AutoResetEvent` is in the non-signaled state, the thread blocks until [AutoResetEvent.Set](xref:System.Threading.EventWaitHandle.Set%2A) is called. Calling `Set` signals `AutoResetEvent` to release a waiting thread. `AutoResetEvent` remains signaled until `Reset` is called or a single waiting thread is released, at which time it automatically returns to the non-signaled state. @@ -99,8 +99,8 @@ After the threads are released from the first This class is thread safe. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -169,8 +169,8 @@ After the threads are released from the first - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives diff --git a/xml/System.Threading/EventWaitHandle.xml b/xml/System.Threading/EventWaitHandle.xml index 16f3e53ec1a..8e0a1ca5f48 100644 --- a/xml/System.Threading/EventWaitHandle.xml +++ b/xml/System.Threading/EventWaitHandle.xml @@ -75,7 +75,7 @@ The class allows threads to communicate objects can be used with the `static`(`Shared` in Visual Basic) and methods. - For more information, see the [Thread interaction, or signaling](/dotnet/standard/threading/overview-of-synchronization-primitives#thread-interaction-or-signaling) section of the [Overview of synchronization primitives](/dotnet/standard/threading/overview-of-synchronization-primitives) article. + For more information, see the [Thread interaction, or signaling](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives#thread-interaction-or-signaling) section of the [Overview of synchronization primitives](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives) article. > [!CAUTION] > By default, a named event is not restricted to the user that created it. Other users might be able to open and use the event, including interfering with the event by setting or resetting it inappropriately. To restrict access to specific users, you can use a constructor overload or and pass in an when creating the named event. Avoid using named events without access restrictions on systems that might have untrusted users running code. @@ -94,8 +94,8 @@ The class allows threads to communicate - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -175,7 +175,7 @@ The class allows threads to communicate ]]> The enum value was out of legal range. - Overview of synchronization primitives + Overview of synchronization primitives @@ -266,7 +266,7 @@ There was some other error. The `HResult` property might provide more informatio -or- .NET Framework only: is longer than MAX_PATH (260 characters). - Overview of synchronization primitives + Overview of synchronization primitives @@ -356,7 +356,7 @@ There was some other error. The `HResult` property might provide more informatio -or- .NET Framework only: is longer than MAX_PATH (260 characters). - Overview of synchronization primitives + Overview of synchronization primitives @@ -425,7 +425,7 @@ There was some other error. The `HResult` property might provide more informatio An object with the specified exists, but the specified are not compatible with the existing object's options. The enum value was out of legal range. - Overview of synchronization primitives + Overview of synchronization primitives @@ -522,7 +522,7 @@ There was some other error. The `HResult` property might provide more informatio -or- .NET Framework only: is longer than MAX_PATH (260 characters). - Overview of synchronization primitives + Overview of synchronization primitives @@ -591,7 +591,7 @@ There was some other error. The `HResult` property might provide more informatio An object with the specified exists, but the specified are not compatible with the existing object's options. The enum value was out of legal range. - Overview of synchronization primitives + Overview of synchronization primitives @@ -655,7 +655,7 @@ An object with the specified exists, but the specified The current object represents a named system event, and was not opened with . The method was previously called on this . - Overview of synchronization primitives + Overview of synchronization primitives @@ -759,7 +759,7 @@ There was some other error. The `HResult` property might provide more informatio Windows only: specified an unknown namespace. See Object Names for more information. The is too long. Length restrictions might depend on the operating system or configuration. The named event exists, but the user does not have the security access required to use it. - Overview of synchronization primitives + Overview of synchronization primitives @@ -845,7 +845,7 @@ There was some other error. The `HResult` property might provide more informatio Windows only: specified an unknown namespace. See Object Names for more information. The is too long. Length restrictions might depend on the operating system or configuration. The named event exists, but the user does not have the desired security access. - Overview of synchronization primitives + Overview of synchronization primitives @@ -914,7 +914,7 @@ There was some other error. The `HResult` property might provide more informatio Windows only: specified an unknown namespace. See Object Names for more information. The is too long. Length restrictions might depend on the operating system or configuration. The named event exists, but the user does not have the security access required to use it. - Overview of synchronization primitives + Overview of synchronization primitives @@ -967,7 +967,7 @@ There was some other error. The `HResult` property might provide more informatio if the operation succeeds; otherwise, . To be added. The method was previously called on this . - Overview of synchronization primitives + Overview of synchronization primitives @@ -1040,7 +1040,7 @@ There was some other error. The `HResult` property might provide more informatio ]]> The method was previously called on this . - Overview of synchronization primitives + Overview of synchronization primitives @@ -1107,7 +1107,7 @@ There was some other error. The `HResult` property might provide more informatio The event was not opened with . The current object does not represent a named system event. The method was previously called on this . - Overview of synchronization primitives + Overview of synchronization primitives diff --git a/xml/System.Threading/Interlocked.xml b/xml/System.Threading/Interlocked.xml index c4577649a29..d9338a3cc1c 100644 --- a/xml/System.Threading/Interlocked.xml +++ b/xml/System.Threading/Interlocked.xml @@ -91,8 +91,8 @@ ]]> This type is thread safe. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -171,8 +171,8 @@ ]]> The address of is a null pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -243,8 +243,8 @@ - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -674,8 +674,8 @@ ]]> The address of is a null pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -793,8 +793,8 @@ ]]> The address of is a null pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -860,8 +860,8 @@ ]]> The address of is a null pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -934,8 +934,8 @@ ]]> The address of is a null pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -1013,8 +1013,8 @@ If `comparand` and the object in `location1` are equal by reference, then `value ]]> - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives The address of is a pointer. @@ -1136,8 +1136,8 @@ If `comparand` and the object in `location1` are equal by reference, then `value ]]> The address of is a null pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -1508,8 +1508,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` ]]> The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives The address of is a pointer. @@ -1576,8 +1576,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives The address of is a pointer. @@ -1770,8 +1770,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The original value of . To be added. The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -1879,8 +1879,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` ]]> The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives The address of is a pointer. @@ -1938,8 +1938,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The original value of . To be added. The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -2000,8 +2000,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The original value of . To be added. The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -2080,8 +2080,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` ]]> The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives The address of is a pointer. @@ -2182,8 +2182,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The original value of . To be added. The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -2543,8 +2543,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` ]]> The address of is a pointer. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -2614,8 +2614,8 @@ If `comparand` and the value in `location1` are equal by reference, then `value` - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -3098,8 +3098,8 @@ This method wraps a call to [FlushProcessWriteBuffers](/windows/win32/api/proces - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives diff --git a/xml/System.Threading/LockCookie.xml b/xml/System.Threading/LockCookie.xml index 85cd60ba3aa..d78027f2f11 100644 --- a/xml/System.Threading/LockCookie.xml +++ b/xml/System.Threading/LockCookie.xml @@ -83,8 +83,8 @@ This type is thread safe. - Managed Threading - Reader-Writer Locks + Managed Threading + Reader-Writer Locks diff --git a/xml/System.Threading/ManualResetEvent.xml b/xml/System.Threading/ManualResetEvent.xml index bc87a85f3c5..15da134bb08 100644 --- a/xml/System.Threading/ManualResetEvent.xml +++ b/xml/System.Threading/ManualResetEvent.xml @@ -65,7 +65,7 @@ ## Remarks - You use `ManualResetEvent`, , and for thread interaction (or thread signaling). For more information, see the [Thread interaction, or signaling](/dotnet/standard/threading/overview-of-synchronization-primitives#thread-interaction-or-signaling) section of the [Overview of synchronization primitives](/dotnet/standard/threading/overview-of-synchronization-primitives) article. + You use `ManualResetEvent`, , and for thread interaction (or thread signaling). For more information, see the [Thread interaction, or signaling](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives#thread-interaction-or-signaling) section of the [Overview of synchronization primitives](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives) article. When a thread begins an activity that must complete before other threads proceed, it calls [ManualResetEvent.Reset](xref:System.Threading.EventWaitHandle.Reset%2A) to put `ManualResetEvent` in the non-signaled state. This thread can be thought of as controlling the `ManualResetEvent`. Threads that call [ManualResetEvent.WaitOne](xref:System.Threading.WaitHandle.WaitOne%2A) block, awaiting the signal. When the controlling thread completes the activity, it calls [ManualResetEvent.Set](xref:System.Threading.EventWaitHandle.Set%2A) to signal that the waiting threads can proceed. All waiting threads are released. @@ -98,8 +98,8 @@ This class is thread safe. - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives @@ -159,8 +159,8 @@ ]]> - Managed Threading - Overview of synchronization primitives + Managed Threading + Overview of synchronization primitives diff --git a/xml/System.Threading/Monitor.xml b/xml/System.Threading/Monitor.xml index 113289971f3..7f5d3046035 100644 --- a/xml/System.Threading/Monitor.xml +++ b/xml/System.Threading/Monitor.xml @@ -65,8 +65,8 @@ For more information about this API, see Supplemental API remarks for Monitor. This type is thread safe. - Managed Threading - Threading Objects and Features + Managed Threading + Threading Objects and Features @@ -155,7 +155,7 @@ The parameter is . - Managed Threading + Managed Threading @@ -316,7 +316,7 @@ The current thread does not own the lock for the specified object. - Managed Threading + Managed Threading @@ -491,7 +491,7 @@ The calling thread does not own the lock for the specified object. - Managed Threading + Managed Threading @@ -564,7 +564,7 @@ The calling thread does not own the lock for the specified object. - Managed Threading + Managed Threading @@ -652,7 +652,7 @@ The parameter is . - Managed Threading + Managed Threading @@ -815,7 +815,7 @@ is negative, and not equal to . - Managed Threading + Managed Threading @@ -885,7 +885,7 @@ The parameter is . The value of in milliseconds is negative and is not equal to (-1 millisecond), or is greater than Int32.MaxValue. - Managed Threading + Managed Threading @@ -1050,7 +1050,7 @@ The parameter is . The value of in milliseconds is negative and is not equal to (-1 millisecond), or is greater than Int32.MaxValue. - Managed Threading + Managed Threading @@ -1145,7 +1145,7 @@ The thread that invokes is later interrupted from the waiting state. This happens when another thread calls this thread's method. - Managed Threading + Managed Threading @@ -1238,7 +1238,7 @@ The value of the parameter is negative, and is not equal to . - Managed Threading + Managed Threading @@ -1331,7 +1331,7 @@ The value of the parameter in milliseconds is negative and does not represent (-1 millisecond), or is greater than Int32.MaxValue. - Managed Threading + Managed Threading @@ -1401,7 +1401,7 @@ The value of the parameter is negative, and is not equal to . - Managed Threading + Managed Threading @@ -1467,7 +1467,7 @@ The parameter is negative and does not represent (-1 millisecond), or is greater than Int32.MaxValue. - Managed Threading + Managed Threading diff --git a/xml/System.Threading/Mutex.xml b/xml/System.Threading/Mutex.xml index ef1b956106d..2a9d4605f37 100644 --- a/xml/System.Threading/Mutex.xml +++ b/xml/System.Threading/Mutex.xml @@ -115,8 +115,8 @@ This type is thread safe. - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -193,8 +193,8 @@ ]]> - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -260,8 +260,8 @@ ]]> - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -369,8 +369,8 @@ There was some other error. The `HResult` property might provide more informatio A synchronization object with the provided cannot be created. A synchronization object of a different type might have the same name. .NET Framework only: is longer than MAX_PATH (260 characters). - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -432,8 +432,8 @@ There was some other error. The `HResult` property might provide more informatio -or- An object with the specified exists, but the specified are not compatible with the existing object's options. - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -539,8 +539,8 @@ There was some other error. The `HResult` property might provide more informatio A synchronization object with the provided cannot be created. A synchronization object of a different type might have the same name. .NET Framework only: is longer than MAX_PATH (260 characters). - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -605,8 +605,8 @@ There was some other error. The `HResult` property might provide more informatio -or- An object with the specified exists, but the specified are not compatible with the existing object's options. - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -777,8 +777,8 @@ There was some other error. The `HResult` property might provide more informatio -or- An object with the specified exists, but the specified are not compatible with the existing object's options. - Managed Threading - Mutexes + Managed Threading + Mutexes @@ -1194,8 +1194,8 @@ There was some other error. The `HResult` property might provide more informatio The calling thread does not own the mutex. The current instance has already been disposed. - Managed Threading - Mutexes + Managed Threading + Mutexes diff --git a/xml/System.Threading/ReaderWriterLock.xml b/xml/System.Threading/ReaderWriterLock.xml index ea2c574c06c..b53a91c7310 100644 --- a/xml/System.Threading/ReaderWriterLock.xml +++ b/xml/System.Threading/ReaderWriterLock.xml @@ -105,8 +105,8 @@ ]]> This type is thread safe. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -165,8 +165,8 @@ ]]> - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -264,8 +264,8 @@ expires before the lock request is granted. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -341,8 +341,8 @@ expires before the lock request is granted. specifies a negative value other than -1 milliseconds. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -436,8 +436,8 @@ expires before the lock request is granted. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -511,8 +511,8 @@ expires before the lock request is granted. specifies a negative value other than -1 milliseconds. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -589,8 +589,8 @@ ]]> - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -670,8 +670,8 @@ The thread does not have the writer lock. The address of is a null pointer. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -779,8 +779,8 @@ ]]> - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -844,8 +844,8 @@ ]]> - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -916,8 +916,8 @@ ]]> - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -995,8 +995,8 @@ ]]> The thread does not have any reader or writer locks. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -1074,8 +1074,8 @@ ]]> The thread does not have the writer lock. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -1160,8 +1160,8 @@ ]]> The address of is a null pointer. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -1260,8 +1260,8 @@ expires before the lock request is granted. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -1334,8 +1334,8 @@ expires before the lock request is granted. specifies a negative value other than -1 milliseconds. - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock @@ -1409,8 +1409,8 @@ ]]> - Managed Threading - ReaderWriterLock + Managed Threading + ReaderWriterLock diff --git a/xml/System.Threading/Semaphore.xml b/xml/System.Threading/Semaphore.xml index c2eea74bd26..a29fb779517 100644 --- a/xml/System.Threading/Semaphore.xml +++ b/xml/System.Threading/Semaphore.xml @@ -89,8 +89,8 @@ ]]> This type is thread safe. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -182,8 +182,8 @@ -or- is less than 0. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -287,8 +287,8 @@ There was some other error. The `HResult` property might provide more informatio The is too long. Length restrictions may depend on the operating system or configuration. The named semaphore exists and has access control security, and the user does not have . A synchronization object with the provided cannot be created. A synchronization object of a different type might have the same name. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -397,8 +397,8 @@ There was some other error. The `HResult` property might provide more informatio The is too long. Length restrictions may depend on the operating system or configuration. The named semaphore exists and has access control security, and the user does not have . A synchronization object with the provided cannot be created. A synchronization object of a different type might have the same name. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -477,8 +477,8 @@ There was some other error. The `HResult` property might provide more informatio -or- An object with the specified exists, but the specified are not compatible with the existing object's options. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -576,8 +576,8 @@ There was some other error. The `HResult` property might provide more informatio Windows only: specified an unknown namespace. See Object Names for more information. The is too long. Length restrictions may depend on the operating system or configuration. A synchronization object with the provided cannot be created. A synchronization object of a different type might have the same name. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -655,8 +655,8 @@ There was some other error. The `HResult` property might provide more informatio -or- An object with the specified exists, but the specified are not compatible with the existing object's options. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -716,8 +716,8 @@ An object with the specified exists, but the specified -or- The current object represents a named system semaphore and was not opened with rights. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -834,8 +834,8 @@ An object with the specified exists, but the specified There was some other error. The `HResult` property might provide more information. The is too long. Length restrictions may depend on the operating system or configuration. The named semaphore exists, but the user does not have the security access required to use it. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -916,8 +916,8 @@ There was some other error. The `HResult` property might provide more informatio There was some other error. The `HResult` property might provide more information. The is too long. Length restrictions may depend on the operating system or configuration. The named semaphore exists, but the user does not have the desired security access rights. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -985,8 +985,8 @@ An object with the specified exists, but the specified There was some other error. The `HResult` property might provide more information. The is too long. Length restrictions may depend on the operating system or configuration. The named semaphore exists, but the user does not have the security access required to use it. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -1084,8 +1084,8 @@ There was some other error. The `HResult` property might provide more informatio -or- The current semaphore represents a named system semaphore, but it was not opened with . - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -1169,8 +1169,8 @@ There was some other error. The `HResult` property might provide more informatio -or- The current semaphore represents a named system semaphore, but it was not opened with rights. - Managed Threading - Semaphore + Managed Threading + Semaphore @@ -1233,8 +1233,8 @@ There was some other error. The `HResult` property might provide more informatio The semaphore was not opened with rights. The current object does not represent a named system semaphore. - Managed Threading - Semaphore + Managed Threading + Semaphore diff --git a/xml/System.Threading/WaitHandle.xml b/xml/System.Threading/WaitHandle.xml index 257b5a61400..33ef9704eba 100644 --- a/xml/System.Threading/WaitHandle.xml +++ b/xml/System.Threading/WaitHandle.xml @@ -74,15 +74,15 @@ class encapsulates a native operating system synchronization handle and is used to represent all synchronization objects in the runtime that allow multiple wait operations. For a comparison of wait handles with other synchronization objects, see [Overview of Synchronization Primitives](/dotnet/standard/threading/overview-of-synchronization-primitives). + The class encapsulates a native operating system synchronization handle and is used to represent all synchronization objects in the runtime that allow multiple wait operations. For a comparison of wait handles with other synchronization objects, see [Overview of Synchronization Primitives](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives). The class itself is abstract. Classes derived from define a signaling mechanism to indicate taking or releasing access to a shared resource, but they use the inherited methods to block while waiting for access to shared resources. The classes derived from include: -- The class. See [Mutexes](/dotnet/standard/threading/mutexes). +- The class. See [Mutexes](/dotnet/standard/threading/managed-threading-basicsmutexes). - The class and its derived classes, and . -- The class. See [Semaphore and SemaphoreSlim](/dotnet/standard/threading/semaphore-and-semaphoreslim). +- The class. See [Semaphore and SemaphoreSlim](/dotnet/standard/threading/managed-threading-basicssemaphore-and-semaphoreslim). Threads can block on an individual wait handle by calling the instance method , which is inherited by classes derived from . @@ -116,11 +116,11 @@ ]]> This type is thread safe. - Threading - Threading Objects and Features - Mutexes - EventWaitHandle, AutoResetEvent, and ManualResetEvent - Semaphores + Threading + Threading Objects and Features + Mutexes + EventWaitHandle, AutoResetEvent, and ManualResetEvent + Semaphores diff --git a/xml/System.Windows.Annotations.Storage/AnnotationStore.xml b/xml/System.Windows.Annotations.Storage/AnnotationStore.xml index 00de1576a37..196280a724b 100644 --- a/xml/System.Windows.Annotations.Storage/AnnotationStore.xml +++ b/xml/System.Windows.Annotations.Storage/AnnotationStore.xml @@ -924,7 +924,7 @@ Gets the object to use as a synchronization lock for critical sections. The object to use as a synchronization lock for critical sections. To be added. - lock keyword + lock keyword diff --git a/xml/System.Windows.Controls/ItemContainerGenerator.xml b/xml/System.Windows.Controls/ItemContainerGenerator.xml index 0f5db349d8c..dd01b17e63d 100644 --- a/xml/System.Windows.Controls/ItemContainerGenerator.xml +++ b/xml/System.Windows.Controls/ItemContainerGenerator.xml @@ -155,7 +155,7 @@ ]]> - using Statement (C# Reference) + using Statement (C# Reference) Using Statement (Visual Basic) diff --git a/xml/System.Windows.Input/TouchDevice.xml b/xml/System.Windows.Input/TouchDevice.xml index fe5c6c675a4..3221e48a63a 100644 --- a/xml/System.Windows.Input/TouchDevice.xml +++ b/xml/System.Windows.Input/TouchDevice.xml @@ -33,7 +33,7 @@ You typically access a by using the property. A represents a single touch on a screen. If multiple touches are present, use the property to distinguish between them. > [!NOTE] -> This class contains an inheritance demand at the class level that applies to all members. A is thrown when the derived class does not have full-trust permission. For more information about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains an inheritance demand at the class level that applies to all members. A is thrown when the derived class does not have full-trust permission. For more information about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Windows.Shell/JumpList.xml b/xml/System.Windows.Shell/JumpList.xml index 7ce9cb82dde..dc9ed52241f 100644 --- a/xml/System.Windows.Shell/JumpList.xml +++ b/xml/System.Windows.Shell/JumpList.xml @@ -77,7 +77,7 @@ Windows Media Player Jump List > You typically create one that is attached to the and applied to the Windows shell. However, you can create multiple objects. Only one at a time can be applied to the Windows shell, and only one at a time can be associated with an . The .NET Framework does not require that these be the same . > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For more information about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For more information about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). diff --git a/xml/System.Xml.Linq/XElement.xml b/xml/System.Xml.Linq/XElement.xml index d9362523133..7e44f1344b5 100644 --- a/xml/System.Xml.Linq/XElement.xml +++ b/xml/System.Xml.Linq/XElement.xml @@ -77,12 +77,12 @@ - Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples. + Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples. , optionally one or more attributes, and can optionally contain content (for more information, see ). diff --git a/xml/System.Xml.Xsl/XslTransform.xml b/xml/System.Xml.Xsl/XslTransform.xml index 6a301d26ba3..a859f0f5877 100644 --- a/xml/System.Xml.Xsl/XslTransform.xml +++ b/xml/System.Xml.Xsl/XslTransform.xml @@ -140,7 +140,7 @@ > [!NOTE] > `msxsl:script` and `msxsl:node-list` are the only functions from the `urn:schemas-microsoft-com:xslt` namespace that are supported by the class. - has the ability to utilize common language runtime (CLR) code as an extension mechanism. This is accomplished by passing an instance of a class to the class and calling its public methods within an XSLT style sheet. Methods that are defined with the `params` keyword, which allows an unspecified number of parameters to be passed, do not work correctly in this scenario. See [params](/dotnet/csharp/language-reference/keywords/params) for more details. + has the ability to utilize common language runtime (CLR) code as an extension mechanism. This is accomplished by passing an instance of a class to the class and calling its public methods within an XSLT style sheet. Methods that are defined with the `params` keyword, which allows an unspecified number of parameters to be passed, do not work correctly in this scenario. See [params](/dotnet/csharp/language-reference/keywords/method-parameters) for more details. For more information see [XSLT Transformations with the XslTransform Class](/dotnet/standard/data/xml/xslt-transformations-with-the-xsltransform-class). diff --git a/xml/System.Xml.Xsl/XsltArgumentList.xml b/xml/System.Xml.Xsl/XsltArgumentList.xml index 0fd4020da46..9c8d4a20d0b 100644 --- a/xml/System.Xml.Xsl/XsltArgumentList.xml +++ b/xml/System.Xml.Xsl/XsltArgumentList.xml @@ -172,7 +172,7 @@ asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3727,7 +3727,7 @@ An asynchronous method was calle -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) diff --git a/xml/System.Xml/XmlReader.xml b/xml/System.Xml/XmlReader.xml index 0a0030a77b3..24e7bd62197 100644 --- a/xml/System.Xml/XmlReader.xml +++ b/xml/System.Xml/XmlReader.xml @@ -2032,7 +2032,7 @@ String dt4 = reader.GetAttribute("dt",http://www.w3.org/2000/xmlns/); -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3422,7 +3422,7 @@ public class Sample -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4119,7 +4119,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4383,7 +4383,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4533,7 +4533,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4683,7 +4683,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5365,7 +5365,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5496,7 +5496,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5744,7 +5744,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5899,7 +5899,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -6054,7 +6054,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -7393,7 +7393,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -7630,7 +7630,7 @@ An method was called before a previous asy ]]> An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -8056,7 +8056,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -8200,7 +8200,7 @@ An asynchronous method was called without ]]> An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -9212,7 +9212,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -9556,7 +9556,7 @@ If you have to get the post-schema-validation information set (PSVI) for an elem -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) diff --git a/xml/System.Xml/XmlReaderSettings.xml b/xml/System.Xml/XmlReaderSettings.xml index 674a38acf49..6cc849f941d 100644 --- a/xml/System.Xml/XmlReaderSettings.xml +++ b/xml/System.Xml/XmlReaderSettings.xml @@ -246,7 +246,7 @@ The following example creates an that uses an - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) diff --git a/xml/System.Xml/XmlResolver.xml b/xml/System.Xml/XmlResolver.xml index f2151852d5a..3297a777a91 100644 --- a/xml/System.Xml/XmlResolver.xml +++ b/xml/System.Xml/XmlResolver.xml @@ -370,7 +370,7 @@ resolver.Credentials = myCache; ]]> - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) diff --git a/xml/System.Xml/XmlWriter.xml b/xml/System.Xml/XmlWriter.xml index 5cc9f2d52f9..83b8ceefbd8 100644 --- a/xml/System.Xml/XmlWriter.xml +++ b/xml/System.Xml/XmlWriter.xml @@ -1333,7 +1333,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -1652,7 +1652,7 @@ This member might behave differently when it is used in a Portable Class Library -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2033,7 +2033,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2178,7 +2178,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2328,7 +2328,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2467,7 +2467,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2594,7 +2594,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2739,7 +2739,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -2880,7 +2880,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3045,7 +3045,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3398,7 +3398,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3518,7 +3518,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3644,7 +3644,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3774,7 +3774,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -3903,7 +3903,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4026,7 +4026,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4153,7 +4153,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4278,7 +4278,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4522,7 +4522,7 @@ while (!reader.EOF){ ]]> - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4588,7 +4588,7 @@ while (!reader.EOF){ -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4657,7 +4657,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4822,7 +4822,7 @@ writer.Close(); -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -4996,7 +4996,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5179,7 +5179,7 @@ An asynchronous method was called without ]]> - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5242,7 +5242,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5309,7 +5309,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5631,7 +5631,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5802,7 +5802,7 @@ An method was called before a previous asy ]]> - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5862,7 +5862,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -5925,7 +5925,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -6274,7 +6274,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -6475,7 +6475,7 @@ test<item>test -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -6607,7 +6607,7 @@ An asynchronous method was called without -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) @@ -7433,7 +7433,7 @@ An method was called before a previous asy -or- An asynchronous method was called without setting the flag to . In this case, is thrown with the message "Set XmlWriterSettings.Async to true if you want to use Async Methods." - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) diff --git a/xml/System.Xml/XmlWriterSettings.xml b/xml/System.Xml/XmlWriterSettings.xml index 4d8bb0a9d6d..829768df462 100644 --- a/xml/System.Xml/XmlWriterSettings.xml +++ b/xml/System.Xml/XmlWriterSettings.xml @@ -228,7 +228,7 @@ ]]> - Asynchronous programming (C#) + Asynchronous programming (C#) Asynchronous programming with Async and Await (Visual Basic) diff --git a/xml/System/Action.xml b/xml/System/Action.xml index 850a253871f..2fc9a62c6e9 100644 --- a/xml/System/Action.xml +++ b/xml/System/Action.xml @@ -84,11 +84,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Action.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/Action.vb" id="Snippet2"::: - You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Lambda.fs" id="Snippet4"::: diff --git a/xml/System/Action`1.xml b/xml/System/Action`1.xml index 26feaa8c744..929d8926159 100644 --- a/xml/System/Action`1.xml +++ b/xml/System/Action`1.xml @@ -94,11 +94,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Action1.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/Action1.vb" id="Snippet2"::: - You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions).) + You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions](/dotnet/csharp/language-reference/operators/lambda-expressions).) :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Lambda.fs" id="Snippet4"::: diff --git a/xml/System/Action`2.xml b/xml/System/Action`2.xml index 24e3c017e54..6f0f00a8496 100644 --- a/xml/System/Action`2.xml +++ b/xml/System/Action`2.xml @@ -119,11 +119,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Action2.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb" id="Snippet2"::: - You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions), or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions), or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Lambda.fs" id="Snippet4"::: diff --git a/xml/System/Action`3.xml b/xml/System/Action`3.xml index acd026ce5ed..e2f7268c225 100644 --- a/xml/System/Action`3.xml +++ b/xml/System/Action`3.xml @@ -133,11 +133,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Action3.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb" id="Snippet2"::: - You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Lambda.fs" id="Snippet4"::: diff --git a/xml/System/Action`4.xml b/xml/System/Action`4.xml index 09b9210f5ad..7908169e6e7 100644 --- a/xml/System/Action`4.xml +++ b/xml/System/Action`4.xml @@ -127,11 +127,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Action4.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb" id="Snippet2"::: - You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to an delegate instance, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) or [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Lambda.fs" id="Snippet4"::: diff --git a/xml/System/AggregateException.xml b/xml/System/AggregateException.xml index e3afabfe644..be0c1b8697d 100644 --- a/xml/System/AggregateException.xml +++ b/xml/System/AggregateException.xml @@ -82,7 +82,7 @@ is used to consolidate multiple failures into a single, throwable exception object. It is used extensively in the [Task Parallel Library (TPL)](/dotnet/standard/parallel-programming/task-parallel-library-tpl) and [Parallel LINQ (PLINQ)](/dotnet/standard/parallel-programming/parallel-linq-plinq). For more information, see [Exception Handling](/dotnet/standard/parallel-programming/exception-handling-task-parallel-library) and [How to: Handle Exceptions in a PLINQ Query](/dotnet/standard/parallel-programming/how-to-handle-exceptions-in-a-plinq-query). For additional information, see the [Aggregating Exceptions](https://learn.microsoft.com/archive/msdn-magazine/2009/brownfield/aggregating-exceptions) entry in the .NET Matters blog. + is used to consolidate multiple failures into a single, throwable exception object. It is used extensively in the [Task Parallel Library (TPL)](/dotnet/standard/parallel-programming/task-parallel-library-tpl) and [Parallel LINQ (PLINQ)](/dotnet/standard/parallel-programming/introduction-to-plinq). For more information, see [Exception Handling](/dotnet/standard/parallel-programming/exception-handling-task-parallel-library) and [How to: Handle Exceptions in a PLINQ Query](/dotnet/standard/parallel-programming/how-to-handle-exceptions-in-a-plinq-query). For additional information, see the [Aggregating Exceptions](https://learn.microsoft.com/archive/msdn-magazine/2009/brownfield/aggregating-exceptions) entry in the .NET Matters blog. diff --git a/xml/System/AppDomainManager.xml b/xml/System/AppDomainManager.xml index 889e03a7a39..0bba91cba1f 100644 --- a/xml/System/AppDomainManager.xml +++ b/xml/System/AppDomainManager.xml @@ -50,7 +50,7 @@ > Only assemblies granted `FullTrust`, such as assemblies in the global assembly cache or identified as `fullTrustAssemblies` in the method can be loaded in the constructor and the method. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands). +> This class contains a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). ## Examples The following example shows a very simple implementation of . diff --git a/xml/System/ArgumentOutOfRangeException.xml b/xml/System/ArgumentOutOfRangeException.xml index 2fceb20b211..b13a2b0990a 100644 --- a/xml/System/ArgumentOutOfRangeException.xml +++ b/xml/System/ArgumentOutOfRangeException.xml @@ -236,7 +236,7 @@ The conditions in which an exception i - if your app uses an array or collection object, consider using a thread-safe collection class, such as the types in the namespace or the out-of-band release. - - Ensure that shared state (that is, resources that can be accessed by multiple threads) is accessed in a thread-safe way, so that only one thread at a time has exclusive access to the resources. A large number of classes, such as , , , and , are available to synchronize access to resources. For more information, see [Threading](/dotnet/standard/threading/). In addition, language support is available through the [lock](/dotnet/csharp/language-reference/keywords/lock-statement) statement in C# and the [SyncLock](/dotnet/visual-basic/language-reference/statements/synclock-statement) construct in Visual Basic. + - Ensure that shared state (that is, resources that can be accessed by multiple threads) is accessed in a thread-safe way, so that only one thread at a time has exclusive access to the resources. A large number of classes, such as , , , and , are available to synchronize access to resources. For more information, see [Threading](/dotnet/standard/threading/managed-threading-basics). In addition, language support is available through the [lock](/dotnet/csharp/language-reference/statements/lock) statement in C# and the [SyncLock](/dotnet/visual-basic/language-reference/statements/synclock-statement) construct in Visual Basic. The following example addresses the and the other issues from the previous example. It replaces the object with a object to ensure that access to the collection is thread-safe, uses a object to ensure that the application thread continues only after other threads have executed, and uses a lock to ensure that only one thread can access the `msg` variable at a time. diff --git a/xml/System/Array.xml b/xml/System/Array.xml index c5e99d6a8df..211dc99058f 100644 --- a/xml/System/Array.xml +++ b/xml/System/Array.xml @@ -149,8 +149,8 @@ Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads. - Performing Culture-Insensitive String Operations in Arrays - Arrays (C# Programming Guide) + Performing Culture-Insensitive String Operations in Arrays + Arrays (C# Programming Guide) Arrays in F# Arrays in Visual Basic @@ -353,7 +353,7 @@ does not implement the interface, and the search encounters an element that does not implement the interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -464,7 +464,7 @@ - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -578,7 +578,7 @@ does not implement the interface, and the search encounters an element that does not implement the interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -707,7 +707,7 @@ - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -818,7 +818,7 @@ does not implement the generic interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -953,7 +953,7 @@ - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -1064,7 +1064,7 @@ does not implement the generic interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -1198,7 +1198,7 @@ - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -3337,7 +3337,7 @@ - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) Lambda Expressions (Visual Basic) @@ -5705,7 +5705,7 @@ is multidimensional. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -5823,7 +5823,7 @@ is multidimensional. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -5907,7 +5907,7 @@ is . - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -5997,7 +5997,7 @@ is outside the range of valid indexes for . - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6097,7 +6097,7 @@ and do not specify a valid section in . - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6471,7 +6471,7 @@ is multidimensional. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6569,7 +6569,7 @@ is multidimensional. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6681,7 +6681,7 @@ is multidimensional. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6767,7 +6767,7 @@ is . - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6857,7 +6857,7 @@ is outside the range of valid indexes for . - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -6957,7 +6957,7 @@ and do not specify a valid section in . - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -8456,7 +8456,7 @@ int[,,] TDArray = new int[1,1,1]; One or more elements in do not implement the interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -8571,7 +8571,7 @@ int[,,] TDArray = new int[1,1,1]; - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -8695,7 +8695,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -8835,7 +8835,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -8940,7 +8940,7 @@ This method is an O(`n` log `n`) operation, where `n` is the One or more elements in do not implement the interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9072,7 +9072,7 @@ This method is an O(`n` log `n`) operation, where `n` is the One or more elements in the do not implement the interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9211,7 +9211,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9377,7 +9377,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9485,7 +9485,7 @@ This method is an O(`n` log `n`) operation, where `n` is the One or more elements in do not implement the generic interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9611,7 +9611,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9717,7 +9717,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9837,7 +9837,7 @@ This method is an O(`n` log `n`) operation, where `n` is the One or more elements in do not implement the generic interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -9980,7 +9980,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -10114,7 +10114,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -10263,7 +10263,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -10412,7 +10412,7 @@ This method is an O(`n` log `n`) operation, where `n` is the One or more elements in the do not implement the generic interface. - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays @@ -10583,7 +10583,7 @@ This method is an O(`n` log `n`) operation, where `n` is the - Performing Culture-Insensitive String Operations in Arrays + Performing Culture-Insensitive String Operations in Arrays diff --git a/xml/System/ArraySegment`1+Enumerator.xml b/xml/System/ArraySegment`1+Enumerator.xml index 44a99b2241b..fd5967a023c 100644 --- a/xml/System/ArraySegment`1+Enumerator.xml +++ b/xml/System/ArraySegment`1+Enumerator.xml @@ -62,7 +62,7 @@ ## Remarks -The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) of the C# language and the [For Each...Next](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) construct in Visual Basic hides the complexity of enumerators. Instead of directly manipulating the enumerator, using `foreach` or `For Each...Next` is recommended. +The C# [foreach](/dotnet/csharp/language-reference/statements/iteration-statements) of the C# language and the [For Each...Next](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) construct in Visual Basic hides the complexity of enumerators. Instead of directly manipulating the enumerator, using `foreach` or `For Each...Next` is recommended. Initially, the enumerator is positioned before the first element in the . At this position, is undefined. You must call to advance the enumerator to the first item in the before reading the value of . diff --git a/xml/System/DuplicateWaitObjectException.xml b/xml/System/DuplicateWaitObjectException.xml index fada35fd6a2..81ebb7f2ddc 100644 --- a/xml/System/DuplicateWaitObjectException.xml +++ b/xml/System/DuplicateWaitObjectException.xml @@ -80,7 +80,7 @@ - Managed Threading + Managed Threading Handling and Throwing Exceptions diff --git a/xml/System/Func`1.xml b/xml/System/Func`1.xml index 75d28e019d2..c02e2609bcb 100644 --- a/xml/System/Func`1.xml +++ b/xml/System/Func`1.xml @@ -103,11 +103,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Func1.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Func1.vb" id="Snippet2"::: - You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions), and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword/).) + You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions), and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword/).) :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Lambda.fs" id="Snippet4"::: @@ -130,7 +130,7 @@ ]]> - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) Lambda Expressions: The fun Keyword (F#) Lambda Expressions Delegates (C# Programming Guide) diff --git a/xml/System/Func`2.xml b/xml/System/Func`2.xml index e042d8f498a..59e2fd60ded 100644 --- a/xml/System/Func`2.xml +++ b/xml/System/Func`2.xml @@ -118,11 +118,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Func2_1.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb" id="Snippet2"::: - You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Lambda.fs" id="Snippet4"::: @@ -141,7 +141,7 @@ ]]> - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) Lambda Expressions: The fun Keyword (F#) Lambda Expressions (Visual Basic) Delegates (C# Programming Guide) diff --git a/xml/System/Func`3.xml b/xml/System/Func`3.xml index 691039c8c41..c2e228b16e7 100644 --- a/xml/System/Func`3.xml +++ b/xml/System/Func`3.xml @@ -132,11 +132,11 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Func3.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb" id="Snippet2"::: - You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Lambda.fs" id="Snippet4"::: @@ -155,7 +155,7 @@ ]]> - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) Lambda Expressions: The fun Keyword (F#) Lambda Expressions Delegates (C# Programming Guide) diff --git a/xml/System/Func`4.xml b/xml/System/Func`4.xml index b873794c255..b94290d3c7e 100644 --- a/xml/System/Func`4.xml +++ b/xml/System/Func`4.xml @@ -146,11 +146,11 @@ :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Func4.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb" id="Snippet2"::: - You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Lambda.fs" id="Snippet4"::: @@ -169,7 +169,7 @@ ]]> - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) Lambda Expressions Lambda Expressions: The fun Keyword (F#) Delegates (C# Programming Guide) diff --git a/xml/System/Func`5.xml b/xml/System/Func`5.xml index f1660bafdcd..77e41f44e5b 100644 --- a/xml/System/Func`5.xml +++ b/xml/System/Func`5.xml @@ -134,11 +134,11 @@ :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.fs" id="Snippet2"::: :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb" id="Snippet2"::: - You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) + You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/language-reference/operators/delegate-operator).) :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Anon.cs" id="Snippet3"::: - You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) + You can also assign a lambda expression to a delegate, as the following example illustrates. (For an introduction to lambda expressions, see [Lambda Expressions (VB)](/dotnet/visual-basic/programming-guide/language-features/procedures/lambda-expressions), [Lambda Expressions (C#)](/dotnet/csharp/language-reference/operators/lambda-expressions) and [Lambda Expressions (F#)](/dotnet/fsharp/language-reference/functions/lambda-expressions-the-fun-keyword).) :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.fs" id="Snippet4"::: @@ -157,7 +157,7 @@ ]]> - Lambda Expressions (C# Programming Guide) + Lambda Expressions (C# Programming Guide) Lambda Expressions: The fun Keyword (F#) Lambda Expressions Delegates (C# Programming Guide) diff --git a/xml/System/IndexOutOfRangeException.xml b/xml/System/IndexOutOfRangeException.xml index 0a3c2c95bc3..d2d8674ae88 100644 --- a/xml/System/IndexOutOfRangeException.xml +++ b/xml/System/IndexOutOfRangeException.xml @@ -166,7 +166,7 @@ Using hard-coded index values to manipulate an array is likely to throw an exception if the index value is incorrect or invalid, or if the size of the array being manipulation is unexpected. To prevent an operation from throwing an exception, you can do the following: -- Iterate the elements of the array using the [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statement (in C#), the [for...in](/dotnet/fsharp/language-reference/loops-for-in-expression) statement (in F#), or the [For Each...Next](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) construct (in Visual Basic) instead of iterating elements by index. +- Iterate the elements of the array using the [foreach](/dotnet/csharp/language-reference/statements/iteration-statements) statement (in C#), the [for...in](/dotnet/fsharp/language-reference/loops-for-in-expression) statement (in F#), or the [For Each...Next](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) construct (in Visual Basic) instead of iterating elements by index. - Iterate the elements by index starting with the index returned by the method and ending with the index returned by the method. diff --git a/xml/System/IntPtr.xml b/xml/System/IntPtr.xml index c32ec01b7b6..eab97b22c80 100644 --- a/xml/System/IntPtr.xml +++ b/xml/System/IntPtr.xml @@ -278,7 +278,7 @@ This type implements the . In .NET 5 and later versions, this type also implements the interfaces. In .NET 7 and later versions, this type also implements the , , and interfaces. - In C# starting from version 9.0, you can use the built-in `nint` type to define native-sized integers. This type is represented by the type internally and provides operations and conversions that are appropriate for integer types. For more information, see [nint and nuint types](/dotnet/csharp/language-reference/builtin-types/nint-nuint). + In C# starting from version 9.0, you can use the built-in `nint` type to define native-sized integers. This type is represented by the type internally and provides operations and conversions that are appropriate for integer types. For more information, see [nint and nuint types](/dotnet/csharp/language-reference/builtin-types/integral-numeric-types). In C# starting from version 11 and when targeting the .NET 7 or later runtime, `nint` is an alias for in the same way that `int` is an alias for . diff --git a/xml/System/Math.xml b/xml/System/Math.xml index 84a53fe4994..2f6c333de98 100644 --- a/xml/System/Math.xml +++ b/xml/System/Math.xml @@ -3451,7 +3451,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 method. @@ -3529,7 +3529,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 method. @@ -3987,7 +3987,7 @@ Dim i2 As Integer = CInt(Math.Floor(d2)) ' Result: 7968 ## Remarks This operation complies with the remainder operation defined in Section 5.1 of ANSI/IEEE Std 754-1985; IEEE Standard for Binary Floating-Point Arithmetic; Institute of Electrical and Electronics Engineers, Inc; 1985. - The method is not the same as the [remainder operator](/dotnet/csharp/language-reference/operators/remainder-operator). Although both return the remainder after division, the formulas they use are different. The formula for the method is: + The method is not the same as the [remainder operator](/dotnet/csharp/language-reference/operators/arithmetic-operators). Although both return the remainder after division, the formulas they use are different. The formula for the method is: ```txt IEEERemainder = dividend - (divisor * Math.Round(dividend / divisor)) @@ -4004,7 +4004,7 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * ## Examples - The following example contrasts the remainder returned by the method with the remainder returned by the [remainder operator](/dotnet/csharp/language-reference/operators/remainder-operator). + The following example contrasts the remainder returned by the method with the remainder returned by the [remainder operator](/dotnet/csharp/language-reference/operators/arithmetic-operators). :::code language="csharp" source="~/snippets/csharp/System/Math/IEEERemainder/ieeeremainder1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/IEEERemainder/ieeeremainder1.fs" id="Snippet1"::: diff --git a/xml/System/MathF.xml b/xml/System/MathF.xml index 266e229b472..11f5cb42c8f 100644 --- a/xml/System/MathF.xml +++ b/xml/System/MathF.xml @@ -1237,7 +1237,7 @@ The value of this constant is 2.71828175. ## Remarks This operation complies with the remainder operation defined in Section 5.1 of ANSI/IEEE Std 754-1985; IEEE Standard for Binary Floating-Point Arithmetic; Institute of Electrical and Electronics Engineers, Inc; 1985. - The method is not the same as the [remainder operator](/dotnet/csharp/language-reference/operators/remainder-operator). Although both return the remainder after division, the formulas they use are different. The formula for the method is: + The method is not the same as the [remainder operator](/dotnet/csharp/language-reference/operators/arithmetic-operators). Although both return the remainder after division, the formulas they use are different. The formula for the method is: ```txt IEEERemainder = dividend - (divisor * MathF.Round(dividend / divisor)) diff --git a/xml/System/NullReferenceException.xml b/xml/System/NullReferenceException.xml index 1770c4f4a94..cebd9fc1833 100644 --- a/xml/System/NullReferenceException.xml +++ b/xml/System/NullReferenceException.xml @@ -79,7 +79,7 @@ A exception is thrown when you try to access a member on a type whose value is `null`. A exception typically reflects developer error and is thrown in the following scenarios: > [!NOTE] -> You can avoid most `NullReferenceException` exceptions in C# by using the [null-conditional operator](/dotnet/csharp/language-reference/operators/null-conditional-operator) (`?.`) or the [null-coalescing operator](/dotnet/csharp/language-reference/operators/null-coalescing-operator) (`??`). For more information, see [Nullable reference types](/dotnet/csharp/whats-new/csharp-8#nullable-reference-types). The following C# examples assume the nullable context is disabled (not recommended). +> You can avoid most `NullReferenceException` exceptions in C# by using the [null-conditional operator](/dotnet/csharp/language-reference/operators/null-coalescing-operator) (`?.`) or the [null-coalescing operator](/dotnet/csharp/language-reference/operators/null-coalescing-operator) (`??`). For more information, see [Nullable reference types](/dotnet/csharp/whats-new/csharp-version-history). The following C# examples assume the nullable context is disabled (not recommended). - You forgot to instantiate a reference type. In the following example, `names` is declared but never instantiated (the affected line is commented out in the C# example since it doesn't compile): @@ -105,7 +105,7 @@ A exception is thrown when you try to acces :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array4.fs" id="Snippet11"::: :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb" id="Snippet11"::: - For more information on declaring and initializing arrays, see [Arrays](/dotnet/csharp/programming-guide/arrays/) and [Arrays](/dotnet/visual-basic/programming-guide/language-features/arrays/). + For more information on declaring and initializing arrays, see [Arrays](/dotnet/csharp/language-reference/builtin-types/arrays) and [Arrays](/dotnet/visual-basic/programming-guide/language-features/arrays/). - You get a **null** return value from a method, and then call a method on the returned type. This sometimes is the result of a documentation error; the documentation fails to note that a method call can return `null`. In other cases, your code erroneously assumes that the method will always return a non-null value. diff --git a/xml/System/Nullable`1.xml b/xml/System/Nullable`1.xml index ed170ec7b8b..f70bbfa76e1 100644 --- a/xml/System/Nullable`1.xml +++ b/xml/System/Nullable`1.xml @@ -345,7 +345,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s method returns a value even if the property is `false` (unlike the property, which throws an exception). If the property is `false`, the method returns the [default](/dotnet/csharp/language-reference/keywords/default-values-table) value of the underlying type. + The method returns a value even if the property is `false` (unlike the property, which throws an exception). If the property is `false`, the method returns the [default](/dotnet/csharp/language-reference/builtin-types/default-values) value of the underlying type. ]]> diff --git a/xml/System/ReadOnlySpan`1+Enumerator.xml b/xml/System/ReadOnlySpan`1+Enumerator.xml index 68aa6bd492e..19aeb5e63f4 100644 --- a/xml/System/ReadOnlySpan`1+Enumerator.xml +++ b/xml/System/ReadOnlySpan`1+Enumerator.xml @@ -97,7 +97,7 @@ ## Remarks -The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) of the C# language and the [For Each...Next](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) construct in Visual Basic hides the complexity of enumerators. Instead of directly manipulating the enumerator, using `foreach` or `For Each...Next` is recommended. +The C# [foreach](/dotnet/csharp/language-reference/statements/iteration-statements) of the C# language and the [For Each...Next](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) construct in Visual Basic hides the complexity of enumerators. Instead of directly manipulating the enumerator, using `foreach` or `For Each...Next` is recommended. Initially, the enumerator is positioned before the first element in the . At this position, is undefined. You must call to advance the enumerator to the first item in the before reading the value of . diff --git a/xml/System/Span`1+Enumerator.xml b/xml/System/Span`1+Enumerator.xml index 0d7259bf0d6..442ddc8117c 100644 --- a/xml/System/Span`1+Enumerator.xml +++ b/xml/System/Span`1+Enumerator.xml @@ -95,7 +95,7 @@ . At this position, is undefined. You must call to advance the enumerator to the first item in the before reading the value of . @@ -115,7 +115,7 @@ If you synchronize access to the array before enumerating the span, as the revis Unlike some other enumerator structures in .NET, the : -- Does not implement the or interface. This is because is a [ref struct](/dotnet/csharp/reference-semantics-with-value-types#ref-struct-type). +- Does not implement the or interface. This is because is a [ref struct](/dotnet/csharp/advanced-topics/performance/). - Does not include a `Reset` method, which can set the enumerator to its initial position before the first element in the span. (The method must be implemented as part of the interface, but most implementors either throw an exception or provide no implementation.) diff --git a/xml/System/String.xml b/xml/System/String.xml index 4db1819ab6a..d41217186a7 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -6797,7 +6797,7 @@ The index of a format item is less than zero, or greater than two. ## Remarks > [!TIP] -> Rather than calling the method to retrieve a object that you then use to enumerate a string, you should instead use your language's iteration construct. Examples include [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) in C#, [for..in](/dotnet/fsharp/language-reference/loops-for-in-expression) in F#, and [For Each](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) in Visual Basic). +> Rather than calling the method to retrieve a object that you then use to enumerate a string, you should instead use your language's iteration construct. Examples include [foreach](/dotnet/csharp/language-reference/statements/iteration-statements) in C#, [for..in](/dotnet/fsharp/language-reference/loops-for-in-expression) in F#, and [For Each](/dotnet/visual-basic/language-reference/statements/for-each-next-statement) in Visual Basic). This method enables you to iterate the individual characters in a string. For example, the Visual Basic `For Each`, the F# `for..in` expression, and C# `foreach` statements invoke this method to return a object that can provide read-only access to the characters in this string instance. diff --git a/xml/System/ThreadStaticAttribute.xml b/xml/System/ThreadStaticAttribute.xml index a7aaa411f85..44dcda21884 100644 --- a/xml/System/ThreadStaticAttribute.xml +++ b/xml/System/ThreadStaticAttribute.xml @@ -95,7 +95,7 @@ The following example code demonstrates how to use the `ThreadStaticAttribute` t Extending Metadata Using Attributes - Managed Threading + Managed Threading diff --git a/xml/System/Type.xml b/xml/System/Type.xml index 8b572a68f81..59cf598e843 100644 --- a/xml/System/Type.xml +++ b/xml/System/Type.xml @@ -380,7 +380,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -1678,7 +1678,7 @@ The `filter` argument can be a custom delegate of type - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -9063,7 +9063,7 @@ The following example retrieves the `Type` object of a user-defined class, retri To be added. A class initializer is invoked and throws an exception. - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -9272,7 +9272,7 @@ Type.GetType("System.Collections.Generic.Dictionary`2[System.String,[MyType,MyAs - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -9506,7 +9506,7 @@ Type.GetType("System.Collections.Generic.Dictionary`2[System.String,[MyType,MyAs - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -9731,7 +9731,7 @@ Type.GetType("System.Collections.Generic.Dictionary`2[System.String,[MyType,MyAs - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -17117,7 +17117,7 @@ The following example uses the method to cre - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names @@ -17423,7 +17423,7 @@ The following example uses the method to cre - Specifying Fully Qualified Type Names + Specifying Fully Qualified Type Names How to: Load Assemblies into the Reflection-Only Context diff --git a/xml/System/UIntPtr.xml b/xml/System/UIntPtr.xml index 592b32559af..36e16c89f94 100644 --- a/xml/System/UIntPtr.xml +++ b/xml/System/UIntPtr.xml @@ -280,7 +280,7 @@ This type implements the . In .NET 5 and later versions, this type also implements the interfaces. In .NET 7 and later versions, this type also implements the , , and interfaces. - In C# starting from version 9.0, you can use the built-in `nuint` type to define native-sized integers. This type is represented by the type internally and provides operations and conversions that are appropriate for integer types. For more information, see [nint and nuint types](/dotnet/csharp/language-reference/builtin-types/nint-nuint). + In C# starting from version 9.0, you can use the built-in `nuint` type to define native-sized integers. This type is represented by the type internally and provides operations and conversions that are appropriate for integer types. For more information, see [nint and nuint types](/dotnet/csharp/language-reference/builtin-types/integral-numeric-types). In C# starting from version 11 and when targeting the .NET 7 or later runtime, `nuint` is an alias for in the same way that `uint` is an alias for . From 2a24c154343db73bf1153ada4d975eda2f55edf5 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 23 Apr 2026 16:36:33 -0700 Subject: [PATCH 3/6] remove /previous-versions links --- xml/System.CodeDom.Compiler/CodeCompiler.xml | 2 +- .../CodeDomProvider.xml | 2 +- xml/System.CodeDom.Compiler/CodeGenerator.xml | 2 +- .../CodeGeneratorOptions.xml | 2 +- xml/System.CodeDom.Compiler/CodeParser.xml | 2 +- xml/System.CodeDom.Compiler/CompilerInfo.xml | 4 +- .../CompilerParameters.xml | 4 +- xml/System.CodeDom.Compiler/Executor.xml | 24 ++--- .../IndentedTextWriter.xml | 2 +- .../TempFileCollection.xml | 2 +- xml/System.Diagnostics/FileVersionInfo.xml | 4 +- xml/System.Diagnostics/Process.xml | 2 +- xml/System.Diagnostics/ProcessStartInfo.xml | 2 +- .../BaseChannelObjectWithProperties.xml | 2 +- .../BaseChannelSinkWithProperties.xml | 2 +- .../BaseChannelWithProperties.xml | 2 +- .../ChannelDataStore.xml | 2 +- .../ClientChannelSinkStack.xml | 4 +- .../ServerChannelSinkStack.xml | 4 +- .../TransportHeaders.xml | 2 +- .../SynchronizationAttribute.xml | 2 +- .../ClientSponsor.xml | 2 +- .../LifetimeServices.xml | 4 +- .../CallContext.xml | 4 +- .../LogicalCallContext.xml | 4 +- .../RemotingSurrogateSelector.xml | 2 +- .../ReturnMessage.xml | 2 +- .../ProxyAttribute.xml | 2 +- .../RealProxy.xml | 2 +- .../EnterpriseServicesHelper.xml | 4 +- .../ITrackingHandler.xml | 101 +++++++++--------- .../TrackingServices.xml | 100 +++++++++-------- xml/System.Runtime.Remoting/ObjRef.xml | 2 +- xml/System.Runtime.Remoting/SoapServices.xml | 4 +- .../FormatterServices.xml | 2 +- .../HostProtectionAttribute.xml | 1 - .../SecurityAction.xml | 2 +- xml/System/AppDomainManager.xml | 8 +- 38 files changed, 149 insertions(+), 171 deletions(-) diff --git a/xml/System.CodeDom.Compiler/CodeCompiler.xml b/xml/System.CodeDom.Compiler/CodeCompiler.xml index 00f711d0612..fae837e63eb 100644 --- a/xml/System.CodeDom.Compiler/CodeCompiler.xml +++ b/xml/System.CodeDom.Compiler/CodeCompiler.xml @@ -44,7 +44,7 @@ is a useful utility base class for code generators to derive from in order to provide code compilation functions. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. ]]> diff --git a/xml/System.CodeDom.Compiler/CodeDomProvider.xml b/xml/System.CodeDom.Compiler/CodeDomProvider.xml index 7f0d2039136..617f2f1f098 100644 --- a/xml/System.CodeDom.Compiler/CodeDomProvider.xml +++ b/xml/System.CodeDom.Compiler/CodeDomProvider.xml @@ -59,7 +59,7 @@ For more details on language provider settings in the configuration file, see [Compiler and Language Provider Settings Schema](/dotnet/framework/configure-apps/file-schema/compiler/). > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown if either the immediate caller or the derived class does not have full trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown if either the immediate caller or the derived class does not have full trust permission. diff --git a/xml/System.CodeDom.Compiler/CodeGenerator.xml b/xml/System.CodeDom.Compiler/CodeGenerator.xml index d804b96b5f1..a83b0b1414e 100644 --- a/xml/System.CodeDom.Compiler/CodeGenerator.xml +++ b/xml/System.CodeDom.Compiler/CodeGenerator.xml @@ -44,7 +44,7 @@ This is a useful base class for code generators to derive from. Code generators are capable of rendering source code in a specific language according to the structure of a Code Document Object Model (CodeDOM) graph. This class provides many functions and methods to generate specific types of code from a CodeDOM graph. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. ]]> diff --git a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml index 707c840f86c..e7fac11673b 100644 --- a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml +++ b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml @@ -44,7 +44,7 @@ An implementation can provide custom code generation options which you can set or pass data to using the dictionary indexer, which a code generator can search through to locate additional code generation options. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. diff --git a/xml/System.CodeDom.Compiler/CodeParser.xml b/xml/System.CodeDom.Compiler/CodeParser.xml index 163232e68dc..8d1c4d26cbc 100644 --- a/xml/System.CodeDom.Compiler/CodeParser.xml +++ b/xml/System.CodeDom.Compiler/CodeParser.xml @@ -44,7 +44,7 @@ Developers who build compilers can implement this interface to support code parsing by designers. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. ]]> diff --git a/xml/System.CodeDom.Compiler/CompilerInfo.xml b/xml/System.CodeDom.Compiler/CompilerInfo.xml index 6974bc0f9fd..a8ba04be442 100644 --- a/xml/System.CodeDom.Compiler/CompilerInfo.xml +++ b/xml/System.CodeDom.Compiler/CompilerInfo.xml @@ -47,9 +47,7 @@ For more details on language provider settings in the configuration file, see [Compiler and Language Provider Settings Schema](/dotnet/framework/configure-apps/file-schema/compiler/). > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For details about link demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). - - +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. ## Examples The following code example displays language provider configuration settings. Command-line arguments are used to specify a language, file name extension, or provider type. For the given input, the example determines the corresponding language provider and displays the configured language compiler settings. diff --git a/xml/System.CodeDom.Compiler/CompilerParameters.xml b/xml/System.CodeDom.Compiler/CompilerParameters.xml index 74e9c2d478d..e75a12a8d70 100644 --- a/xml/System.CodeDom.Compiler/CompilerParameters.xml +++ b/xml/System.CodeDom.Compiler/CompilerParameters.xml @@ -61,7 +61,7 @@ To specify a custom command-line arguments string to use when invoking the compilation process, set the string in the property. If a Win32 security token is required to invoke the compiler process, specify the token in the property. To include .NET Framework resource files in the compiled assembly, add the names of the resource files to the property. To reference .NET Framework resources in another assembly, add the names of the resource files to the property. To include a Win32 resource file in the compiled assembly, specify the name of the Win32 resource file in the property. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. ## Examples The following example builds a CodeDOM source graph for a simple Hello World program. The source is then saved to a file, compiled into an executable, and run. The `CompileCode` method illustrates how to use the class to specify various compiler settings and options. @@ -903,7 +903,7 @@ An typically includes this string o The temporary files in the collection are retained or deleted upon the completion of compiler activity based on the value of the property in the collection. The property is set if the collection is created using the constructor with the `keepFiles` parameter set to `true`. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. diff --git a/xml/System.CodeDom.Compiler/Executor.xml b/xml/System.CodeDom.Compiler/Executor.xml index 39f845c7021..5a19cdb0d9c 100644 --- a/xml/System.CodeDom.Compiler/Executor.xml +++ b/xml/System.CodeDom.Compiler/Executor.xml @@ -38,14 +38,14 @@ Provides command execution functions for invoking compilers. This class cannot be inherited. - implementation. - + implementation. + > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For more information, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). - +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. + ]]> @@ -190,11 +190,11 @@ Executes the specified command using the specified user token and temporary files, and waits for the call to return, storing output and error information from the compiler in the specified strings. The return value from the compiler. - diff --git a/xml/System.CodeDom.Compiler/IndentedTextWriter.xml b/xml/System.CodeDom.Compiler/IndentedTextWriter.xml index 7496d06bf4a..74bf268c1a9 100644 --- a/xml/System.CodeDom.Compiler/IndentedTextWriter.xml +++ b/xml/System.CodeDom.Compiler/IndentedTextWriter.xml @@ -83,7 +83,7 @@ The tab string is the string that each indentation consists of. Typically the tab string contains white space. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. diff --git a/xml/System.CodeDom.Compiler/TempFileCollection.xml b/xml/System.CodeDom.Compiler/TempFileCollection.xml index 8b57db62e2a..82cb9861722 100644 --- a/xml/System.CodeDom.Compiler/TempFileCollection.xml +++ b/xml/System.CodeDom.Compiler/TempFileCollection.xml @@ -71,7 +71,7 @@ The property indicates a full path to the base file name, without a file name extension, used to generate the file names returned by the method. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. diff --git a/xml/System.Diagnostics/FileVersionInfo.xml b/xml/System.Diagnostics/FileVersionInfo.xml index 7dc1b65f81b..9328d5160c3 100644 --- a/xml/System.Diagnostics/FileVersionInfo.xml +++ b/xml/System.Diagnostics/FileVersionInfo.xml @@ -73,9 +73,7 @@ Version resources are typically specified in a Win32 resource file, or in assembly attributes. For example the property reflects the `VS_FF_DEBUG` flag value in the file's `VS_FIXEDFILEINFO` block, which is built from the `VERSIONINFO` resource in a Win32 resource file. For more information about specifying version resources in a Win32 resource file, see "About Resource Files" and "VERSIONINFO Resource" in the Platform SDK. For more information about specifying version resources in a .NET module, see the [Setting Assembly Attributes](/dotnet/standard/assembly/set-attributes) topic. > [!NOTE] -> This class makes a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full trust permission. For details about link demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). - - +> This class makes a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full trust permission. ## Examples The following example calls to get the for the Notepad. Then it prints the file description and version number to the console. diff --git a/xml/System.Diagnostics/Process.xml b/xml/System.Diagnostics/Process.xml index 32be93b510c..6278cda39c1 100644 --- a/xml/System.Diagnostics/Process.xml +++ b/xml/System.Diagnostics/Process.xml @@ -119,7 +119,7 @@ On macOS, the following properties return 0: - > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level that applies to all members. A is thrown when either the immediate caller or the derived class does not have full-trust permission. ## .NET Core Notes diff --git a/xml/System.Diagnostics/ProcessStartInfo.xml b/xml/System.Diagnostics/ProcessStartInfo.xml index ab5562f790c..ccad2fb0b56 100644 --- a/xml/System.Diagnostics/ProcessStartInfo.xml +++ b/xml/System.Diagnostics/ProcessStartInfo.xml @@ -75,7 +75,7 @@ [!INCLUDE [untrusted-data-instance-note](~/includes/untrusted-data-instance-note.md)] > [!NOTE] -> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand at the class level that applies to all members. A is thrown when the immediate caller does not have full-trust permission. ## Examples The following code example demonstrates how to use the class to start Internet Explorer. The destination URLs are provided as arguments. diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml index 0037f73ad6e..a374f5dcdcc 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml @@ -48,7 +48,7 @@ handles the complex task of asking a channel object for its properties. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml index c379653061e..986fe1df95c 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml @@ -34,7 +34,7 @@ ## Remarks Channel sinks provide a plug-in point that allows access to the underlying messages that are flowing through the channel as well as the stream that is used by the transport mechanism to send messages to a remote object. Channel sinks are linked together in a chain of channel sink providers, and all channel messages flow through this chain of sinks before the message is serialized and transported. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml index b1c2ffb871a..35c1f30d7ac 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelWithProperties.xml @@ -37,7 +37,7 @@ The class handles the complexity of asking the sinks in a channel sink chain for their properties. After the channel constructs its sink chain (if applicable), it must set the property. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml b/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml index a2fcf661684..9c0ee465fc9 100644 --- a/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml +++ b/xml/System.Runtime.Remoting.Channels/ChannelDataStore.xml @@ -40,7 +40,7 @@ is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml b/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml index 1c5866d8315..10bef0775f5 100644 --- a/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml +++ b/xml/System.Runtime.Remoting.Channels/ClientChannelSinkStack.xml @@ -39,9 +39,7 @@ + This class makes a link demand. A security exception is thrown if the immediate caller does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml b/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml index 9c54d370eaf..03f4d22316b 100644 --- a/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml +++ b/xml/System.Runtime.Remoting.Channels/ServerChannelSinkStack.xml @@ -39,9 +39,7 @@ + This class makes a link demand. A security exception is thrown if the immediate caller does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml b/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml index 3f8d89a4822..8293a465686 100644 --- a/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml +++ b/xml/System.Runtime.Remoting.Channels/TransportHeaders.xml @@ -42,7 +42,7 @@ ## Remarks You can use the `foreach` statement to iterate over the contents of the header list that contains objects of type . Keys to the headers are required to be strings, and comparisons are done on a case-insensitive basis. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml b/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml index 080ebfe2d5c..bae459faa57 100644 --- a/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml +++ b/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml @@ -53,7 +53,7 @@ > There are two classes named `SynchronizationAttribute` : one in the namespace, and the other in the namespace. The class supports only synchronous calls, and can be used only with serviced components. The supports both synchronous and asynchronous calls, and can be used only with context bound objects. (For more information on context bound objects, see the class.) > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml b/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml index 51ff42482c3..98e5d736149 100644 --- a/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml +++ b/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml @@ -39,7 +39,7 @@ The current lifetime sponsor implementation can be used to sponsor objects by specifying the required renewal . > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml b/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml index 7c3774909db..a589417f1ad 100644 --- a/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml +++ b/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml @@ -37,9 +37,7 @@ The lifetime service associates a lease with each remotely activated object. When the lease expires, the object is removed. > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. - - +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/CPP/server.cpp" id="Snippet2"::: diff --git a/xml/System.Runtime.Remoting.Messaging/CallContext.xml b/xml/System.Runtime.Remoting.Messaging/CallContext.xml index 3cb87452c78..8f071a4b856 100644 --- a/xml/System.Runtime.Remoting.Messaging/CallContext.xml +++ b/xml/System.Runtime.Remoting.Messaging/CallContext.xml @@ -44,9 +44,7 @@ > All methods in are static and operate on the call context in the current . > [!NOTE] -> This class makes a link demand. A `SecurityException` is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. - - +> This class makes a link demand. A `SecurityException` is thrown if the immediate caller does not have infrastructure permission. ## Examples The following code example demonstrates the use of the class to transmit [Principal and Identity Objects](/dotnet/standard/security/principal-and-identity-objects) to a remote location for identification. To view the code for the `LogicalCallContextData` class used in this sample, see the example for the interface. To view the code for the `HelloServiceClass` class used in this sample, see the example for the method. To view the code for the server class used in this sample, see the example for the class. diff --git a/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml b/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml index f8096f8e33a..8a9506eab21 100644 --- a/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml +++ b/xml/System.Runtime.Remoting.Messaging/LogicalCallContext.xml @@ -48,9 +48,7 @@ When a remote method call is made to an object in another , the class generates a that travels along with the remote call. Only objects that expose the interface and are stored in the are propagated outside the in a . Objects that do not support this interface are not transmitted in instances with remote method calls. > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. - - ]]> +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml b/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml index 0a6bd775455..9737729121f 100644 --- a/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml +++ b/xml/System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.xml @@ -41,7 +41,7 @@ During serialization for remoting purposes of a , the remoting surrogate creates an that contains all the relevant information required to activate and communicate with the remote object. The newly created can then be sent to a remote location and used to create a proxy. > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml b/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml index 5c54d140927..6d7c33b2c6f 100644 --- a/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml @@ -44,7 +44,7 @@ ## Remarks > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml b/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml index dfb35c92e25..a0ccb71c735 100644 --- a/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml +++ b/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml @@ -43,7 +43,7 @@ Apply the current attribute to types that need custom proxies. You can use the ProxyAttribute class to intercept the `new` (`New` in Visual Basic) statement by deriving from the ProxyAttribute and placing the attribute on a child of `ContextBoundObject`. (Placing the proxy attribute on a child of `MarshalByRefObject` is not supported.) > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Proxies/RealProxy.xml b/xml/System.Runtime.Remoting.Proxies/RealProxy.xml index 1be94963f26..da22d5b776e 100644 --- a/xml/System.Runtime.Remoting.Proxies/RealProxy.xml +++ b/xml/System.Runtime.Remoting.Proxies/RealProxy.xml @@ -42,7 +42,7 @@ A proxy object can be used without regard to any remoting subdivisions within a . > [!NOTE] -> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml b/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml index f60136a91e0..d2d19cf0ede 100644 --- a/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml +++ b/xml/System.Runtime.Remoting.Services/EnterpriseServicesHelper.xml @@ -34,9 +34,7 @@ ## Remarks > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. - - ]]> +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. ]]> diff --git a/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml b/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml index 87cdd296ce9..37076ad647e 100644 --- a/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml +++ b/xml/System.Runtime.Remoting.Services/ITrackingHandler.xml @@ -22,37 +22,36 @@ Indicates that the implementing object must be notified of marshaling, unmarshaling, and disconnection of objects and proxies by the remoting infrastructure. - is called by remoting when an object or proxy in the current is marshaled, unmarshaled, or disconnected. - - Note that only objects can be disconnected. An exception is thrown when disconnect is called on a proxy. - + is called by remoting when an object or proxy in the current is marshaled, unmarshaled, or disconnected. + +Only objects can be disconnected. An exception is thrown when disconnect is called on a proxy. + > [!NOTE] -> This interface makes a link demand. A SecurityException is thrown if the immediate caller makes the call through a reference to the interface and does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. - - - -## Examples - The following code example shows how to implement the methods of the interface to receive notifications from the remoting infrastructure. - - The following code example shows how to implement this interface. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet30"::: - - The following code example shows how to implement this interface on a server. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet20"::: - - The following code example shows how to implement this interface on a client for the server in the preceding code example. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/client.cs" id="Snippet0"::: - - The following code example shows the remote object that is used by the server and the client. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/remoteservice.cs" id="Snippet10"::: - +> This interface makes a link demand. A SecurityException is thrown if the immediate caller makes the call through a reference to the interface and does not have infrastructure permission. + +## Examples + The following code example shows how to implement the methods of the interface to receive notifications from the remoting infrastructure. + + The following code example shows how to implement this interface. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet30"::: + + The following code example shows how to implement this interface on a server. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet20"::: + + The following code example shows how to implement this interface on a client for the server in the preceding code example. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/client.cs" id="Snippet0"::: + + The following code example shows the remote object that is used by the server and the client. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/remoteservice.cs" id="Snippet10"::: + ]]> @@ -87,13 +86,13 @@ The disconnected object. Notifies the current instance that an object has been disconnected from its proxy. - interface. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet33"::: - + interface. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet33"::: + ]]> @@ -130,13 +129,13 @@ The that results from marshaling and represents the specified object. Notifies the current instance that an object has been marshaled. - interface. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet31"::: - + interface. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet31"::: + ]]> @@ -173,13 +172,13 @@ The that represents the specified object. Notifies the current instance that an object has been unmarshaled. - interface. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet32"::: - + interface. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet32"::: + ]]> diff --git a/xml/System.Runtime.Remoting.Services/TrackingServices.xml b/xml/System.Runtime.Remoting.Services/TrackingServices.xml index bc21f96274a..889c3dc8acb 100644 --- a/xml/System.Runtime.Remoting.Services/TrackingServices.xml +++ b/xml/System.Runtime.Remoting.Services/TrackingServices.xml @@ -29,37 +29,35 @@ Provides a way to register, unregister, and obtain a list of tracking handlers. - interface, indicating that they must be notified whenever the remoting infrastructure marshals, unmarshals, or disconnects an object or proxy. Every object that is registered with is called by remoting when an object or proxy in the current is marshaled, unmarshaled, or disconnected. - - All methods in the class are static and operate on the tracking handlers in the current . - + interface, indicating that they must be notified whenever the remoting infrastructure marshals, unmarshals, or disconnects an object or proxy. Every object that is registered with is called by remoting when an object or proxy in the current is marshaled, unmarshaled, or disconnected. + + All methods in the class are static and operate on the tracking handlers in the current . + > [!NOTE] -> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) for more information. - - - -## Examples - The following code example shows how to use the methods of the class to register and unregister tracking handlers. - - The following code example shows how to implement a tracking handler. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet30"::: - - The following code example shows how to implement this class on a server. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet20"::: - - The following code example shows how to implement this class on a client for the server in the preceding code example. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/client.cs" id="Snippet0"::: - - The following code example shows the remote object that is used by the server and the client. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/remoteservice.cs" id="Snippet10"::: - +> This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. + +## Examples + The following code example shows how to use the methods of the class to register and unregister tracking handlers. + + The following code example shows how to implement a tracking handler. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/trackinghandler.cs" id="Snippet30"::: + + The following code example shows how to implement this class on a server. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet20"::: + + The following code example shows how to implement this class on a client for the server in the preceding code example. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/client.cs" id="Snippet0"::: + + The following code example shows the remote object that is used by the server and the client. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/remoteservice.cs" id="Snippet10"::: + ]]> @@ -111,13 +109,13 @@ Gets an array of the tracking handlers that are currently registered with in the current . An array of the tracking handlers that are currently registered with in the current . - class. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet22"::: - + class. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet22"::: + ]]> @@ -152,13 +150,13 @@ The tracking handler to register. Registers a new tracking handler with the . - class. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet21"::: - + class. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet21"::: + ]]> @@ -196,13 +194,13 @@ The handler to unregister. Unregisters the specified tracking handler from . - class. - - :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet23"::: - + class. + + :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Services/ITrackingHandler/Overview/server.cs" id="Snippet23"::: + ]]> diff --git a/xml/System.Runtime.Remoting/ObjRef.xml b/xml/System.Runtime.Remoting/ObjRef.xml index 0a49e26f03a..fe9d1735f4c 100644 --- a/xml/System.Runtime.Remoting/ObjRef.xml +++ b/xml/System.Runtime.Remoting/ObjRef.xml @@ -53,7 +53,7 @@ A proxy object can be used without regard to any remoting subdivisions within a . Applications need not distinguish between proxy references and object references. However, service providers dealing with issues such as activation, lifetime management, and transactions need to make such distinctions. - This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). + This class makes a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. diff --git a/xml/System.Runtime.Remoting/SoapServices.xml b/xml/System.Runtime.Remoting/SoapServices.xml index db2e1a2b124..7478036b904 100644 --- a/xml/System.Runtime.Remoting/SoapServices.xml +++ b/xml/System.Runtime.Remoting/SoapServices.xml @@ -32,9 +32,7 @@ class to convert between a object and an XML type. diff --git a/xml/System.Runtime.Serialization/FormatterServices.xml b/xml/System.Runtime.Serialization/FormatterServices.xml index 60b009b2261..da38b131191 100644 --- a/xml/System.Runtime.Serialization/FormatterServices.xml +++ b/xml/System.Runtime.Serialization/FormatterServices.xml @@ -257,7 +257,7 @@ ## Remarks Because the new instance of the object is initialized to zero and no constructors are run, the object might not represent a state that is regarded as valid by that object. should only be used for deserialization when the user intends to immediately populate all fields. It does not create an uninitialized string, since creating an empty instance of an immutable type serves no purpose. - converts all class level [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands) to Demands to ensure that all direct and indirect callers have the permissions that the demand specifies. Use to increase the level of security when deserializing from a partially trusted source. For better performance in full trust scenarios, use . + converts all class level Link Demands to Demands to ensure that all direct and indirect callers have the permissions that the demand specifies. Use to increase the level of security when deserializing from a partially trusted source. For better performance in full trust scenarios, use . ]]> diff --git a/xml/System.Security.Permissions/HostProtectionAttribute.xml b/xml/System.Security.Permissions/HostProtectionAttribute.xml index 249c028c0fc..128a9fc5e42 100644 --- a/xml/System.Security.Permissions/HostProtectionAttribute.xml +++ b/xml/System.Security.Permissions/HostProtectionAttribute.xml @@ -81,7 +81,6 @@ ]]> Extending Metadata Using Attributes - Link Demands diff --git a/xml/System.Security.Permissions/SecurityAction.xml b/xml/System.Security.Permissions/SecurityAction.xml index fe85afe8c2a..8fb069f7fcf 100644 --- a/xml/System.Security.Permissions/SecurityAction.xml +++ b/xml/System.Security.Permissions/SecurityAction.xml @@ -168,7 +168,7 @@ 3 - The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource (see Using the Assert Method). + The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource. diff --git a/xml/System/AppDomainManager.xml b/xml/System/AppDomainManager.xml index 0bba91cba1f..ae8a5a34e65 100644 --- a/xml/System/AppDomainManager.xml +++ b/xml/System/AppDomainManager.xml @@ -33,7 +33,7 @@ ## Remarks > [!IMPORTANT] -> Do not use to configure an application domain in ASP.NET. In ASP.NET, configuration must be handled by the host. +> Do not use to configure an application domain in ASP.NET. In ASP.NET, configuration must be handled by the host. Implementing the class enables a hosting application to participate in the creation of new application domains. To replace the default , identify the assembly and type of the replacement in the APPDOMAIN_MANAGER_ASM and APPDOMAIN_MANAGER_TYPE environment variables, or use the [\](/dotnet/framework/configure-apps/file-schema/runtime/appdomainmanagerassembly-element) and [\](/dotnet/framework/configure-apps/file-schema/runtime/appdomainmanagertype-element) elements in your configuration file. The assembly must be fully trusted and be contained in the global assembly cache or the directory of the starting application. The type and assembly names must be fully qualified in the environment variables. For example: @@ -42,15 +42,15 @@ `set APPDOMAIN_MANAGER_ASM=customappDomainmanager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f1368f7b12a08d72` > [!IMPORTANT] -> If the assembly that contains your subclass of depends on assemblies that are marked with the conditional (APTCA) attribute, you must include those assemblies in the list that you pass to the property of the you use to create application domains. Otherwise, the assemblies that are marked with the conditional APTCA attribute will be disabled. +> If the assembly that contains your subclass of depends on assemblies that are marked with the conditional (APTCA) attribute, you must include those assemblies in the list that you pass to the property of the you use to create application domains. Otherwise, the assemblies that are marked with the conditional APTCA attribute will be disabled. The is the managed equivalent of the unmanaged host. An object participates in the creation of new application domains in a process and can customize the new before other managed code runs. The can also supply host managers that participate in other aspects of common language runtime execution. For example, an can identify a object that participates in the security decisions of the application domain. > [!NOTE] -> Only assemblies granted `FullTrust`, such as assemblies in the global assembly cache or identified as `fullTrustAssemblies` in the method can be loaded in the constructor and the method. +> Only assemblies granted `FullTrust`, such as assemblies in the global assembly cache or identified as `fullTrustAssemblies` in the method can be loaded in the constructor and the method. > [!NOTE] -> This class contains a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see [Link Demands](/previous-versions/dotnet/framework/code-access-security/link-demands). +> This class contains a link demand and an inheritance demand at the class level. A is thrown when either the immediate caller or the derived class does not have infrastructure permission. ## Examples The following example shows a very simple implementation of . From 3beb1e9b69da17b9776bbad4fb137d78fec4cbde Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 23 Apr 2026 17:09:01 -0700 Subject: [PATCH 4/6] re-add System.Data.Linq remarks --- .../TableAttribute/Overview/Program.cs | 101 ++++++++++++++++ .../TableAttribute/Overview/Project.csproj | 8 ++ .../TableAttribute/Overview/Module1.vb | 109 ++++++++++++++++++ .../TableAttribute/Overview/Project.vbproj | 8 ++ .../TableAttribute.xml | 31 ++++- xml/System.Data.Linq/DataLoadOptions.xml | 63 +++++++++- 6 files changed, 318 insertions(+), 2 deletions(-) create mode 100644 snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs create mode 100644 snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj create mode 100644 snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb create mode 100644 snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj diff --git a/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs new file mode 100644 index 00000000000..5c5a30fc826 --- /dev/null +++ b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs @@ -0,0 +1,101 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Data.Linq; +using System.Data.Linq.Mapping; + +namespace cs_maketables +{ + class Program + { + static void Main(string[] args) + { + } + } + + // + [Table(Name = "Customers")] + public class Customer + { + // ... + } + // + +// +[Table(Name="Customers")] +public class customer +{ + [Column(Name="CustomerID")] + public string CustomerID; + // ... +} +// +} + +// +[Table(Name = "Customers")] +public partial class Customer +{ + [Column(IsPrimaryKey = true)] + public string CustomerID; + // ... + private EntitySet _Orders; + [Association(Storage = "_Orders", OtherKey = "CustomerID")] + public EntitySet Orders + { + get { return this._Orders; } + set { this._Orders.Assign(value); } + } +} +// + +// +[Table] +[InheritanceMapping(Code = "C", Type = typeof(Car))] +[InheritanceMapping(Code = "T", Type = typeof(Truck))] +[InheritanceMapping(Code = "V", Type = typeof(Vehicle), + IsDefault = true)] +public class Vehicle +{ + [Column(IsDiscriminator = true)] + public string DiscKey; + [Column(IsPrimaryKey = true)] + public string VIN; + [Column] + public string MfgPlant; +} +public class Car : Vehicle +{ + [Column] + public int TrimCode; + [Column] + public string ModelName; +} + +public class Truck : Vehicle +{ + [Column] + public int Tonnage; + [Column] + public int Axles; +} +// + +// +[Table(Name = "Orders")] +public class Order +{ + [Column(IsPrimaryKey = true)] + public int OrderID; + [Column] + public string CustomerID; + private EntityRef _Customer; + [Association(Storage = "_Customer", ThisKey = "CustomerID")] + public Customer Customer + { + get { return this._Customer.Entity; } + set { this._Customer.Entity = value; } + } +} +// diff --git a/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj new file mode 100644 index 00000000000..f10875eb5aa --- /dev/null +++ b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj @@ -0,0 +1,8 @@ + + + + Library + net481 + + + diff --git a/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb new file mode 100644 index 00000000000..12433465e3e --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb @@ -0,0 +1,109 @@ +Imports System.Data.Linq +Imports System.Data.Linq.Mapping + +Module Module1 + + Sub Main() + + End Sub + +End Module + +' + _ +Public Class Customer + ' ... +End Class +' + +Namespace ns + + ' + _ + Public Class Customer + _ + Public CustomerID As String + ' ... + End Class + ' + +End Namespace + +Namespace ns2 + + 'Public Class Order + + 'End Class + + ' + _ + Public Class Customer + _ + Public CustomerID As String + ' ... + Private _Orders As EntitySet(Of Order) + _ + Public Property Orders() As EntitySet(Of Order) + Get + Return Me._Orders + End Get + Set(ByVal value As EntitySet(Of Order)) + Me._Orders.Assign(value) + End Set + End Property + End Class + ' + + ' + _ + _ + _ + _ + Public Class Vehicle + _ + Private DiscKey As String + _ + Private VIN As String + _ + Private MfgPlant As String + End Class + + Public Class Car + Inherits Vehicle + _ + Private TrimCode As Integer + _ + Private ModelName As String + End Class + + Public Class Truck + Inherits Vehicle + _ + Private Tonnage As Integer + _ + Private Axles As Integer + End Class + ' + + ' + _ + Public Class Order + _ + Public OrderID As Integer + _ + Public CustomerID As String + Private _Customer As EntityRef(Of Customer) + _ + Public Property Customer() As Customer + Get + Return Me._Customer.Entity + End Get + Set(ByVal value As Customer) + Me._Customer.Entity = value + End Set + End Property + End Class + ' + +End Namespace diff --git a/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj new file mode 100644 index 00000000000..f10875eb5aa --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj @@ -0,0 +1,8 @@ + + + + Library + net481 + + + diff --git a/xml/System.Data.Linq.Mapping/TableAttribute.xml b/xml/System.Data.Linq.Mapping/TableAttribute.xml index 8244b943882..5b05a5cfa4a 100644 --- a/xml/System.Data.Linq.Mapping/TableAttribute.xml +++ b/xml/System.Data.Linq.Mapping/TableAttribute.xml @@ -22,7 +22,36 @@ Designates a class as an entity class that is associated with a database table. - For more information about this API, see Supplemental API remarks for TableAttribute. + + attribute to designate a class as an entity class that is associated with a database table or view. LINQ to SQL treats classes that have the attribute as persistent classes. + +LINQ to SQL supports only single-table mapping. That is, an entity class must be mapped to exactly one database table, and you cannot map a database table to multiple classes at the same time. + +You can use the property of the attribute to specify a name for the table, and you can optionally use the schema name to qualify a table name. If you do not specify a name by using the property, the table name is assumed to be the same as the class name. + +## Schema-qualified names + +You can optionally use the schema name to qualify a table name. By default, the token to the left of the first period in the string is considered to be the schema name. The remainder of the name is considered to be the table name. The provider quotes the table name as appropriate. For example, the LINQ to SQL provider for SQL Server makes sure that brackets are used at least where they are needed. + +> [!NOTE] +> In some cases, you must explicitly quote attributes because the SQL Server provider cannot auto-quote. The following table shows some examples. + +| Case | Example: Identifier name | Example: Expected string in attributes | Otherwise… | +|------|--------------------------|----------------------------------------|------------| +|Schema name contains a period|Schema: "A.B"

Table: "C"|"[A.B].C"|The first period is assumed to separate the schema name from the table name.| +|Schema/table name starts with `@`|"@SomeName"|"[@SomeName]"|Assumed to be a parameter name.| +|Schema starts with `[` and ends with `]`|"[Schema.Table]"|"[[Schema].[Table]]]"|The unquoted identifier resembles a quoted identifier.| +|Table starts with `[` and ends with `]`|"[Table]"|"[[Table]]]"|The unquoted identifier resembles a quoted identifier.| + +## Examples + +:::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/TableAttribute/Overview/Program.cs" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/vb/Module1.vb" id="Snippet1"::: + +]]>
+
diff --git a/xml/System.Data.Linq/DataLoadOptions.xml b/xml/System.Data.Linq/DataLoadOptions.xml index b5ff9511304..45542e3525b 100644 --- a/xml/System.Data.Linq/DataLoadOptions.xml +++ b/xml/System.Data.Linq/DataLoadOptions.xml @@ -16,7 +16,68 @@ Provides for immediate loading and filtering of related data. - For more information about this API, see Supplemental API remarks for DataLoadOptions. + + class provides for immediate loading and filtering of related data. + +When you query for an object, you actually retrieve only the object you requested. The *related* objects are not automatically fetched at the same time. For more information, see [Querying Across Relationships](/dotnet/framework/data/adonet/sql/linq/querying-across-relationships). + +The class provides two methods to achieve immediate loading of specified related data. The method allows for immediate loading of data related to the main target. The method allows for filtering related objects. + +## Rules + +Consider the following rules regarding usage: + +- Assigning a to a after the first query has been executed generates an exception. +- Modifying a after it has been assigned to a generates an exception. + +## Handle cycles + + and directives must not create cycles. The following represent examples of such graphs: + +- Example 1: Self recursive + + - `dlo.LoadWith(e => e.Reports);` + +- Example 2: Back-pointers + + - `dlo.LoadWith (c => C.Orders);` + - `dlo.LoadWith (o => o.Customer);` + +- Example 3: Longer cycles + + Although this should not occur in a well-normalized model, it is possible. + + - `dlo.LoadWith (a => a.Bs);` + - `dlo.LoadWith (b => b.Cs);` + - `dlo.LoadWith (c => c.As);` + +- Example 4: Self recursive subQueries + + - `dlo.AssociateWith(a=>a.As.Where(a=>a.Id=33));` + +- Example 5: Longer recursive subqueries + + - `dlo.AssociateWith(a=>a.Bs.Where(b=>b.Id==3));` + - `dlo.AssociateWith(b=>b.As.Where(a=>a.Id==3));` + +The following general rules help you understand what occurs in these scenarios: + +- : Each call to checks whether cycles have been introduced into the graph. If there are, as in Examples 1, 2, and 3, an exception is thrown. + +- : At run time, the engine doesn't apply the existing SubQuery clauses to the relationship inside the expression. + + - In Example 4, the `Where` clause is executed against all `A`, not just the ones sub-filtered by the SubQuery expression itself (because that would be recursive). + - In Example 5, the first `Where` clause is applied to all the `B`s, even though there are subqueries on `B`. The second `Where` clause is applied to all the `A`s even though there are subqueries on `A`. + +## Examples + +When you retrieve `Customers` from the Northwind sample database, you can use to specify that `Orders` is also to be retrieved. You can even specify which subset of `Orders` to retrieve. + +]]> + + From dc9f1f3ab488566091252608270733dc6490ef27 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 23 Apr 2026 20:00:45 -0700 Subject: [PATCH 5/6] fix compile errors --- .../TableAttribute/Overview/Program.cs | 18 ++--- .../TableAttribute/Overview/Project.csproj | 6 +- .../TableAttribute/Overview/Module1.vb | 77 +++++++++---------- .../TableAttribute/Overview/Project.vbproj | 8 +- 4 files changed, 56 insertions(+), 53 deletions(-) diff --git a/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs index 5c5a30fc826..cfdf4858bdf 100644 --- a/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs +++ b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Program.cs @@ -22,15 +22,15 @@ public class Customer } // -// -[Table(Name="Customers")] -public class customer -{ - [Column(Name="CustomerID")] - public string CustomerID; - // ... -} -// + // + [Table(Name = "Customers")] + public class customer + { + [Column(Name = "CustomerID")] + public string CustomerID; + // ... + } + // } // diff --git a/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj index f10875eb5aa..eb2b274fcac 100644 --- a/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj +++ b/snippets/csharp/System.Data.Linq/TableAttribute/Overview/Project.csproj @@ -2,7 +2,11 @@ Library - net481 + net48 + + + + diff --git a/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb index 12433465e3e..03fe361db5b 100644 --- a/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb +++ b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Module1.vb @@ -2,7 +2,6 @@ Imports System.Data.Linq.Mapping Module Module1 - Sub Main() End Sub @@ -10,7 +9,7 @@ Module Module1 End Module ' - _ + Public Class Customer ' ... End Class @@ -19,9 +18,9 @@ End Class Namespace ns ' - _ + Public Class Customer - _ + Public CustomerID As String ' ... End Class @@ -31,76 +30,72 @@ End Namespace Namespace ns2 - 'Public Class Order - - 'End Class - ' - _ + Public Class Customer - _ - Public CustomerID As String + + Public CustomerID As String ' ... - Private _Orders As EntitySet(Of Order) - _ + Private _orders As EntitySet(Of Order) + Public Property Orders() As EntitySet(Of Order) Get - Return Me._Orders + Return _orders End Get Set(ByVal value As EntitySet(Of Order)) - Me._Orders.Assign(value) + _orders.Assign(value) End Set End Property End Class ' ' - _ - _ - _ - _ + + + + Public Class Vehicle - _ - Private DiscKey As String - _ - Private VIN As String - _ - Private MfgPlant As String + + Private _discKey As String + + Private _vIN As String + + Private _mfgPlant As String End Class Public Class Car Inherits Vehicle - _ - Private TrimCode As Integer - _ - Private ModelName As String + + Private _trimCode As Integer + + Private _modelName As String End Class Public Class Truck Inherits Vehicle - _ - Private Tonnage As Integer - _ - Private Axles As Integer + + Private _tonnage As Integer + + Private _axles As Integer End Class ' ' - _ + Public Class Order - _ + Public OrderID As Integer - _ + Public CustomerID As String - Private _Customer As EntityRef(Of Customer) - _ + Private _customer As EntityRef(Of Customer) + Public Property Customer() As Customer Get - Return Me._Customer.Entity + Return _customer.Entity End Get Set(ByVal value As Customer) - Me._Customer.Entity = value + _customer.Entity = value End Set End Property End Class diff --git a/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj index f10875eb5aa..c4963049dfd 100644 --- a/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj +++ b/snippets/visualbasic/System.Data.Linq/TableAttribute/Overview/Project.vbproj @@ -1,8 +1,12 @@ - Library - net481 + Exe + net48 + + + + From 59a43c5eb6a72a1e9dff393f9406416b3456b888 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 24 Apr 2026 08:30:53 -0700 Subject: [PATCH 6/6] Update xml/System/NullReferenceException.xml --- xml/System/NullReferenceException.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System/NullReferenceException.xml b/xml/System/NullReferenceException.xml index cebd9fc1833..2988bbe2451 100644 --- a/xml/System/NullReferenceException.xml +++ b/xml/System/NullReferenceException.xml @@ -79,7 +79,7 @@ A exception is thrown when you try to access a member on a type whose value is `null`. A exception typically reflects developer error and is thrown in the following scenarios: > [!NOTE] -> You can avoid most `NullReferenceException` exceptions in C# by using the [null-conditional operator](/dotnet/csharp/language-reference/operators/null-coalescing-operator) (`?.`) or the [null-coalescing operator](/dotnet/csharp/language-reference/operators/null-coalescing-operator) (`??`). For more information, see [Nullable reference types](/dotnet/csharp/whats-new/csharp-version-history). The following C# examples assume the nullable context is disabled (not recommended). +> You can avoid most `NullReferenceException` exceptions in C# by using the [null-conditional operator](/dotnet/csharp/language-reference/operators/member-access-operators#null-conditional-operators--and-) (`?.`) or the [null-coalescing operator](/dotnet/csharp/language-reference/operators/null-coalescing-operator) (`??`). For more information, see [Nullable reference types](/dotnet/csharp/nullable-references). The following C# examples assume the nullable context is disabled (not recommended). - You forgot to instantiate a reference type. In the following example, `names` is declared but never instantiated (the affected line is commented out in the C# example since it doesn't compile):