diff --git a/docs/csharp/fundamentals/types/interfaces.md b/docs/csharp/fundamentals/types/interfaces.md index 0b937053a1d97..64a6d423717f3 100644 --- a/docs/csharp/fundamentals/types/interfaces.md +++ b/docs/csharp/fundamentals/types/interfaces.md @@ -18,7 +18,7 @@ You define an interface by using the [`interface`](../../language-reference/keyw The name of an interface must be a valid C# [identifier name](../coding-style/identifier-names.md). By convention, interface names begin with a capital `I`. -Any class or struct that implements the interface must contain a definition for an method that matches the signature that the interface specifies. As a result, you can count on a class that implements `IEquatable` to contain an `Equals` method with which an instance of the class can determine whether it's equal to another instance of the same class. +Any class or struct that implements the interface must contain a definition for an method that matches the signature that the interface specifies. As a result, you can count on a class of type `T` that implements `IEquatable` to contain an `Equals` method with which an instance of this class can determine whether it's equal to another instance of the same class. The definition of `IEquatable` doesn't provide an implementation for `Equals`. A class or struct can implement multiple interfaces, but a class can only inherit from a single class. diff --git a/docs/framework/unmanaged-api/debugging/corgcreferencetype-enumeration.md b/docs/framework/unmanaged-api/debugging/corgcreferencetype-enumeration.md index a08d9c2baf911..c632ccc4cd5d0 100644 --- a/docs/framework/unmanaged-api/debugging/corgcreferencetype-enumeration.md +++ b/docs/framework/unmanaged-api/debugging/corgcreferencetype-enumeration.md @@ -32,9 +32,10 @@ typedef enum { CorHandleStrongDependent = 64, CorHandleStrongAsyncPinned = 128, CorHandleStrongSizedByref = 256, + CorHandleWeakWinRT = 512, CorReferenceStack = 0x80000001, - CorReferenceFinalizer = 0x80000002, + CorReferenceFinalizer = 80000002, // Note the constant is decimal, not hexadecimal CorHandleStrongOnly = 0x1E3, CorHandleWeakOnly = 0xC, @@ -54,6 +55,7 @@ typedef enum { |`CorHandleStrongDependent`|A handle to a dependent object from the object handle table.| |`CorHandleStrongAsyncPinned`|An asynchronous pinned object from the object handle table.| |`CorHandleStrongSizedByref`|A strong handle that keeps an approximate size of the collective closure of all objects and object roots at garbage collection time.| +|`CorHandleWeakWinRT`|A weak handle to a RCW (Runtime Callable Wrapper). An RCW is a managed object that proxies calls to an underlying COM object.| |`CorReferenceStack`|A reference from the managed stack.| |`CorReferenceFinalizer`|A reference from the finalizer queue.| |CorHandleStrongOnly|Return only strong references from the handle table. This value is used by the [ICorDebugProcess5::EnumerateHandles](icordebugprocess5-enumeratehandles-method.md) method only.|