/// <summary>
/// Gets the process information for a given process
/// </summary>
- //
/// <param name="pid">The PID (process ID) of the process</param>
/// <param name="tid">The TID (thread ID) of the process</param>
/// <returns>
/// Adds a CFRunLoopSource object to a run loop mode.
/// </summary>
/// <param name="rl">The run loop to modify.</param>
- /// <param name="rl">The run loop source to add. The source is retained by the run loop.</param>
- /// <param name="rl">The run loop mode to which to add source.</param>
+ /// <param name="source">The run loop source to add. The source is retained by the run loop.</param>
+ /// <param name="mode">The run loop mode to which to add source.</param>
[DllImport(Interop.Libraries.CoreFoundationLibrary)]
internal static extern void CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
/// Removes a CFRunLoopSource object from a run loop mode.
/// </summary>
/// <param name="rl">The run loop to modify.</param>
- /// <param name="rl">The run loop source to remove.</param>
- /// <param name="rl">The run loop mode of rl from which to remove source.</param>
+ /// <param name="source">The run loop source to remove.</param>
+ /// <param name="mode">The run loop mode of rl from which to remove source.</param>
[DllImport(Interop.Libraries.CoreFoundationLibrary)]
internal static extern void CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
/// <summary>
/// Queries the OS for the PIDs for all running processes
/// </summary>
- /// <param name="buffer">A pointer to the memory block where the PID array will start</param>
+ /// <param name="pBuffer">A pointer to the memory block where the PID array will start</param>
/// <param name="buffersize">The length of the block of memory allocated for the PID array</param>
/// <returns>Returns the number of elements (PIDs) in the buffer</returns>
[DllImport(Interop.Libraries.libproc, SetLastError = true)]
}
/// <summary>
- /// The index into the array filled by <see cref="pipe"/> which represents the read end of the pipe.
+ /// The index into the array filled by <see cref="Pipe"/> which represents the read end of the pipe.
/// </summary>
internal const int ReadEndOfPipe = 0;
/// <summary>
- /// The index into the array filled by <see cref="pipe"/> which represents the read end of the pipe.
+ /// The index into the array filled by <see cref="Pipe"/> which represents the read end of the pipe.
/// </summary>
internal const int WriteEndOfPipe = 1;
/// Polls a set of file descriptors for signals and returns what signals have been set
/// </summary>
/// <param name="pollEvents">A list of PollEvent entries</param>
- /// <param name="numberOfPollFds">The number of entries in pollEvents</param>
+ /// <param name="eventCount">The number of entries in pollEvents</param>
/// <param name="timeout">The amount of time to wait; -1 for infinite, 0 for immediate return, and a positive number is the number of milliseconds</param>
/// <param name="triggered">The number of events triggered (i.e. the number of entries in pollEvents with a non-zero TriggeredEvents). May be zero in the event of a timeout.</param>
/// <returns>An error or Error.SUCCESS.</returns>
/// Sets the last access and last modified time of a file
/// </summary>
/// <param name="path">The path to the item to get time values for</param>
- /// <param name="time">The output time values of the item</param>
+ /// <param name="times">The output time values of the item</param>
/// <returns>
/// Returns 0 on success; otherwise, returns -1
/// </returns>
/// <summary>
/// Gets a cached, invalid handle. As the instance is cached, it should either never be Disposed
/// or it should override <see cref="SafeHandle.Dispose(bool)"/> to prevent disposal when the
- /// instance is the <see cref="InvalidHandle"/>.
+ /// instance is the <see cref="C:InvalidHandle"/>.
/// </summary>
internal static T GetInvalidHandle(Func<T> invalidHandleFactory)
{
return currentHandle;
}
- /// <summary>Gets whether the specified handle is <see cref="InvalidHandle"/>.</summary>
+ /// <summary>Gets whether the specified handle is <see cref="C:InvalidHandle"/>.</summary>
/// <param name="handle">The handle to compare.</param>
- /// <returns>true if <paramref name="handle"/> is <see cref="InvalidHandle"/>; otherwise, false.</returns>
+ /// <returns>true if <paramref name="handle"/> is <see cref="C:InvalidHandle"/>; otherwise, false.</returns>
internal static bool IsCachedInvalidHandle(SafeHandle handle)
{
Debug.Assert(handle != null);
/// Copies the contents of this builder to the specified array.
/// </summary>
/// <param name="array">The destination array.</param>
- /// <param name="arrayIndex">The index in <see cref="array"/> to start copying to.</param>
+ /// <param name="arrayIndex">The index in <paramref name="array"/> to start copying to.</param>
/// <param name="count">The number of items to copy.</param>
public void CopyTo(T[] array, int arrayIndex, int count)
{
/// </summary>
/// <param name="position">The position in this builder to start copying from.</param>
/// <param name="array">The destination array.</param>
- /// <param name="arrayIndex">The index in <see cref="array"/> to start copying to.</param>
+ /// <param name="arrayIndex">The index in <paramref name="array"/> to start copying to.</param>
/// <param name="count">The number of items to copy.</param>
/// <returns>The position in this builder that was copied up to.</returns>
public CopyPosition CopyTo(CopyPosition position, T[] array, int arrayIndex, int count)
namespace System.Collections.Generic
{
/// <summary>
- /// Represents a position within a <see cref="LargeArrayBuilder{T}"/>.
+ /// Represents a position within a <see cref="T:System.Collections.Generic.LargeArrayBuilder`1"/>.
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
internal readonly struct CopyPosition
}
/// <summary>
- /// Represents a position at the start of a <see cref="LargeArrayBuilder{T}"/>.
+ /// Represents a position at the start of a <see cref="T:System.Collections.Generic.LargeArrayBuilder`1"/>.
/// </summary>
public static CopyPosition Start => default(CopyPosition);
/// Copies the contents of this builder to the specified array.
/// </summary>
/// <param name="array">The destination array.</param>
- /// <param name="arrayIndex">The index in <see cref="array"/> to start copying to.</param>
+ /// <param name="arrayIndex">The index in <paramref name="array"/> to start copying to.</param>
/// <param name="count">The number of items to copy.</param>
public void CopyTo(T[] array, int arrayIndex, int count)
{
/// </summary>
/// <param name="payloadBuffer">The buffer into which payload data should be written.</param>
/// <param name="cancellationToken">The CancellationToken used to cancel the websocket.</param>
- /// <param name="resultGetter">Used to get the result. Allows the same method to be used with both <see cref="WebSocketReceiveResult"/> and <see cref="ValueWebSocketReceiveResult"/>.</param>
+ /// <param name="resultGetter">Used to get the result. Allows the same method to be used with both <see cref="WebSocketReceiveResult"/> and <see cref="T:System.Net.WebSockets.ValueWebSocketReceiveResult"/>.</param>
/// <returns>Information about the received message.</returns>
private async ValueTask<TWebSocketReceiveResult> ReceiveAsyncPrivate<TWebSocketReceiveResultGetter, TWebSocketReceiveResult>(
Memory<byte> payloadBuffer,
<ShouldWriteSigningRequired>false</ShouldWriteSigningRequired>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnablePInvokeAnalyzer>false</EnablePInvokeAnalyzer>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<NoWarn Condition="'$(TargetGroup)' == 'netstandard'">$(NoWarn);CS3021</NoWarn>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard'">Test Utilities are not supported on this platform</GeneratePlatformNotSupportedAssemblyMessage>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.0-Unix-Debug;netcoreapp2.0-Unix-Release;netcoreapp2.0-Windows_NT-Debug;netcoreapp2.0-Windows_NT-Release;netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard-Debug;netstandard-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
/// <summary>Invokes the method from this assembly in another process using the specified arguments without performing any modifications to the arguments.</summary>
/// <param name="method">The method to invoke.</param>
- /// <param name="args">The arguments to pass to the method.</param>
+ /// <param name="unparsedArg">The arguments to pass to the method.</param>
/// <param name="options">Options to use for the invocation.</param>
public static RemoteInvokeHandle RemoteInvokeRaw(Delegate method, string unparsedArg,
RemoteInvokeOptions options = null)
/// <summary>Invokes the method from this assembly in another process using the specified arguments.</summary>
/// <param name="method">The method to invoke.</param>
/// <param name="args">The arguments to pass to the method.</param>
- /// <param name="start">true if this function should Start the Process; false if that responsibility is left up to the caller.</param>
- /// <param name="psi">The ProcessStartInfo to use, or null for a default.</param>
+ /// <param name="options">Options to use for the invocation.</param>
/// <param name="pasteArguments">true if this function should paste the arguments (e.g. surrounding with quotes); false if that responsibility is left up to the caller.</param>
private static RemoteInvokeHandle RemoteInvoke(MethodInfo method, string[] args, RemoteInvokeOptions options, bool pasteArguments = true)
{
/// Get whether the OS platform matches the given Linux distro and optional version.
/// </summary>
/// <param name="distroId">The distribution id.</param>
- /// <param name="versionId">The distro version. If omitted, compares the distro only.</param>
+ /// <param name="major">The distro major version. If omitted, this portion of the version is not included in the comparison.</param>
+ /// <param name="minor">The distro minor version. If omitted, this portion of the version is not included in the comparison.</param>
+ /// <param name="build">The distro build version. If omitted, this portion of the version is not included in the comparison.</param>
+ /// <param name="revision">The distro revision version. If omitted, this portion of the version is not included in the comparison.</param>
/// <returns>Whether the OS platform matches the given Linux distro and optional version.</returns>
private static bool IsDistroAndVersion(string distroId, int major = -1, int minor = -1, int build = -1, int revision = -1)
{
/// Get whether the OS platform matches the given Linux distro and optional version is same or higher.
/// </summary>
/// <param name="distroId">The distribution id.</param>
- /// <param name="versionId">The distro version. If omitted, compares the distro only.</param>
+ /// <param name="major">The distro major version. If omitted, this portion of the version is not included in the comparison.</param>
+ /// <param name="minor">The distro minor version. If omitted, this portion of the version is not included in the comparison.</param>
+ /// <param name="build">The distro build version. If omitted, this portion of the version is not included in the comparison.</param>
+ /// <param name="revision">The distro revision version. If omitted, this portion of the version is not included in the comparison.</param>
/// <returns>Whether the OS platform matches the given Linux distro and optional version is same or higher.</returns>
private static bool IsDistroAndVersionOrHigher(string distroId, int major = -1, int minor = -1, int build = -1, int revision = -1)
{
/// <typeparam name="T">The type of element stored by the array.</typeparam>
/// <devremarks>
/// This type has a documented contract of being exactly one reference-type field in size.
- /// Our own <see cref="ImmutableInterlocked"/> class depends on it, as well as others externally.
+ /// Our own <see cref="T:System.Collections.Immutable.ImmutableInterlocked"/> class depends on it, as well as others externally.
/// IMPORTANT NOTICE FOR MAINTAINERS AND REVIEWERS:
/// This type should be thread-safe. As a struct, it cannot protect its own fields
/// from being changed from one thread while its members are executing on other threads
/// <param name="count">The number of elements in the sequence.</param>
/// <returns>The array.</returns>
/// <remarks>
- /// This is more efficient than the <see cref="Enumerable.ToArray{TSource}"/> extension method
+ /// This is more efficient than the <see cref="M:System.Linq.Enumerable.ToArray``1(System.Collections.Generic.IEnumerable{``0})"/> extension method
/// because that only tries to cast the sequence to <see cref="ICollection{T}"/> to determine
/// the count before it falls back to reallocating arrays as it enumerates.
/// </remarks>
/// 7. Delegates on static functions or any of the above
/// Everything else cannot be represented as literals
/// <param name="ilGenerator"></param>
- /// <param name="item"></param>
- /// <param name="key"></param>
/// <param name="value"></param>
/// <returns></returns>
public static void LoadValue(this ILGenerator ilGenerator, object value)
/// Generates the code to get the type of an object and store it in a local
/// <param name="ilGenerator"></param>
- /// <param name="dictionary"></param>
- /// <param name="key"></param>
- /// <param name="value"></param>
+ /// <param name="exception"></param>
+ /// <param name="dataStore"></param>
/// <returns></returns>
public static void GetExceptionDataAndStoreInLocal(this ILGenerator ilGenerator, LocalBuilder exception, LocalBuilder dataStore)
{
</RootNamespace>
<!-- CommonStrings needs RootNamespace to be empty -->
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard'">SR.PlatformNotSupported_ComponentModel_Composition</GeneratePlatformNotSupportedAssemblyMessage>
- <NoWarn>$(NoWarn);CS1572;CS1574</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;netcoreapp2.0-Debug;netcoreapp2.0-Release;netstandard-Debug;netstandard-Release;uap-Debug;uap-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
/// Satisfies the imports of the specified attributed object exactly once and they will not
/// ever be recomposed.
/// </summary>
- /// <param name="part">
+ /// <param name="attributedPart">
/// The attributed object to set the imports.
/// </param>
/// <exception cref="ArgumentNullException">
return part;
}
-
+
/// <summary>
/// Satisfies the imports of the specified attributed object exactly once and they will not
/// ever be recomposed.
/// </summary>
- /// <param name="part">
+ /// <param name="attributedPart">
/// The attributed object to set the imports.
/// </param>
/// <exception cref="ArgumentNullException">
namespace System.ComponentModel.Composition
{
/// <summary>
- /// Option placed on a type that controls when the <see cref="CompositionContainer"/> creates
- /// a new instance of a <see cref="ComposablePart"/>.
+ /// Option placed on a type that controls when the <see cref="Hosting.CompositionContainer"/> creates
+ /// a new instance of a <see cref="Primitives.ComposablePart"/>.
/// </summary>
public enum CreationPolicy : int
{
/// <summary>
- /// Let the <see cref="CompositionContainer"/> choose the most appropriate <see cref="CreationPolicy"/>
+ /// Let the <see cref="Hosting.CompositionContainer"/> choose the most appropriate <see cref="CreationPolicy"/>
/// for the part given the current context. This is the default <see cref="CreationPolicy"/>, with
- /// the <see cref="CompositionContainer"/> choosing <see cref="CreationPolicy.Shared"/> by default
- /// unless the <see cref="ComposablePart"/> or importer requests <see cref="CreationPolicy.NonShared"/>.
+ /// the <see cref="Hosting.CompositionContainer"/> choosing <see cref="CreationPolicy.Shared"/> by default
+ /// unless the <see cref="Primitives.ComposablePart"/> or importer requests <see cref="CreationPolicy.NonShared"/>.
/// </summary>
Any = 0,
/// <summary>
- /// A single shared instance of the associated <see cref="ComposablePart"/> will be created
- /// by the <see cref="CompositionContainer"/> and shared by all requestors.
+ /// A single shared instance of the associated <see cref="Primitives.ComposablePart"/> will be created
+ /// by the <see cref="Hosting.CompositionContainer"/> and shared by all requestors.
/// </summary>
Shared = 1,
/// <summary>
- /// A new non-shared instance of the associated <see cref="ComposablePart"/> will be created
- /// by the <see cref="CompositionContainer"/> for every requestor.
+ /// A new non-shared instance of the associated <see cref="Primitives.ComposablePart"/> will be created
+ /// by the <see cref="Hosting.CompositionContainer"/> for every requestor.
/// </summary>
NonShared = 2,
}
/// <exception cref="PathTooLongException">
/// The specified path, file name, or both exceed the system-defined maximum length.
/// </exception>
- /// <exception cref="SecurityException">
+ /// <exception cref="System.Security.SecurityException">
/// The caller does not have path discovery permission.
/// </exception>
/// <exception cref="FileNotFoundException">
/// <exception cref="PathTooLongException">
/// The specified path, file name, or both exceed the system-defined maximum length.
/// </exception>
- /// <exception cref="SecurityException">
+ /// <exception cref="System.Security.SecurityException">
/// The caller does not have path discovery permission.
/// </exception>
/// <exception cref="FileNotFoundException">
/// <exception cref="PathTooLongException">
/// The specified path, file name, or both exceed the system-defined maximum length.
/// </exception>
- /// <exception cref="SecurityException">
+ /// <exception cref="System.Security.SecurityException">
/// The caller does not have path discovery permission.
/// </exception>
/// <exception cref="FileNotFoundException">
/// <exception cref="PathTooLongException">
/// The specified path, file name, or both exceed the system-defined maximum length.
/// </exception>
- /// <exception cref="SecurityException">
+ /// <exception cref="System.Security.SecurityException">
/// The caller does not have path discovery permission.
/// </exception>
/// <exception cref="FileNotFoundException">
/// <summary>
/// Creates a <see cref="CompositionService"/>.
/// </summary>
- /// <param name="catalog">The catalog.</param>
+ /// <param name="composablePartCatalog">The catalog.</param>
/// <returns>The newly created <see cref="CompositionService"/>.</returns>
public static CompositionService CreateCompositionService(this ComposablePartCatalog composablePartCatalog)
{
/// Initializes a new instance of the <see cref="CompositionContainer"/> class
/// with the specified export providers.
/// </summary>
- /// <param name="compositionOPtionss">
+ /// <param name="compositionOptions">
/// <see cref="CompositionOptions"/> enumeration with flags controlling the composition.
/// </param>
/// <param name="providers">
/// Initializes a new instance of the <see cref="CompositionContainer"/> class
/// with the specified catalog and export providers.
/// </summary>
- /// <param name="compositionSettings">
+ /// <param name="compositionOptions">
/// <see cref="CompositionOptions"/> enumeration with flags controlling the composition.
/// </param>
/// <param name="providers">
/// <value>
/// <see langword="true"/> if the property, field or parameter will be set
/// its type's default value when an export with the <see cref="ContractName"/> is not
- /// present in the <see cref="CompositionContainer"/>; otherwise, <see langword="false"/>.
+ /// present in the <see cref="Hosting.CompositionContainer"/>; otherwise, <see langword="false"/>.
/// The default value is <see langword="false"/>.
/// </value>
/// <remarks>
/// <value>
/// <see langword="true"/> if the property or field allows for recomposition when exports
/// that provide the same <see cref="ContractName"/> are added or removed from the
- /// <see cref="CompositionContainer"/>; otherwise, <see langword="false"/>.
+ /// <see cref="Hosting.CompositionContainer"/>; otherwise, <see langword="false"/>.
/// The default value is <see langword="false"/>.
/// </value>
public bool AllowRecomposition { get; set; }
namespace System.ComponentModel.Composition
{
/// <summary>
- /// The exception that is thrown when the cardinality of a <see cref="ImportDefinition"/>
- /// does not match the cardinality of the <see cref="Export"/> objects available in an
- /// <see cref="ExportProvider"/>.
+ /// The exception that is thrown when the cardinality of a <see cref="Primitives.ImportDefinition"/>
+ /// does not match the cardinality of the <see cref="Primitives.Export"/> objects available in an
+ /// <see cref="Hosting.ExportProvider"/>.
/// </summary>
[DebuggerTypeProxy(typeof(ImportCardinalityMismatchExceptionDebuggerProxy))]
[DebuggerDisplay("{Message}")]
/// <value>
/// <see langword="true"/> if the property or field allows for recomposition when exports
/// that provide the same <see cref="ContractName"/> are added or removed from the
- /// <see cref="CompositionContainer"/>; otherwise, <see langword="false"/>.
+ /// <see cref="Hosting.CompositionContainer"/>; otherwise, <see langword="false"/>.
/// The default value is <see langword="false"/>.
/// </value>
public bool AllowRecomposition { get; set; }
/// Initializes a new instance of the <see cref="MetadataViewImplementationAttribute"/> class, declaring the
/// type that holds the implementation for the view.
/// </summary>
- /// <param name="typeOfImplementation">
+ /// <param name="implementationType">
/// A <see cref="Type"/> for the implementation of the MetadataView.
/// </param>
/// <remarks>
namespace System.ComponentModel.Composition
{
/// <summary>
- /// Specifies <see cref="CreationPolicy"/> for a given <see cref="ComposablePart" />.
+ /// Specifies <see cref="CreationPolicy"/> for a given <see cref="Primitives.ComposablePart" />.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class PartCreationPolicyAttribute : Attribute
namespace System.ComponentModel.Composition
{
/// <summary>
- /// Specifies metadata for a type to be used as a <see cref="ComposablePartDefinition"/> and
- /// <see cref="ComposablePart"/>.
+ /// Specifies metadata for a type to be used as a <see cref="Primitives.ComposablePartDefinition"/> and
+ /// <see cref="Primitives.ComposablePart"/>.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class PartMetadataAttribute : Attribute
namespace System.ComponentModel.Composition
{
/// <summary>
- /// Place on a type that should not be discovered as a <see cref="ComposablePart" /> in
- /// a <see cref="ComposablePartCatalog" />.
+ /// Place on a type that should not be discovered as a <see cref="Primitives.ComposablePart" /> in
+ /// a <see cref="Primitives.ComposablePartCatalog" />.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class PartNotDiscoverableAttribute : Attribute
return exports ?? _EmptyExportsList;
}
-internal virtual IEnumerable<ComposablePartDefinition> GetCandidateParts(ImportDefinition definition)
+ internal virtual IEnumerable<ComposablePartDefinition> GetCandidateParts(ImportDefinition definition)
{
return this;
}
-/// <summary>
- /// Releases the unmanaged resources used by the <see cref="ComposablePartCatalog"/> and
- /// optionally releases the managed resources.
+ /// <summary>
+ /// Releases the unmanaged and managed resources used by the <see cref="ComposablePartCatalog"/>.
/// </summary>
- /// <param name="disposing">
- /// <see langword="true"/> to release both managed and unmanaged resources;
- /// <see langword="false"/> to release only unmanaged resources.
- /// </param>
public void Dispose()
{
Dispose(true);
/// <see cref="ComposablePartException"/>; or <see langword="null"/> to set
/// the <see cref="Exception.Message"/> property to its default value.
/// </param>
- /// <param name="element">
- /// The <see cref="ICompositionElement"/> that is the cause of the
- /// <see cref="ComposablePartException"/>; or <see langword="null"/> to set
- /// the <see cref="ComposablePartException.Element"/> property to
- /// <see langword="null"/>.
- /// </param>
public ComposablePartException(string message)
: this(message, (ICompositionElement)null, (Exception)null)
{
/// <see cref="ComposablePartException"/>; or <see langword="null"/> to set
/// the <see cref="Exception.Message"/> property to its default value.
/// </param>
+ /// <param name="element">
+ /// The <see cref="ICompositionElement"/> that is the cause of the
+ /// <see cref="ComposablePartException"/>; or <see langword="null"/> to set
+ /// the <see cref="ComposablePartException.Element"/> property to
+ /// <see langword="null"/>.
+ /// </param>
public ComposablePartException(string message, ICompositionElement element)
: this(message, element, (Exception)null)
{
<ProjectGuid>{F620F382-30D1-451E-B125-2A612F92068B}</ProjectGuid>
<RootNamespace>System.ComponentModel.Primitives</RootNamespace>
<AssemblyName>System.ComponentModel.Primitives</AssemblyName>
- <NoWarn>$(NoWarn);CS1574</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
/// <summary>
/// <para>
- /// Gets a specific <see cref='System.ComponentModel.Component'/> in the <see cref='System.ComponentModel.Container'/>.
+ /// Gets a specific <see cref='System.ComponentModel.Component'/> in the <see cref='System.ComponentModel.IContainer'/>.
/// </para>
/// </summary>
public virtual IComponent this[string name]
/// <summary>
/// <para>
- /// Gets a specific <see cref='System.ComponentModel.Component'/> in the <see cref='System.ComponentModel.Container'/>.
+ /// Gets a specific <see cref='System.ComponentModel.Component'/> in the <see cref='System.ComponentModel.IContainer'/>.
/// </para>
/// </summary>
public virtual IComponent this[int index] => (IComponent)InnerList[index];
/// <summary>
/// <para>Provides functionality required by sites. Sites bind
- /// a <see cref='System.ComponentModel.Component'/> to a <see cref='System.ComponentModel.Container'/>
+ /// a <see cref='System.ComponentModel.Component'/> to a <see cref='System.ComponentModel.IContainer'/>
/// and enable communication between them, as well as provide a way
/// for the container to manage its components.</para>
/// </summary>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{AF3EBF3B-526A-4B51-9F3D-62B0113CD01F}</ProjectGuid>
- <NoWarn>$(NoWarn);1574;1734;0419</NoWarn>
<RootNamespace>System.ComponentModel.TypeConverter</RootNamespace>
<AssemblyName>System.ComponentModel.TypeConverter</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
IDesigner GetDesigner(IComponent component);
/// <summary>
- /// Gets the type instance for the specified fully qualified type name <paramref name="TypeName"/>.
+ /// Gets the type instance for the specified fully qualified type name <paramref name="typeName"/>.
/// </summary>
Type GetType(string typeName);
}
/// <summary>
/// Gets a value indicating whether the list of standard values returned from
- /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues'/>
+ /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues()'/>
/// is an exclusive list using the specified context.
/// </summary>
public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
namespace System.ComponentModel
{
/// <summary>
- /// Provides a subset of the <see cref="BitVector32"/> surface area, using volatile
+ /// Provides a subset of the <see cref="System.Collections.Specialized.BitVector32"/> surface area, using volatile
/// operations for reads and interlocked operations for writes.
/// </summary>
internal struct InterlockedBitVector32
public virtual string Name => _name ?? "";
/// <summary>
- /// Gets the hash code for the name of the member as specified in <see cref='System.String.GetHashCode'/>.
+ /// Gets the hash code for the name of the member as specified in <see cref='System.String.GetHashCode()'/>.
/// </summary>
protected virtual int NameHashCode => _nameHash;
/// <summary>
/// Gets a value indicating whether changing a value on this object requires a call to
- /// <see cref='System.ComponentModel.TypeConverter.CreateInstance'/> to create a new value,
+ /// <see cref='System.ComponentModel.TypeConverter.CreateInstance(IDictionary)'/> to create a new value,
/// using the specified context.
/// </summary>
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
/// <summary>
/// Gets a value indicating whether the collection of standard values returned from
- /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues'/> is an exclusive
+ /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues()'/> is an exclusive
/// list of possible values, using the specified context.
/// </summary>
public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
namespace System.ComponentModel
{
/// <summary>
- /// Provides data for the <see cref='System.ComponentModel.TypeDescriptor.Refresh'/> event.
+ /// Provides data for the <see cref='System.ComponentModel.TypeDescriptor.Refresh(object)'/> event.
/// </summary>
public class RefreshEventArgs : EventArgs
{
namespace System.ComponentModel
{
/// <summary>
- /// Represents the method that will handle the <see cref='System.ComponentModel.TypeDescriptor.Refresh'/> event
+ /// Represents the method that will handle the <see cref='System.ComponentModel.TypeDescriptor.Refresh(object)'/> event
/// raised when a <see cref='System.Type'/> or component is changed during design time.
/// </summary>
public delegate void RefreshEventHandler(RefreshEventArgs e);
/// <summary>
/// Gets a value indicating whether changing a value on this object requires a call to
- /// <see cref='System.ComponentModel.TypeConverter.CreateInstance'/> to create a new value.
+ /// <see cref='System.ComponentModel.TypeConverter.CreateInstance(IDictionary)'/> to create a new value.
/// </summary>
public bool GetCreateInstanceSupported() => GetCreateInstanceSupported(null);
/// <summary>
///
/// Gets a value indicating whether changing a value on this object requires a call to
- /// <see cref='System.ComponentModel.TypeConverter.CreateInstance'/> to create a new value,
+ /// <see cref='System.ComponentModel.TypeConverter.CreateInstance(IDictionary)'/> to create a new value,
/// using the specified context.
///
/// </summary>
/// <summary>
/// Gets a value indicating whether the collection of standard values returned from
- /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues'/> is an exclusive list.
+ /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues()'/> is an exclusive list.
/// </summary>
public bool GetStandardValuesExclusive() => GetStandardValuesExclusive(null);
/// <summary>
/// Gets a value indicating whether the collection of standard values returned from
- /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues'/> is an exclusive
+ /// <see cref='System.ComponentModel.TypeConverter.GetStandardValues()'/> is an exclusive
/// list of possible values, using the specified context.
/// </summary>
public virtual bool GetStandardValuesExclusive(ITypeDescriptorContext context) => false;
/// all types.
///
/// This method can be called from partially trusted code. If
- /// <see cref="TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
+ /// <see cref="E:System.Security.Permissions.TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
/// is defined, the caller can register a provider for the specified type
/// if it's also partially trusted.
/// </summary>
/// the object from finalizing.
///
/// This method can be called from partially trusted code. If
- /// <see cref="TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
+ /// <see cref="E:System.Security.Permissions.TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
/// is defined, the caller can register a provider for the specified instance
/// if its type is also partially trusted.
/// </summary>
/// associated with.
///
/// This method can be called from partially trusted code. If
- /// <see cref="TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
+ /// <see cref="E:System.Security.Permissions.TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
/// is defined, the caller can unregister a provider for the specified type
/// if it's also partially trusted.
/// </summary>
/// associated with.
///
/// This method can be called from partially trusted code. If
- /// <see cref="TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
+ /// <see cref="E:System.Security.Permissions.TypeDescriptorPermissionFlags.RestrictedRegistrationAccess"/>
/// is defined, the caller can register a provider for the specified instance
/// if its type is also partially trusted.
/// </summary>
public class WarningException : SystemException
{
/// <summary>
- /// Initializes a new instance of the <see cref='System.ComponentModel.Win32Exception'/> class with the last Win32 error
+ /// Initializes a new instance of the <see cref='System.ComponentModel.WarningException'/> class with the last Win32 error
/// that occurred.
/// </summary>
public WarningException() : this(null, null, null)
<AssemblyName>System.Console</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
</PropertyGroup>
<ItemGroup>
<Compile Include="FxCopBaseline.cs" />
<AssemblyName>System.Data.Common</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
- <NoWarn>$(NoWarn);CS1574</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
}
/// <summary>Get and sets the stepping value.</summary>
- /// <exception cref="ArugmentException">if value is 0</exception>
+ /// <exception cref="ArgumentException">if value is 0</exception>
internal override long Step
{
get { return _step; }
}
/// <summary>Get and sets the stepping value.</summary>
- /// <exception cref="ArugmentException">if value is 0</exception>
+ /// <exception cref="ArgumentException">if value is 0</exception>
internal override long Step
{
get { return (long)_step; }
<AssemblyVersion Condition="'$(TargetGroup)' == 'netstandard1.3'">4.1.0.0</AssemblyVersion>
<DefineConstants Condition="'$(TargetsNetCoreApp)' == 'true'">$(DefineConstants);netcoreapp</DefineConstants>
<DefineConstants Condition="'$(TargetGroup)' == 'netcoreapp'">$(DefineConstants);FEATURE_TCPKEEPALIVE</DefineConstants>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netcoreapp2.1-Unix-Debug;netcoreapp2.1-Unix-Release;netcoreapp2.1-Windows_NT-Debug;netcoreapp2.1-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard-Debug;netstandard-Release;netstandard-Unix-Debug;netstandard-Unix-Release;netstandard-Windows_NT-Debug;netstandard-Windows_NT-Release;netstandard1.2-Debug;netstandard1.2-Release;netstandard1.3-Debug;netstandard1.3-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uap10.0.16299-Windows_NT-Debug;uap10.0.16299-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard' OR '$(TargetsNetCoreApp)' == 'true' OR '$(IsUAPAssembly)' == 'true' ">
/// <summary>
/// Check SNI handle connection
/// </summary>
- /// <param name="handle"></param>
/// <returns>SNI error status</returns>
public uint CheckConnection()
{
/// <summary>
/// Check SNI handle connection
/// </summary>
- /// <param name="handle"></param>
/// <returns>SNI error status</returns>
public override uint CheckConnection()
{
/// <summary>
/// Check packet equality
/// </summary>
- /// <param name="obj"></param>
+ /// <param name="packet"></param>
/// <returns>true if equal</returns>
public bool Equals(SNIPacket packet)
{
/// <summary>
/// Generate SSPI context
/// </summary>
- /// <param name="handle">SNI connection handle</param>
+ /// <param name="sspiClientContextStatus">SSPI client context status</param>
/// <param name="receivedBuff">Receive buffer</param>
- /// <param name="receivedLength">Received length</param>
/// <param name="sendBuff">Send buffer</param>
- /// <param name="sendLength">Send length</param>
/// <param name="serverName">Service Principal Name buffer</param>
- /// <param name="serverNameLength">Length of Service Principal Name</param>
/// <returns>SNI error code</returns>
public void GenSspiClientContext(SspiClientContextStatus sspiClientContextStatus, byte[] receivedBuff, ref byte[] sendBuff, byte[] serverName)
{
/// <summary>
/// Creates an SNITCPHandle object
/// </summary>
- /// <param name="fullServerName">Server string. May contain a comma delimited port number.</param>
+ /// <param name="details">Data source</param>
/// <param name="timerExpire">Timer expiration</param>
/// <param name="callbackObject">Asynchronous I/O callback object</param>
/// <param name="parallel">Should MultiSubnetFailover be used</param>
/// <summary>
/// Creates an SNINpHandle object
/// </summary>
- /// <param name="fullServerName">Server string representing a UNC pipe path.</param>
+ /// <param name="details">Data source</param>
/// <param name="timerExpire">Timer expiration</param>
/// <param name="callbackObject">Asynchronous I/O callback object</param>
/// <param name="parallel">Should MultiSubnetFailover be used. Only returns an error for named pipes.</param>
/// <summary>
/// Check SNI handle connection
/// </summary>
- /// <param name="handle"></param>
/// <returns>SNI error status</returns>
public override uint CheckConnection()
{
/// <summary>
/// Finds instance port number for given instance name.
/// </summary>
- /// <param name="browserHostname">SQL Sever Browser hostname</param>
+ /// <param name="browserHostName">SQL Sever Browser hostname</param>
/// <param name="instanceName">instance name to find port number</param>
/// <returns>port number for given instance name</returns>
internal static int GetPortByInstanceName(string browserHostName, string instanceName)
/// Checks the parameters passed into a Read() method are valid
/// </summary>
/// <param name="buffer"></param>
- /// <param name="index"></param>
+ /// <param name="offset"></param>
/// <param name="count"></param>
internal static void ValidateReadParameters(byte[] buffer, int offset, int count)
{
<IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard'">SR.PlatformNotSupported_PerfCounters</GeneratePlatformNotSupportedAssemblyMessage>
<UWPCompatible>false</UWPCompatible>
- <NoWarn>$(NoWarn);CS1572</NoWarn>
<Configurations>net461-Debug;net461-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.0-Windows_NT-Debug;netcoreapp2.0-Windows_NT-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release</Configurations>
</PropertyGroup>
<ItemGroup Condition="$(TargetGroup.StartsWith('netcoreapp'))">
/// <summary>
/// CounterData constructor
/// </summary>
- /// <param name="counterId"> counterId would come from CounterSet::AddCounter() parameter </param>
/// <param name="pCounterData"> The memory location to store raw counter data </param>
unsafe internal CounterData(long* pCounterData)
{
<AssemblyName>System.Diagnostics.Process</AssemblyName>
<DefineConstants Condition="'$(TargetGroup)' != 'uap'">$(DefineConstants);FEATURE_REGISTRY</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS0419;CS1572;CS1573;CS1587;CS1591</NoWarn>
<Configurations>netcoreapp-FreeBSD-Debug;netcoreapp-FreeBSD-Release;netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetsFreeBSD)' == 'true' OR '$(TargetsUnknownUnix)' == 'true' ">
/// <devdoc>
/// <para>
- /// Gets or sets the properties to pass into the <see cref='System.Diagnostics.Process.Start'/> method for the <see cref='System.Diagnostics.Process'/>
- /// .
+ /// Gets or sets the properties to pass into the <see cref='System.Diagnostics.Process.Start(System.Diagnostics.ProcessStartInfo)'/> method for the <see cref='System.Diagnostics.Process'/>.
/// </para>
/// </devdoc>
public ProcessStartInfo StartInfo
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<!-- Disable 1685 (aka multiple type definitions) warning so it doesn't turn into an error -->
- <NoWarn>$(NoWarn);CS1572;1685</NoWarn>
+ <NoWarn>$(NoWarn);1685</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
/// <param name="loadedPeSize">loaded PE image size</param>
/// <param name="inMemoryPdbAddress">in memory PDB address or zero</param>
/// <param name="inMemoryPdbSize">in memory PDB size</param>
- /// <param name="reader">returns the reader</param>
/// <returns>reader</returns>
/// <remarks>
/// Assumes that neither PE image nor PDB loaded into memory can be unloaded or moved around.
<AssemblyName>System.Diagnostics.TraceSource</AssemblyName>
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
<ProjectGuid>{5380420C-EB1D-4C53-9CFC-916578C18334}</ProjectGuid>
- <NoWarn>$(NoWarn);CS0419</NoWarn>
<Configurations>netcoreapp-FreeBSD-Debug;netcoreapp-FreeBSD-Release;netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
/// <devdoc>
/// <para>
- /// Writes the output using <see cref="System.Diagnostics.Debug.Write"/>.
+ /// Writes the output using <see cref="System.Diagnostics.Debug.Write(string)"/>.
/// </para>
/// </devdoc>
public override void Write(string message)
/// <devdoc>
/// <para>
- /// Writes the output followed by a line terminator using <see cref="System.Diagnostics.Debug.Write"/>.
+ /// Writes the output followed by a line terminator using <see cref="System.Diagnostics.Debug.Write(string)"/>.
/// </para>
/// </devdoc>
public override void WriteLine(string message)
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<WarningsNotAsErrors>CS0618</WarningsNotAsErrors>
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
+ <NoWarn>$(NoWarn);CS1589</NoWarn>
<DefineConstants Condition="'$(TargetsWindows)' == 'true'">$(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS;FEATURE_SYSTEM_EVENTS</DefineConstants>
<IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard'">SR.PlatformNotSupported_Drawing</GeneratePlatformNotSupportedAssemblyMessage>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>net461-Debug;net461-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.0-Unix-Debug;netcoreapp2.0-Unix-Release;netcoreapp2.0-Windows_NT-Debug;netcoreapp2.0-Windows_NT-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release</Configurations>
</PropertyGroup>
<ItemGroup Condition="$(TargetGroup.StartsWith('netcoreapp'))">
/// <summary>
/// Checks if a printer has a valid PPD file. Caches the result unless force is true
/// </summary>
- /// <param name="force">Does the check disregarding the last cached value if true</param>
+ /// <param name="printer">Printer name</param>
internal static bool IsPrinterValid(string printer)
{
if (!cups_installed || printer == null | printer == string.Empty)
/// <summary>
/// </summary>
- /// <param name="load"></param>
- /// <param name="def_printer"></param>
private static void LoadPrinters()
{
installed_printers.Clear();
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<ProjectGuid>{8F472B93-574C-4AEC-9D28-6C2360A55BBF}</ProjectGuid>
<DefineConstants Condition="'$(TargetsWindows)' == 'true' And '$(TargetGroup)' != 'uap'">$(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS</DefineConstants>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
+ <NoWarn>$(NoWarn);CS1589</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<AssemblyName>System.IO.Compression.ZipFile</AssemblyName>
<ProjectGuid>{ACF967ED-7FC9-435C-B2C9-306626B7B6C6}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
/// -or- An archive entry was not found or was corrupt. -or- An archive entry has been compressed using a compression method
/// that is not supported.</exception>
///
- /// <param name="destinationArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
+ /// <param name="sourceArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
/// <param name="destinationDirectoryName">The path to the directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
/// <param name="overwrite">True to indicate overwrite.</param>
public static void ExtractToDirectory(string sourceArchiveFileName, string destinationDirectoryName, bool overwrite) =>
/// -or- An archive entry was not found or was corrupt. -or- An archive entry has been compressed using a compression method
/// that is not supported.</exception>
///
- /// <param name="destinationArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
+ /// <param name="sourceArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
/// <param name="destinationDirectoryName">The path to the directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
/// <param name="overwrite">True to indicate overwrite.</param>
/// <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this ZipArchive.
<OutputType>Library</OutputType>
<ProjectGuid>{E9ED0A04-23A8-4F8B-82C1-2B18AF74C870}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
/// <code>public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage)</code>.
/// </summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
- /// <param name="inner">The exception that is the cause of the current exception, or a <code>null</code>.</param>
+ /// <param name="innerException">The exception that is the cause of the current exception, or a <code>null</code>.</param>
public ZLibException(string message, Exception innerException) : base(message, innerException) { }
/// <summary>
<AssemblyName>System.IO.FileSystem.DriveInfo</AssemblyName>
<ProjectGuid>{29C14AD7-DC03-45DC-897D-8DACC762707E}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<PropertyGroup>
<ProjectGuid>{77E702D9-C6D8-4CE4-9941-D3056C3CCBED}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1571;CS1572;CS1587</NoWarn>
<Configurations>netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
}
}
- /// <summary>Read events from the inotify handle into the supplied array.</summary>
- /// <param name="events">The array into which events should be read.</param>
- /// <returns>The number of events read and stored into the array.</returns>
+ /// <summary>Read event from the inotify handle into the supplied event object.</summary>
+ /// <param name="notifyEvent">The event object to be populated.</param>
+ /// <returns><see langword="true"/> if event was read successfully, <see langword="false"/> otherwise.</returns>
private bool TryReadEvent(out NotifyEvent notifyEvent)
{
Debug.Assert(_buffer != null);
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<UWPCompatible Condition="'$(TargetGroup)' == 'uap' or '$(TargetGroup)' == 'uapaot'">true</UWPCompatible>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetsUnix)' == 'true'">
<ProjectGuid>{16EE5522-F387-4C9E-9EF2-B5134B043F37}</ProjectGuid>
<AssemblyName>System.IO.MemoryMappedFiles</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Compiled Source Files -->
string mapName, HandleInheritability inheritability, MemoryMappedFileAccess access,
MemoryMappedFileOptions options, long capacity)
{
- /// Try to open the file if it exists -- this requires a bit more work. Loop until we can
- /// either create or open a memory mapped file up to a timeout. CreateFileMapping may fail
- /// if the file exists and we have non-null security attributes, in which case we need to
- /// use OpenFileMapping. But, there exists a race condition because the memory mapped file
- /// may have closed between the two calls -- hence the loop.
- ///
- /// The retry/timeout logic increases the wait time each pass through the loop and times
- /// out in approximately 1.4 minutes. If after retrying, a MMF handle still hasn't been opened,
- /// throw an InvalidOperationException.
+ // Try to open the file if it exists -- this requires a bit more work. Loop until we can
+ // either create or open a memory mapped file up to a timeout. CreateFileMapping may fail
+ // if the file exists and we have non-null security attributes, in which case we need to
+ // use OpenFileMapping. But, there exists a race condition because the memory mapped file
+ // may have closed between the two calls -- hence the loop.
+ //
+ // The retry/timeout logic increases the wait time each pass through the loop and times
+ // out in approximately 1.4 minutes. If after retrying, a MMF handle still hasn't been opened,
+ // throw an InvalidOperationException.
Debug.Assert(access != MemoryMappedFileAccess.Write, "Callers requesting write access shouldn't try to create a mmf");
<DefineConstants>$(DefineConstants)</DefineConstants>
<OmitTransitiveCompileReferences>true</OmitTransitiveCompileReferences>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Compiled Source Files -->
/// Note: this size is always advisory; OS uses a suggestion.
/// </param>
/// <param name="outBufferSize">Outgoing buffer size, 0 or higher (see above)</param>
- /// <param name="pipeSecurity">PipeSecurity, or null for default security descriptor</param>
/// <param name="inheritability">Whether handle is inheritable</param>
- /// <param name="additionalAccessRights">Combination (logical OR) of PipeAccessRights.TakeOwnership,
- /// PipeAccessRights.AccessSystemSecurity, and PipeAccessRights.ChangePermissions</param>
private NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize,
HandleInheritability inheritability)
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard' AND '$(TargetsWindows)' != 'true' AND '$(TargetsLinux)' != 'true' AND '$(TargetsOSX)' != 'true'">SR.PlatformNotSupported_IOPorts</GeneratePlatformNotSupportedAssemblyMessage>
<DefineConstants>$(DefineConstants);NOSPAN</DefineConstants>
<IncludeDllSafeSearchPathAttribute>true</IncludeDllSafeSearchPathAttribute>
- <NoWarn>$(NoWarn);CS1572</NoWarn>
<Configurations>net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard-Windows_NT-Debug;netstandard-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;netstandard-Linux-Debug;netstandard-Linux-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
<PropertyGroup>
<!-- Enabling the interpreter for RC1 in all builds, see https://github.com/dotnet/corefx/issues/4033 -->
<FeatureInterpret>true</FeatureInterpret>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS0419</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
</PropertyGroup>
<PropertyGroup>
/// <summary>
/// The current computed rewrite action, obtained by OR-ing together
/// the rewrite actions returned from rewriting the child expressions
- /// in calls to <see cref="Add"/>.
+ /// in calls to <see cref="Add(Expression)"/>.
/// </summary>
private RewriteAction _action;
/// <summary>
/// The current computed evaluation stack state. After adding the first
- /// child expression through <see cref="Add"/>, the state changes from
+ /// child expression through <see cref="Add(Expression)"/>, the state changes from
/// the initial state (provided to the constructor) to non-empty.
/// </summary>
private Stack _stack;
/// Indicates whether the rewrite has completed. This flag is toggled
/// upon the first access to an indexer or the <see cref="Finish"/>
/// method on the child rewriter instance. Once set to <c>true</c>,
- /// calls to <see cref="Add"/> are no longer allowed.
+ /// calls to <see cref="Add(Expression)"/> are no longer allowed.
/// </summary>
private bool _done;
/// <summary>
/// Creates a new child rewriter instance using the specified initial
- /// evaluation <see cref="stack"/> state and the number of child
- /// expressions specified in <see cref="count"/>.
+ /// evaluation <paramref name="stack"/> state and the number of child
+ /// expressions specified in <paramref name="count"/>.
/// </summary>
/// <param name="self">The parent stack spiller.</param>
/// <param name="stack">The initial evaluation stack state.</param>
}
/// <summary>
- /// Called after all child expressions have been added using <see cref="Add"/>
+ /// Called after all child expressions have been added using <see cref="Add(Expression)"/>
/// invocations, causing the comma to be populated with the rewritten child
/// expressions and necessary assignments to temporary variables. A comma is
/// only built when the rewrite action is <see cref="RewriteAction.SpillStack"/>.
/// <summary>
/// Gets the rewrite action computed from rewriting child expressions during
- /// calls to <see cref="Add"/>.
+ /// calls to <see cref="Add(Expression)"/>.
/// </summary>
internal RewriteAction Action => _action;
/// <summary>
/// Marks the child expression representing the instance as a ByRef value.
/// </summary>
- /// <param name="expression">
+ /// <param name="expr">
/// The child expression representing the instance.
/// </param>
internal void MarkRefInstance(Expression expr)
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <param name="arg3">The fourth argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <param name="arg3">The fourth argument to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
- /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
+ /// A <see cref="DynamicExpression" /> that has <see cref="DynamicExpression.NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// For the object case we store the first argument in a field typed to <see cref="object"/> and when
/// the node is initially constructed this holds directly onto the <see cref="Expression"/> of the
/// first argument. When utilities in this library access the arguments it again uses this interface
- /// and the accessor for the first argument uses <see cref="Expression.ReturnObject"/> to return the object
+ /// and the accessor for the first argument uses <see cref="System.Dynamic.Utils.ExpressionUtils.ReturnObject{T}"/> to return the object
/// which handles the <see cref="Expression"/> or <see cref="Collections.ObjectModel.ReadOnlyCollection{T}"/> case.
/// When the user accesses the property the object field is updated to hold directly onto the
/// <see cref="Collections.ObjectModel.ReadOnlyCollection{T}"/>.
/// <param name="array">An expression representing the array to index.</param>
/// <param name="indexes">An array containing expressions used to index the array.</param>
/// <remarks>The expression representing the array can be obtained by using the <see cref="MakeMemberAccess"/> method,
- /// or through <see cref="NewArrayBounds"/> or <see cref="NewArrayInit"/>.</remarks>
+ /// or through <see cref="NewArrayBounds(Type, Expression[])"/> or <see cref="NewArrayInit(Type, Expression[])"/>.</remarks>
/// <returns>The created <see cref="IndexExpression"/>.</returns>
public static IndexExpression ArrayAccess(Expression array, params Expression[] indexes)
{
/// <param name="array">An expression representing the array to index.</param>
/// <param name="indexes">An <see cref="IEnumerable{T}"/> containing expressions used to index the array.</param>
/// <remarks>The expression representing the array can be obtained by using the <see cref="MakeMemberAccess"/> method,
- /// or through <see cref="NewArrayBounds"/> or <see cref="NewArrayInit"/>.</remarks>
+ /// or through <see cref="NewArrayBounds(Type, IEnumerable{Expression})"/> or <see cref="NewArrayInit(Type, IEnumerable{Expression})"/>.</remarks>
/// <returns>The created <see cref="IndexExpression"/>.</returns>
public static IndexExpression ArrayAccess(Expression array, IEnumerable<Expression> indexes)
{
/// Represents a constructor call that has a collection initializer.
/// </summary>
/// <remarks>
- /// Use the <see cref="Expression.ListInit"/> factory methods to create a ListInitExpression.
+ /// Use the <see cref="Expression.ListInit(NewExpression, Expression[])"/> factory methods to create a ListInitExpression.
/// The value of the <see cref="NodeType" /> property of a ListInitExpression is ListInit.
/// </remarks>
[DebuggerTypeProxy(typeof(ListInitExpressionProxy))]
/// <summary>Creates a <see cref="MemberListBinding"/> where the member is a field or property.</summary>
/// <returns>A <see cref="MemberListBinding"/> that has the <see cref="MemberBinding.BindingType"/> property equal to <see cref="MemberBindingType.ListBinding"/> and the <see cref="MemberBinding.Member"/> and <see cref="MemberListBinding.Initializers"/> properties set to the specified values.</returns>
/// <param name="member">A <see cref="MemberInfo"/> that represents a field or property to set the <see cref="MemberBinding.Member"/> property equal to.</param>
- /// <param name="initializers">An array of <see cref="ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param>
+ /// <param name="initializers">An array of <see cref="System.Linq.Expressions.ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param>
/// <exception cref="ArgumentNullException">
/// <paramref name="member"/> is null. -or-One or more elements of <paramref name="initializers"/> is null.</exception>
/// <exception cref="ArgumentException">
/// <summary>Creates a <see cref="MemberListBinding"/> where the member is a field or property.</summary>
/// <returns>A <see cref="MemberListBinding"/> that has the <see cref="MemberBinding.BindingType"/> property equal to <see cref="MemberBindingType.ListBinding"/> and the <see cref="MemberBinding.Member"/> and <see cref="MemberListBinding.Initializers"/> properties set to the specified values.</returns>
/// <param name="member">A <see cref="MemberInfo"/> that represents a field or property to set the <see cref="MemberBinding.Member"/> property equal to.</param>
- /// <param name="initializers">An <see cref="IEnumerable{T}"/> that contains <see cref="ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param>
+ /// <param name="initializers">An <see cref="IEnumerable{T}"/> that contains <see cref="System.Linq.Expressions.ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param>
/// <exception cref="ArgumentNullException">
/// <paramref name="member"/> is null. -or-One or more elements of <paramref name="initializers"/> is null.</exception>
/// <exception cref="ArgumentException">
/// Represents initializing members of a member of a newly created object.
/// </summary>
/// <remarks>
- /// Use the <see cref="Expression.MemberBind"/> factory methods to create a <see cref="MemberMemberBinding"/>.
+ /// Use the <see cref="Expression.MemberBind(MemberInfo, MemberBinding[])"/> factory methods to create a <see cref="MemberMemberBinding"/>.
/// The value of the <see cref="MemberBinding.BindingType"/> property of a <see cref="MemberMemberBinding"/> object is <see cref="MemberBinding"/>.
/// </remarks>
public sealed class MemberMemberBinding : MemberBinding
<ProjectGuid>{BE28323E-327A-4E0F-B7F9-16AB7EAB59DD}</ProjectGuid>
<AssemblyName>System.Linq.Parallel</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1712</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Compiled Source Files -->
/// <typeparam name="TLeftInput"></typeparam>
/// <typeparam name="TLeftKey"></typeparam>
/// <typeparam name="TRightInput"></typeparam>
+ /// <typeparam name="TRightKey"></typeparam>
/// <typeparam name="THashKey"></typeparam>
/// <typeparam name="TOutput"></typeparam>
+ /// <typeparam name="TOutputKey"></typeparam>
internal class HashJoinQueryOperatorEnumerator<TLeftInput, TLeftKey, TRightInput, TRightKey, THashKey, TOutput, TOutputKey>
: QueryOperatorEnumerator<TOutput, TOutputKey>
{
<ProjectGuid>{CA488507-3B6E-4494-B7BE-7B4EEEB2C4D1}</ProjectGuid>
<AssemblyName>System.Linq</AssemblyName>
<RootNamespace>System.Linq</RootNamespace>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
/// <remarks>
/// To handle chains of >= 3 sources, we chain the <see cref="Concat"/> iterators together and allow
/// <see cref="GetEnumerable"/> to fetch enumerables from the previous sources. This means that rather
- /// than each <see cref="IEnumerator{T}.MoveNext"/> and <see cref="IEnumerator{T}.Current"/> calls having to traverse all of the previous
+ /// than each <see cref="System.Collections.IEnumerator.MoveNext"/> and <see cref="IEnumerator{T}.Current"/> calls having to traverse all of the previous
/// sources, we only have to traverse all of the previous sources once per chained enumerable. An alternative
/// would be to use an array to store all of the enumerables, but this has a much better memory profile and
/// without much additional run-time cost.
/// </summary>
/// <remarks>
/// This flag allows us to determine in O(1) time whether we can preallocate for <see cref="ToArray"/>
- /// and <see cref="ConcatIterator{TSource}.ToList"/>, and whether we can get the count of the iterator cheaply.
+ /// and <see cref="M:System.Linq.Enumerable.ConcatIterator`1.ToList"/>, and whether we can get the count of the iterator cheaply.
/// </remarks>
private readonly bool _hasOnlyCollections;
/// </summary>
/// <param name="index">The 0-based index to access.</param>
/// <param name="found"><c>true</c> if the sequence contains an element at that index, <c>false</c> otherwise.</param>
- /// <returns>The element if <paramref name="found"/> is <c>true</c>, otherwise, the default value of <see cref="TElement"/>.</returns>
+ /// <returns>The element if <paramref name="found"/> is <c>true</c>, otherwise, the default value of <typeparamref name="TElement"/>.</returns>
TElement TryGetElementAt(int index, out bool found);
/// <summary>
/// Gets the first item in this sequence.
/// </summary>
/// <param name="found"><c>true</c> if the sequence contains an element, <c>false</c> otherwise.</param>
- /// <returns>The element if <paramref name="found"/> is <c>true</c>, otherwise, the default value of <see cref="TElement"/>.</returns>
+ /// <returns>The element if <paramref name="found"/> is <c>true</c>, otherwise, the default value of <typeparamref name="TElement"/>.</returns>
TElement TryGetFirst(out bool found);
/// <summary>
/// Gets the last item in this sequence.
/// </summary>
/// <param name="found"><c>true</c> if the sequence contains an element, <c>false</c> otherwise.</param>
- /// <returns>The element if <paramref name="found"/> is <c>true</c>, otherwise, the default value of <see cref="TElement"/>.</returns>
+ /// <returns>The element if <paramref name="found"/> is <c>true</c>, otherwise, the default value of <typeparamref name="TElement"/>.</returns>
TElement TryGetLast(out bool found);
}
}
<ProjectGuid>{950923D8-EC99-4F90-9BA6-8EB64582C555}</ProjectGuid>
<AssemblyName>System.Management</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1587;CS1734;CS0419;0618</NoWarn>
+ <NoWarn>$(NoWarn);0618</NoWarn>
<!-- Although we have a netstandard configuration, we know we are not currently UAP compatible-->
<UWPCompatible>false</UWPCompatible>
<IncludeDllSafeSearchPathAttribute>true</IncludeDllSafeSearchPathAttribute>
#region Interfaces
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("DC12A681-737F-11CF-884D-00AA004B2E24")]
[ComImport]
interface IWbemClassObject_DoNotMarshal
[InterfaceTypeAttribute(0x0001)]
[GuidAttribute("DC12A680-737F-11CF-884D-00AA004B2E24")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[ComImport]
interface IWbemQualifierSet_DoNotMarshal
{
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("DC12A687-737F-11CF-884D-00AA004B2E24")]
[ComImport]
interface IWbemLocator
}
[GuidAttribute("44ACA674-E8FC-11D0-A07C-00C04FB68820")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
interface IWbemContext
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("9556DC99-828C-11CF-A37E-00AA003240C7")]
[ComImport]
interface IWbemServices
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("9556DC99-828C-11CF-A37E-00AA003240C7")]
[ComImport]
interface IWbemServices_Old
}
[GuidAttribute("44ACA675-E8FC-11D0-A07C-00C04FB68820")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
interface IWbemCallResult
[PreserveSig] int GetCallStatus_([In] int lTimeout, [Out] out int plStatus);
}
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("7C857801-7381-11CF-884D-00AA004B2E24")]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("027947E1-D731-11CE-A357-000000000001")]
[ComImport]
interface IEnumWbemClassObject
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("BFBF883A-CAD7-11D3-A11B-00105A1F515A")]
[ComImport]
interface IWbemObjectTextSrc
}
[GuidAttribute("49353C9A-516B-11D1-AEA6-00C04FB68820")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
interface IWbemObjectAccess
}
[GuidAttribute("1CFABA8C-1523-11D1-AD79-00C04FD8FDFF")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
interface IUnsecuredApartment
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("E246107B-B06E-11D0-AD61-00C04FD8FDFF")]
[ComImport]
interface IWbemUnboundObjectSink
[InterfaceTypeAttribute(0x0001)]
[GuidAttribute("CE61E841-65BC-11D0-B6BD-00AA003240C7")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[ComImport]
interface IWbemPropertyProvider
{
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("E245105B-B06E-11D0-AD61-00C04FD8FDFF")]
[ComImport]
interface IWbemEventProvider
}
[GuidAttribute("580ACAF8-FA1C-11D0-AD72-00C04FD8FDFF")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
interface IWbemEventProviderQuerySink
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("631F7D96-D993-11D2-B339-00105A1F4AAF")]
[ComImport]
interface IWbemEventProviderSecurity
}
[GuidAttribute("631F7D97-D993-11D2-B339-00105A1F4AAF")]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[InterfaceTypeAttribute(0x0001)]
[ComImport]
interface IWbemProviderIdentity
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("E246107A-B06E-11D0-AD61-00C04FD8FDFF")]
[ComImport]
interface IWbemEventConsumerProvider
}
[InterfaceTypeAttribute(0x0001)]
- ///[TypeLibTypeAttribute(0x0200)]
+ //[TypeLibTypeAttribute(0x0200)]
[GuidAttribute("3AE0080A-7E3A-4366-BF89-0FEEDC931659")]
[ComImport]
interface IWbemEventSink
#region Co Classes
[ClassInterfaceAttribute((short)0x0000)]
[GuidAttribute("4590F811-1D3A-11D0-891F-00AA004B2E24")]
- ///[TypeLibTypeAttribute(0x0202)]
+ //[TypeLibTypeAttribute(0x0202)]
[ComImport]
class WbemLocator
{
[ClassInterfaceAttribute((short)0x0000)]
[GuidAttribute("674B6698-EE92-11D0-AD71-00C04FD8FDFF")]
- ///[TypeLibTypeAttribute(0x0202)]
+ //[TypeLibTypeAttribute(0x0202)]
[ComImport]
class WbemContext
{
[ClassInterfaceAttribute((short)0x0000)]
[GuidAttribute("49BD2028-1523-11D1-AD79-00C04FD8FDFF")]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ComImport]
class UnsecuredApartment
{
[GuidAttribute("9A653086-174F-11D2-B5F9-00104B703EFD")]
[ClassInterfaceAttribute((short)0x0000)]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ComImport]
class WbemClassObject
{
[ClassInterfaceAttribute((short)0x0000)]
[GuidAttribute("6DAF9757-2E37-11D2-AEC9-00C04FB68820")]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ComImport]
class MofCompiler
{
}
[ClassInterfaceAttribute((short)0x0000)]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[GuidAttribute("EB87E1BD-3233-11D2-AEC9-00C04FB68820")]
[ComImport]
class WbemStatusCodeText
[GuidAttribute("C49E32C6-BC8B-11D2-85D4-00105A1F8304")]
[ClassInterfaceAttribute((short)0x0000)]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ComImport]
class WbemBackupRestore
{
}
[ClassInterfaceAttribute((short)0x0000)]
- ///[TypeLibTypeAttribute(0x0202)]
+ //[TypeLibTypeAttribute(0x0202)]
[GuidAttribute("8D1C559D-84F0-4BB3-A7D5-56A7435A9BA6")]
[ComImport]
class WbemObjectTextSrc
}
[GuidAttribute("4CFC7932-0F9D-4BEF-9C32-8EA2A6B56FCB")]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ClassInterfaceAttribute((short)0x0000)]
[ComImport]
class WbemDecoupledRegistrar
}
[GuidAttribute("F5F75737-2843-4F22-933D-C76A97CDA62F")]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ClassInterfaceAttribute((short)0x0000)]
[ComImport]
class WbemDecoupledBasicEventProvider
[ClassInterfaceAttribute((short)0x0000)]
[GuidAttribute("CF4CC405-E2C5-4DDD-B3CE-5E7582D8C9FA")]
- ///[TypeLibTypeAttribute(0x0202)]
+ //[TypeLibTypeAttribute(0x0202)]
[ComImport]
class WbemDefPath
{
[GuidAttribute("EAC8A024-21E2-4523-AD73-A71A0AA2F56A")]
[ClassInterfaceAttribute((short)0x0000)]
- ///[TypeLibTypeAttribute(0x0002)]
+ //[TypeLibTypeAttribute(0x0002)]
[ComImport]
class WbemQuery
{
/// <param name="threadParams">Parameters to be passed to thread</param>
/// <param name="workerMethod">The delegate to be called from thread</param>
/// <param name="aptState">The apartment of the thread created</param>
+ /// <param name="background">Thread is created as a background or not</param>
private void InitializeThreadState ( object threadParams, ThreadWorkerMethodWithReturn workerMethod, ApartmentState aptState, bool background )
{
this.threadParams = threadParams ;
/// <param name="threadParams">Parameters to be passed to thread</param>
/// <param name="workerMethod">The delegate to be called from thread</param>
/// <param name="aptState">The apartment of the thread created</param>
+ /// <param name="background">Thread is created as a background or not</param>
private void InitializeThreadState ( object threadParams, ThreadWorkerMethodWithReturnAndParam workerMethod, ApartmentState aptState, bool background )
{
this.threadParams = threadParams ;
/// <param name="threadParams">Parameters to be passed to thread</param>
/// <param name="workerMethod">The delegate to be called from thread</param>
/// <param name="aptState">The apartment of the thread created</param>
+ /// <param name="background">Thread is created as a background or not</param>
private void InitializeThreadState ( object threadParams, ThreadWorkerMethod workerMethod, ApartmentState aptState, bool background )
{
this.threadParams = threadParams ;
/// <param name="threadParams">Parameters to be passed to thread</param>
/// <param name="workerMethod">The delegate to be called from thread</param>
/// <param name="aptState">The apartment of the thread created</param>
+ /// <param name="background">Thread is created as a background or not</param>
private void InitializeThreadState ( object threadParams, ThreadWorkerMethodWithParam workerMethod, ApartmentState aptState, bool background )
{
this.threadParams = threadParams ;
/// </returns>
/// <remarks>
/// <para>Note that the newly returned class has not been committed
- /// until the <see cref='System.Management.ManagementObject.Put'/>() method is explicitly called.</para>
+ /// until the <see cref='System.Management.ManagementObject.Put()'/> method is explicitly called.</para>
/// </remarks>
/// <example>
/// <code lang='C#'>ManagementClass existingClass = new ManagementClass("CIM_Service");
/// </returns>
/// <remarks>
/// <para>Note that the new instance is not committed until the
- /// <see cref='System.Management.ManagementObject.Put'/>() method is called. Before committing it, the key properties must
+ /// <see cref='System.Management.ManagementObject.Put()'/> method is called. Before committing it, the key properties must
/// be specified.</para>
/// </remarks>
/// <example>
/// <para> This value is returned when no more objects
/// are available, the number of objects returned is less than the number requested,
/// or at the end of an enumeration. It is also returned when the method is called
- /// with a value of 0 for the <paramref name="uCount"/> parameter.</para>
+ /// with a value of 0 for the "uCount" parameter.</para>
/// </summary>
False = 1,
/// <summary>
/// <summary>
/// <para>The current object is not a valid class definition.
/// Either it is incomplete, or it has not been registered with WMI using
- /// <see cref='System.Management.ManagementObject.Put'/>().</para>
+ /// <see cref='System.Management.ManagementObject.Put()'/>().</para>
/// </summary>
IncompleteClass = unchecked((int)0x80041020),
/// <summary>
/// <para>Initializes a new instance of the <see cref='System.Management.ManagementException'/> class that is serializable.</para>
/// </summary>
/// <param name='info'>The <see cref='System.Runtime.Serialization.SerializationInfo'/> to populate with data.</param>
- /// <param name='context'>The destination (see <see cref='System.Runtime.Serialization.StreamingContext'/> ) for this serialization.</param>
+ /// <param name='context'>The destination (see <see cref='System.Runtime.Serialization.StreamingContext'/> ) for this serialization.</param>
protected ManagementException(SerializationInfo info, StreamingContext context) : base(info, context)
{
errorCode = (ManagementStatus)info.GetValue("errorCode", typeof(ManagementStatus));
}
}
}
-
+
//******************************************************
//GetMethodParameters
//******************************************************
/// </returns>
/// <remarks>
/// <para> Gets the object containing the input parameters to a
- /// method, and then fills in the values and passes the object to the <see cref='System.Management.ManagementObject.InvokeMethod'/>() call.</para>
+ /// method, and then fills in the values and passes the object to the <see cref='System.Management.ManagementObject.InvokeMethod(String, ManagementBaseObject, InvokeMethodOptions)'/> call.</para>
/// </remarks>
public ManagementBaseObject GetMethodParameters(
string methodName)
/// <summary>
/// <para>Describes the possible effects of saving an object to WMI when
- /// using <see cref='System.Management.ManagementObject.Put'/>.</para>
+ /// using <see cref='System.Management.ManagementObject.Put()'/>.</para>
/// </summary>
public enum PutType
{
/// <para>Initializes a new instance of the <see cref='System.Management.InvokeMethodOptions'/> class.</para>
/// </overload>
/// <summary>
- /// <para>Initializes a new instance of the <see cref='System.Management.InvokeMethodOptions'/> class for the <see cref='System.Management.ManagementObject.InvokeMethod'/> operation, using default values.
+ /// <para>Initializes a new instance of the <see cref='System.Management.InvokeMethodOptions'/> class for the <see cref='System.Management.ManagementObject.InvokeMethod(String, ManagementBaseObject, InvokeMethodOptions) '/> operation, using default values.
/// This is the default constructor.</para>
/// </summary>
public InvokeMethodOptions() : base () {}
/// connection, using the specified values.</para>
/// </summary>
/// <param name='locale'>The locale to be used for the connection.</param>
- /// <param name=' username'>The user name to be used for the connection. If null, the credentials of the currently logged-on user are used.</param>
- /// <param name=' securepassword'>The secure password for the given user name. If the user name is also null, the credentials used will be those of the currently logged-on user.</param>
- /// <param name=' authority'><para>The authority to be used to authenticate the specified user.</para></param>
- /// <param name=' impersonation'>The COM impersonation level to be used for the connection.</param>
- /// <param name=' authentication'>The COM authentication level to be used for the connection.</param>
- /// <param name=' enablePrivileges'><see langword='true'/>to enable special user privileges; otherwise, <see langword='false'/> . This parameter should only be used when performing an operation that requires special Windows NT user privileges.</param>
- /// <param name=' context'>A provider-specific, named value pairs object to be passed through to the provider.</param>
- /// <param name=' timeout'>Reserved for future use.</param>
+ /// <param name='username'>The user name to be used for the connection. If null, the credentials of the currently logged-on user are used.</param>
+ /// <param name='password'>The secure password for the given user name. If the user name is also null, the credentials used will be those of the currently logged-on user.</param>
+ /// <param name='authority'><para>The authority to be used to authenticate the specified user.</para></param>
+ /// <param name='impersonation'>The COM impersonation level to be used for the connection.</param>
+ /// <param name='authentication'>The COM authentication level to be used for the connection.</param>
+ /// <param name='enablePrivileges'><see langword='true'/>to enable special user privileges; otherwise, <see langword='false'/> . This parameter should only be used when performing an operation that requires special Windows NT user privileges.</param>
+ /// <param name='context'>A provider-specific, named value pairs object to be passed through to the provider.</param>
+ /// <param name='timeout'>Reserved for future use.</param>
public ConnectionOptions (string locale,
string username, SecureString password, string authority,
ImpersonationLevel impersonation, AuthenticationLevel authentication,
/// class name and condition, selecting only the specified properties.</para>
/// </summary>
/// <param name='className'>The name of the class from which to select.</param>
- /// <param name=' condition'>The condition to be applied to instances of the selected class.</param>
- /// <param name=' selectedProperties'>An array of property names to be returned in the query results.</param>
+ /// <param name='condition'>The condition to be applied to instances of the selected class.</param>
+ /// <param name='selectedProperties'>An array of property names to be returned in the query results.</param>
/// <example>
/// <code lang='C#'>String[] properties = {"VariableName", "VariableValue"};
///
/// <summary>
/// <para>Initializes a new instance of the <see cref='System.Management.SelectQuery'/>
/// class for a schema query, optionally specifying a condition. For schema queries,
- /// only the <paramref name="condition"/> parameter is valid: <paramref name="className"/>
- /// and <paramref name="selectedProperties"/>
- /// are not supported and are ignored.</para>
+ /// only the <paramref name="condition"/> parameter is valid.</para>
/// </summary>
/// <param name='isSchemaQuery'><see langword='true'/>to indicate that this is a schema query; otherwise, <see langword='false'/>. A <see langword='false'/> value is invalid in this constructor.</param>
- /// <param name=' condition'>The condition to be applied to form the result set of classes.</param>
+ /// <param name='condition'>The condition to be applied to form the result set of classes.</param>
/// <example>
/// <code lang='C#'>SelectQuery s = new SelectQuery(true, "__CLASS = 'Win32_Service'");
/// </code>
/// and writes it to the specified file.
/// </summary>
/// <param name="lang">The language to generate in.</param>
- /// <param name="FilePath">The path to the file where the generated code should be stored.</param>
- /// <param name="Namespace">The .NET namespace into which the class is generated.</param>
+ /// <param name="filePath">The path to the file where the generated code should be stored.</param>
+ /// <param name="netNamespace">The .NET namespace into which the class is generated.</param>
public bool GenerateCode(CodeLanguage lang ,string filePath,string netNamespace)
{
// check for proper arguments
<AssemblyName>System.Net.Http</AssemblyName>
<WindowsRID>win</WindowsRID>
<!-- Suppress warnings for type conflicts between SR in partial facade and mscorlib -->
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734;0436</NoWarn>
+ <NoWarn>$(NoWarn);0436</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DefineConstants>$(DefineConstants);HTTP_DLL</DefineConstants>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
/// </summary>
/// <returns>
/// <paramref name="length"/> if all of the data was written, or
- /// <see cref="Interop.libcurl.CURL_WRITEFUNC_PAUSE"/> if the data wasn't copied and the connection
+ /// <see cref="Interop.Http.CURL_WRITEFUNC_PAUSE"/> if the data wasn't copied and the connection
/// should be paused until a reader is available.
/// </returns>
internal ulong TransferDataToResponseStream(IntPtr pointer, long length)
/// Decodes a Huffman encoded string from a byte array.
/// </summary>
/// <param name="src">The source byte array containing the encoded data.</param>
- /// <param name="offset">The offset in the byte array where the coded data starts.</param>
- /// <param name="count">The number of bytes to decode.</param>
/// <param name="dst">The destination byte array to store the decoded data.</param>
/// <returns>The number of decoded symbols.</returns>
public static int Decode(ReadOnlySpan<byte> src, Span<byte> dst)
}
/// <summary>Enqueues a waiter to the waiters list.</summary>
- /// <param name="waiter">The waiter to add.</param>
private TaskCompletionSourceWithCancellation<HttpConnection> EnqueueWaiter()
{
Debug.Assert(Monitor.IsEntered(SyncObj));
<PropertyGroup>
<ProjectGuid>{2BA70C31-18B0-461B-B6C9-14B11B65BE89}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
/// <summary>
/// ctor.
/// </summary>
- /// <param name="fieldValue">Unparsed value of the Content-Type header.</param>
+ /// <param name="contentType">Unparsed value of the Content-Type header.</param>
public ContentType(string contentType)
{
if (contentType == null)
<ProjectGuid>{1714448C-211E-48C1-8B7E-4EE667D336A1}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
/// <para>
/// Provides an
/// array of strings containing other DNS names that resolve to the IP addresses
- /// in <paramref name='AddressList'/>.
+ /// in <see cref="AddressList"/>.
/// </para>
/// </devdoc>
/// <devdoc>
/// <devdoc>
/// <para>
/// Provides an
- /// array of <paramref name='IPAddress'/> objects.
+ /// array of <see cref="IPAddress"/> objects.
/// </para>
/// </devdoc>
/// <devdoc>
<ProjectGuid>{3CA89D6C-F8D1-4813-9775-F8D249686E31}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1571;CS1587</NoWarn>
<Configurations>netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-FreeBSD-Debug;netcoreapp-FreeBSD-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
string tcp6FileContents = File.ReadAllText(tcp6ConnectionsFile);
string[] v6connections = tcp6FileContents.Split(s_newLineSeparator, StringSplitOptions.RemoveEmptyEntries);
- /// First line is header in each file.
+ // First line is header in each file.
IPEndPoint[] endPoints = new IPEndPoint[v4connections.Length + v6connections.Length - 2];
int index = 0;
int skip = 0;
<ProjectGuid>{8772BC91-7B55-49B9-94FA-4B1BE5BEAB55}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<PropertyGroup>
{
/// <devdoc>
/// <para>
- /// Specifies the address families that an instance of the <see cref='System.Net.Sockets.Socket'/>
+ /// Specifies the address families that an instance of the <see cref='T:System.Net.Sockets.Socket'/>
/// class can use.
/// </para>
/// </devdoc>
<ProjectGuid>{43311AFB-D7C4-4E5A-B1DE-855407F90D1B}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<PropertyGroup>
/// <summary>Returns a <see cref="Int32TaskSocketAsyncEventArgs"/> instance for reuse.</summary>
/// <param name="saea">The instance to return.</param>
- /// <param name="isReceive">true if this instance is used for receives; false if used for sends.</param>
private void ReturnSocketAsyncEventArgs(TaskSocketAsyncEventArgs<Socket> saea)
{
Debug.Assert(_cachedTaskEventArgs != null, "Should have been initialized when renting");
private short _token;
/// <summary>Initializes the event args.</summary>
- /// <param name="socket">The associated socket.</param>
- /// <param name="buffer">The buffer to use for all operations.</param>
public AwaitableSocketAsyncEventArgs() :
base(flowExecutionContext: false) // avoid flowing context at lower layers as we only expose ValueTask, which handles it
{
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<ProjectGuid>{747BE014-7C1D-4460-95AF-B41C35717165}</ProjectGuid>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS1574</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netstandard-Debug;netstandard-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<AssemblyName>System.Net.WebSockets</AssemblyName>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
- <NoWarn>$(NoWarn);CS0419</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
namespace System.Net.WebSockets
{
- /// <summary>Represents the result of performing a single <see cref="WebSocket.ReceiveAsync"/> operation on a <see cref="WebSocket"/>.</summary>
+ /// <summary>Represents the result of performing a single <see cref="WebSocket.ReceiveAsync(Memory{byte}, System.Threading.CancellationToken)"/> operation on a <see cref="WebSocket"/>.</summary>
public readonly struct ValueWebSocketReceiveResult
{
private readonly uint _countAndEndOfMessage;
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DefaultLanguage>en-US</DefaultLanguage>
<CLSCompliant>false</CLSCompliant>
- <NoWarn>$(NoWarn);3021;CS1571;CS1574</NoWarn>
+ <NoWarn>$(NoWarn);3021</NoWarn>
<DefineConstants>$(DefineConstants);CORERT</DefineConstants>
<SystemReflectionMetadataPath>..\..\System.Reflection.Metadata\src\</SystemReflectionMetadataPath>
<Configurations>netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
<ProjectGuid>{BAC347A3-9841-44FC-B1E3-2344D1152C23}</ProjectGuid>
<AssemblyName>System.Private.Xml.Linq</AssemblyName>
<RootNamespace>System.Xml</RootNamespace>
- <NoWarn>$(NoWarn);CS1574</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<AssemblyName>System.Private.Xml</AssemblyName>
<RootNamespace>System.Xml</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn),CS1572,CS1574,CS1587,CS1589,CS1591,CS1723,CS1734,649,169,414</NoWarn>
+ <NoWarn>$(NoWarn);CS1589;649;169;414</NoWarn>
<FeatureCompiledXsl Condition="'$(TargetGroup)' != 'uap' AND '$(TargetGroup)' != 'uapaot' AND '$(TargetGroup)' != 'netcoreappaot'">true</FeatureCompiledXsl>
<DefineConstants Condition="'$(FeatureCompiledXsl)' == 'true'">$(DefineConstants);FEATURE_COMPILED_XSL</DefineConstants>
<DefineConstants Condition="'$(TargetsAOT)' == 'true'">$(DefineConstants);FEATURE_SERIALIZATION_UAPAOT;UAPAOT</DefineConstants>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
}
}
+#if DEBUG
/// <summary>
/// Print syntax tree
/// </summary>
-#if DEBUG
public abstract void Dump(StringBuilder bb, SymbolsDictionary symbols, Positions positions);
#endif
}
/// </summary>
/// <param name="xse">XmlSchemaElement corresponding to the element just read by the xtr XmlTextReader</param>
/// <param name="bCreatingNewType">true if the type is newly created, false if the type already existed and matches the current element name</param>
- /// <param name="nsContext">namespaceURI of the parent element. Used to distinguish if ref= should be used when parent is in different ns than child.</param>
+ /// <param name="parentSchema">namespaceURI of the parent element. Used to distinguish if ref= should be used when parent is in different ns than child.</param>
internal void InferElement(XmlSchemaElement xse, bool bCreatingNewType, XmlSchema parentSchema)
{
bool bEmptyElement = _xtr.IsEmptyElement;
/// <param name="xtr">text reader positioned to the current element</param>
/// <param name="ct">complex type with Sequence or Choice Particle</param>
/// <param name="lastUsedSeqItem">ordinal number in the sequence to indicate current sequence position</param>
- /// <param name="itemsMadeOptional">hashtable of elements with minOccurs changed to 0 in order to satisfy sequence requirements. These elements will be rolled back if Sequence becomes Sequence of Choice.</param>
/// <param name="bParticleChanged">This indicates to the caller if Sequence was changed to Choice</param>
internal XmlSchemaElement FindMatchingElement(bool bCreatingNewType, XmlReader xtr, XmlSchemaComplexType ct, ref int lastUsedSeqItem, ref bool bParticleChanged, XmlSchema parentSchema, bool setMaxoccurs)
{
/// <summary>
/// Serialize a QilExpression graph as XML.
/// </summary>
- /// <param name="q">the QilExpression graph</param>
+ /// <param name="node">the QilExpression graph</param>
public void ToXml(QilNode node)
{
VisitAssumeReference(node);
/// <summary>
/// Lookup or generate a name for a node. Uses annotations to store the name on the node.
/// </summary>
- /// <param name="i">the node</param>
+ /// <param name="n">the node</param>
/// <returns>the node name (unique across nodes)</returns>
public string NameOf(QilNode n)
{
/// <summary>
/// Compute the cardinality of a subset of a set of the given cardinality.
/// </summary>
- /// <param name="c">the cardinality of a set</param>
/// <returns>the cardinality of a subset</returns>
public XmlQueryCardinality AtMost()
{
/// <summary>
/// Create a Node XmlQueryType having an XSD content type.
/// </summary>
- /// <param name="code">unless kind is Root, Element, or Attribute, "contentType" is ignored</param>
+ /// <param name="kind">unless kind is Root, Element, or Attribute, "contentType" is ignored</param>
/// <param name="contentType">content type of the node</param>
/// <returns>the node type</returns>
public static XmlQueryType Type(XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable)
<IncludeDllSafeSearchPathAttribute>true</IncludeDllSafeSearchPathAttribute>
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
<GenFacadesIgnoreMissingTypes Condition="'$(TargetGroup)'=='uapaot'">true</GenFacadesIgnoreMissingTypes>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'uapaot'">true</IsPartialFacadeAssembly>
<!-- CS1698 - Disable warning about reference to 4.0.0.0 System.Runtime.WindowsRuntime having same simple name as target assembly -->
<!-- CS0436 - System.Private.CoreLib has internals visible to System.Runtime.WindowsRuntime and is colliding internals on common shared code -->
- <NoWarn>$(NoWarn);1698;0436;CS1572;CS1574;CS1711</NoWarn>
+ <NoWarn>$(NoWarn);1698;0436</NoWarn>
<ProjectGuid>{844A2A0B-4169-49C3-B367-AFDC4894E487}</ProjectGuid>
<Configurations>netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netstandard-Debug;netstandard-Release;netstandard1.0-Debug;netstandard1.0-Release;netstandard1.2-Debug;netstandard1.2-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
</PropertyGroup>
#region Factory methods for creating "normal" IAsyncInfo instances backed by a Task created by a pastProvider delegate
/// <summary>
- /// Creates and starts an <see cref="Windows.Foundation.IAsyncAction"/> instance from a function that generates
+ /// Creates and starts an <see cref="T:Windows.Foundation.IAsyncAction"/> instance from a function that generates
/// a <see cref="System.Threading.Tasks.Task"/>.
/// Use this overload if your task supports cancellation in order to hook-up the <code>Cancel</code>
/// mechanism exposed by the created asynchronous action and the cancellation of your task.</summary>
/// The function is passed a <see cref="System.Threading.CancellationToken"/> that the task may monitor
/// to be notified of a cancellation request;
/// you may ignore the <code>CancellationToken</code> if your task does not support cancellation.</param>
- /// <returns>An unstarted <see cref="Windows.Foundation.IAsyncAction"/> instance. </returns>
+ /// <returns>An unstarted <see cref="T:Windows.Foundation.IAsyncAction"/> instance. </returns>
public static IAsyncAction Run(Func<CancellationToken, Task> taskProvider)
{
if (taskProvider == null)
/// <summary>
- /// Creates and starts an <see cref="Windows.Foundation.IAsyncActionWithProgress{TProgress}"/> instance from a function
+ /// Creates and starts an <see cref="T:Windows.Foundation.IAsyncActionWithProgress`1"/> instance from a function
/// that generates a <see cref="System.Threading.Tasks.Task"/>.
/// Use this overload if your task supports cancellation and progress monitoring is order to:
/// (1) hook-up the <code>Cancel</code> mechanism of the created asynchronous action and the cancellation of your task,
/// you may ignore the <code>CancellationToken</code> if your task does not support cancellation.
/// It is also passed a <see cref="System.IProgress{TProgress}"/> instance to which progress updates may be published;
/// you may ignore the <code>IProgress</code> if your task does not support progress reporting.</param>
- /// <returns>An unstarted <see cref="Windows.Foundation.IAsyncActionWithProgress{TProgress}"/> instance.</returns>
+ /// <returns>An unstarted <see cref="T:Windows.Foundation.IAsyncActionWithProgress`1"/> instance.</returns>
public static IAsyncActionWithProgress<TProgress> Run<TProgress>(Func<CancellationToken, IProgress<TProgress>, Task> taskProvider)
{
if (taskProvider == null)
/// <summary>
- /// Creates and starts an <see cref="Windows.Foundation.IAsyncOperation{TResult}"/> instance from a function
+ /// Creates and starts an <see cref="T:Windows.Foundation.IAsyncOperation`1"/> instance from a function
/// that generates a <see cref="System.Threading.Tasks.Task{TResult}"/>.
/// Use this overload if your task supports cancellation in order to hook-up the <code>Cancel</code>
/// mechanism exposed by the created asynchronous operation and the cancellation of your task.</summary>
/// The function is passed a <see cref="System.Threading.CancellationToken"/> that the task may monitor
/// to be notified of a cancellation request;
/// you may ignore the <code>CancellationToken</code> if your task does not support cancellation.</param>
- /// <returns>An unstarted <see cref="Windows.Foundation.IAsyncOperation{TResult}"/> instance.</returns>
+ /// <returns>An unstarted <see cref="T:Windows.Foundation.IAsyncOperation`1"/> instance.</returns>
public static IAsyncOperation<TResult> Run<TResult>(Func<CancellationToken, Task<TResult>> taskProvider)
{
// This is only internal to reduce the number of public overloads.
/// <summary>
- /// Creates and starts an <see cref="Windows.Foundation.IAsyncOperationWithProgress{TResult,TProgress}"/> instance
+ /// Creates and starts an <see cref="T:Windows.Foundation.IAsyncOperationWithProgress`2"/> instance
/// from a function that generates a <see cref="System.Threading.Tasks.Task{TResult}"/>.<br />
/// Use this overload if your task supports cancellation and progress monitoring is order to:
/// (1) hook-up the <code>Cancel</code> mechanism of the created asynchronous operation and the cancellation of your task,
/// you may ignore the <code>CancellationToken</code> if your task does not support cancellation.
/// It is also passed a <see cref="System.IProgress{TProgress}"/> instance to which progress updates may be published;
/// you may ignore the <code>IProgress</code> if your task does not support progress reporting.</param>
- /// <returns>An unstarted <see cref="Windows.Foundation.IAsyncOperationWithProgress{TResult,TProgress}"/> instance.</returns>
+ /// <returns>An unstarted <see cref="T:Windows.Foundation.IAsyncOperationWithProgress`2"/> instance.</returns>
public static IAsyncOperationWithProgress<TResult, TProgress> Run<TResult, TProgress>(
Func<CancellationToken, IProgress<TProgress>, Task<TResult>> taskProvider)
{
/// <summary>Registers the async operation for cancellation.</summary>
/// <param name="asyncInfo">The asynchronous operation.</param>
- /// <param name="cancellationToken">The token used to request cancellation of the asynchronous operation.</param>
internal void RegisterForCancellation(IAsyncInfo asyncInfo)
{
Debug.Assert(asyncInfo != null);
{
/// <summary>Provides a bridge between IAsyncOperation* and Task.</summary>
/// <typeparam name="TResult">Specifies the type of the result of the asynchronous operation.</typeparam>
- /// <typeparam name="TProgress">Specifies the type of progress notification data.</typeparam>
internal sealed class AsyncInfoToTaskBridge<TResult> : TaskCompletionSource<TResult>
{
/// <summary>The CancellationToken associated with this operation.</summary>
/// <summary>Registers the async operation for cancellation.</summary>
/// <param name="asyncInfo">The asynchronous operation.</param>
- /// <param name="cancellationToken">The token used to request cancellation of the asynchronous operation.</param>
internal void RegisterForCancellation(IAsyncInfo asyncInfo)
{
Debug.Assert(asyncInfo != null);
/// <summary>Bridge to Completed handler on IAsyncActionWithProgress{TProgress}.</summary>
+ /// <typeparam name="TProgress">Specifies the type of progress notification data.</typeparam>
internal void CompleteFromAsyncActionWithProgress<TProgress>(IAsyncActionWithProgress<TProgress> asyncInfo, AsyncStatus asyncStatus)
{
Complete(asyncInfo, null, asyncStatus);
/// <summary>Bridge to Completed handler on IAsyncOperationWithProgress{TResult,TProgress}.</summary>
+ /// <typeparam name="TProgress">Specifies the type of progress notification data.</typeparam>
internal void CompleteFromAsyncOperationWithProgress<TProgress>(IAsyncOperationWithProgress<TResult, TProgress> asyncInfo, AsyncStatus asyncStatus)
{
// delegate cached by compiler:
<ProjectGuid>{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DefineConstants>$(DefineConstants);INTERNAL_ASYMMETRIC_IMPLEMENTATIONS</DefineConstants>
- <NoWarn>CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734;CS3016;CA5351;$(NoWarn)</NoWarn>
+ <NoWarn>CS3016;CA5351;$(NoWarn)</NoWarn>
<Configurations>netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<Import Project="$(CommonPath)\System\Security\Cryptography\Asn1\AsnXml.targets"/>
/// <summary>
/// Create a curve from the given cref="Oid" value.
/// </summary>
- /// <param name="oidFriendlyName">The Oid value to use.</param>
+ /// <param name="oidValue">The Oid value to use.</param>
/// <returns>An ECCurve representing a named curve.</returns>
public static ECCurve CreateFromValue(string oidValue)
{
<ProjectGuid>{3B7F91D7-0677-40CA-B4E7-D4E09D89A74E}</ProjectGuid>
<AssemblyName>System.Security.Cryptography.Csp</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1574</NoWarn>
<NoWarn Condition="'$(TargetsUnix)' == 'true'">$(NoWarn);CS0809</NoWarn>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<OmitResources Condition="'$(IsPartialFacadeAssembly)' == 'true'">true</OmitResources>
<UsePackageTargetRuntimeDefaults Condition="'$(IsPartialFacadeAssembly)' != 'true'">true</UsePackageTargetRuntimeDefaults>
<IncludeDllSafeSearchPathAttribute>true</IncludeDllSafeSearchPathAttribute>
- <NoWarn>$(NoWarn);CS1591;CS3016</NoWarn>
+ <NoWarn>$(NoWarn);CS3016</NoWarn>
<Configurations>net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard-Debug;netstandard-Release;netstandard-Windows_NT-Debug;netstandard-Windows_NT-Release</Configurations>
</PropertyGroup>
<Import Project="$(CommonPath)\System\Security\Cryptography\Asn1\AsnXml.targets"/>
<AssemblyName>System.Security.Cryptography.Primitives</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
- <NoWarn>$(NoWarn);CS1570;CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734;CS3016</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
/// <summary>
/// Specifies the name of a cryptographic hash algorithm.
/// </summary>
+ /// <remarks>
/// Asymmetric Algorithms implemented using Microsoft's CNG (Cryptography Next Generation) API
/// will interpret the underlying string value as a CNG algorithm identifier:
/// * https://msdn.microsoft.com/en-us/library/windows/desktop/aa375534(v=vs.85).aspx
<OutputType>Library</OutputType>
<AssemblyName>System.Security.Cryptography.X509Certificates</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734;CS3016</NoWarn>
+ <NoWarn>$(NoWarn);CS3016</NoWarn>
<Configurations>netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<Import Project="$(CommonPath)\System\Security\Cryptography\Asn1\AsnXml.targets"/>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ProjectGuid>{0544EAE3-0CF2-4EA6-93BE-A9FF8B52724A}</ProjectGuid>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' != 'netstandard'">true</IsPartialFacadeAssembly>
- <NoWarn>$(NoWarn);CS1572</NoWarn>
<Configurations>net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release</Configurations>
</PropertyGroup>
<ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true'">
/// algorithm not being on the valid list.
/// </summary>
/// <param name="signedXml">SignedXml object doing the signature verification</param>
- /// <param name="result">result of the signature format verification</param>
+ /// <param name="algorithm">Canonicalization algorithm</param>
+ /// <param name="validAlgorithms">List of valid canonicalization algorithms</param>
internal static void LogUnsafeCanonicalizationMethod(SignedXml signedXml, string algorithm, IEnumerable<string> validAlgorithms)
{
Debug.Assert(signedXml != null, "signedXml != null");
/// </summary>
/// <param name="signedXml">SignedXml object calculating the signature</param>
/// <param name="key">key the signature is created with</param>
- /// <param name="hash">hash algorithm used to digest the output</param>
- /// <param name="asymmetricSignatureFormatter">signature formatter used to do the signing</param>
internal static void LogSigning(SignedXml signedXml, KeyedHashAlgorithm key)
{
Debug.Assert(signedXml != null, "signedXml != null");
<IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
<OmitResources Condition="'$(TargetsNetFx)' == 'true'">true</OmitResources>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetsWindows)' != 'true'">SR.PlatformNotSupported_Principal</GeneratePlatformNotSupportedAssemblyMessage>
- <NoWarn>$(NoWarn);CS1587;CS1574</NoWarn>
<Configurations>net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.0-Unix-Debug;netcoreapp2.0-Unix-Release;netcoreapp2.0-Windows_NT-Debug;netcoreapp2.0-Windows_NT-Release;netcoreapp2.1-Unix-Debug;netcoreapp2.1-Unix-Release;netcoreapp2.1-Windows_NT-Debug;netcoreapp2.1-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard-Debug;netstandard-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup Condition="($(TargetGroup.StartsWith('netcoreapp')) or '$(TargetGroup)' == 'uap') AND '$(TargetsWindows)' == 'true'">
DigestAuthenticationSid = 52,
/// <summary>Indicates a SID present when the Secure Channel (SSL/TLS) authentication package authenticated the client.</summary>
SChannelAuthenticationSid = 53,
- /// <summary>Indicates a SID present when the user authenticated from within the forest or across a trust that does not have the selective authentication option enabled. If this SID is present, then <see cref="WinOtherOrganizationSid"/> cannot be present.</summary>
+ /// <summary>Indicates a SID present when the user authenticated from within the forest or across a trust that does not have the selective authentication option enabled. If this SID is present, then <see cref="OtherOrganizationSid"/> cannot be present.</summary>
ThisOrganizationSid = 54,
- /// <summary>Indicates a SID present when the user authenticated across a forest with the selective authentication option enabled. If this SID is present, then <see cref="WinThisOrganizationSid"/> cannot be present.</summary>
+ /// <summary>Indicates a SID present when the user authenticated across a forest with the selective authentication option enabled. If this SID is present, then <see cref="ThisOrganizationSid"/> cannot be present.</summary>
OtherOrganizationSid = 55,
/// <summary>Indicates a SID that allows a user to create incoming forest trusts. It is added to the token of users who are a member of the Incoming Forest Trust Builders built-in group in the root domain of the forest.</summary>
BuiltinIncomingForestTrustBuildersSid = 56,
}
else
{
- /// This is an impersonation token, get the impersonation level
+ // This is an impersonation token, get the impersonation level
int level = GetTokenInformation<int>(TokenInformationClass.TokenImpersonationLevel);
impersonationLevel = (TokenImpersonationLevel)level + 1;
}
<ProjectGuid>{E97557E3-7DB1-4828-ACA5-44D8C68B6698}</ProjectGuid>
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1572;CS1574;CS1587;CS1589;CS1591;CS1723;CS1734</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
/// <summary>
///
/// </summary>
- /// <param name="message"></param>
/// <param name="innerException"></param>
internal TransactionAbortedException(Exception innerException) : base(SR.TransactionAborted, innerException)
{
#region Enlistment
/// <summary>Trace an event for enlistment status.</summary>
- /// <param name="enlisment">The enlistment to report status.</param>
+ /// <param name="enlistment">The enlistment to report status.</param>
/// <param name="notificationCall">The notification call on the enlistment.</param>
[NonEvent]
internal void EnlistmentStatus(InternalEnlistment enlistment, NotificationCall notificationCall)
#region Enlistment Done
/// <summary>Trace an event for enlistment done.</summary>
- /// <param name="enlisment">The enlistment done.</param>
+ /// <param name="enlistment">The enlistment done.</param>
[NonEvent]
internal void EnlistmentDone(InternalEnlistment enlistment)
{
#region Enlistment Prepared
/// <summary>Trace an event for enlistment prepared.</summary>
- /// <param name="enlisment">The enlistment prepared.</param>
+ /// <param name="enlistment">The enlistment prepared.</param>
[NonEvent]
internal void EnlistmentPrepared(InternalEnlistment enlistment)
{
#region TransactionManager Reenlist
/// <summary>Trace an event when reenlist transactionmanager.</summary>
- /// <param name="resourceMangerID">The resource manger ID.</param>
+ /// <param name="resourceManagerID">The resource manager ID.</param>
[NonEvent]
internal void TransactionManagerReenlist(Guid resourceManagerID)
{
#region TransactionManager Recovery Complete
/// <summary>Trace an event when transactionmanager recovery complete.</summary>
- /// <param name="resourceMangerID">The resource manger ID.</param>
+ /// <param name="resourceManagerID">The resource manager ID.</param>
[NonEvent]
internal void TransactionManagerRecoveryComplete(Guid resourceManagerID)
{
<ProjectGuid>{E0C4E267-B1D6-463B-9C95-8C0D3C335924}</ProjectGuid>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetsWindows)' != 'true'">SR.PlatformNotSupported_X509Certificate2UI</GeneratePlatformNotSupportedAssemblyMessage>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <NoWarn>$(NoWarn);CS1574</NoWarn>
<Configurations>netcoreapp-Debug;netcoreapp-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsWindows)' == 'true'">