Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b1d0fe8
fixed broken link (#3169)
mairaw Sep 18, 2017
f4767ee
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 18, 2017
fc8ef62
fixed pipes in tables (#3163)
mairaw Sep 19, 2017
2d0dfff
added info about relative paths for output (#3042)
mairaw Sep 19, 2017
71258c7
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 19, 2017
51d3e2d
Update how-to-write-a-simple-parallel-for-loop.md (#3174)
whosenbocus Sep 20, 2017
53382d0
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
af9512d
fixed formulas (#3182)
mairaw Sep 20, 2017
54de1d8
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
058c717
simplifying version list (#3176)
mairaw Sep 20, 2017
3536654
Minor fixes : inconsistent wording and some ghost characters (#3171)
Styxxy Sep 20, 2017
84aa428
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
7b7b3ed
Adding C# version history post (#2867)
erikdietrich Sep 20, 2017
9d583c8
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
eb4056d
Learn C# Tutorial (#2306)
BillWagner Sep 20, 2017
9dd64c4
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
433a854
Fix typo: AesCrytpServiceProvider -> AesCryptoServiceProvider (#3185)
chlowell Sep 20, 2017
eceb396
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
b39ad8a
added net core behavior (#3140)
mairaw Sep 20, 2017
d4e91ea
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 20, 2017
f30153d
quick link fix to the hub page (#3193)
BillWagner Sep 21, 2017
f857949
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
377505c
Removed duplicate entry from 'See Also' section (#3195)
ZeeshanAK Sep 21, 2017
6418ad5
removed invisible characters (#3192)
mairaw Sep 21, 2017
2a91ee2
update snippet reference (#3191)
mairaw Sep 21, 2017
ade8b66
fixed broken link (#3190)
mairaw Sep 21, 2017
1c8fb08
clarified example (#3184)
mairaw Sep 21, 2017
47a46e9
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
bb9d7b2
Updating condition(s) under which the method throws (#3152)
stevewhims Sep 21, 2017
612f4fb
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
96512eb
Update mutually recursive functions snippet (#3186)
aliozgur Sep 21, 2017
e6bf84a
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
70abdf8
494407 Corrections to DnsSafeHost and IdnHost (#3143)
stevewhims Sep 21, 2017
c39a418
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
2656807
Improve Suits and Ranks definitions (#3197)
ibqn Sep 21, 2017
1fc3d85
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
ca5c1a7
Fixed Kelvin output, make culture independent (#3157)
paulroho Sep 21, 2017
af1ad32
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
6ab8f52
Fixed Kelvin output, make culture independent (#3159)
paulroho Sep 21, 2017
16b6e65
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
2c0814b
Remove Duplicate Config Definition (#3200)
kellenlask Sep 21, 2017
67349b6
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 21, 2017
81117b1
fixed api link format (#3194)
mairaw Sep 21, 2017
2b5135e
Typo in document - IOne instead of One (#3202)
whosenbocus Sep 22, 2017
dbf6d46
Fix framework in dotnet store command topic (#3188)
guardrex Sep 22, 2017
265a9a0
Merging changes synced from https://github.com/dotnet/docs (branch ma…
Sep 22, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 2 additions & 22 deletions docs/csharp/misc/cs0625.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
title: "Compiler Error CS0625"

ms.date: "2015-07-20"
ms.prod: .net


ms.technology:
- "devlang-csharp"

ms.topic: "article"
f1_keywords:
- "CS0625"
Expand All @@ -19,27 +15,11 @@ ms.assetid: 44091813-9988-436c-b35e-e24094793782
caps.latest.revision: 7
author: "BillWagner"
ms.author: "wiwagn"

translation.priority.ht:
- "de-de"
- "es-es"
- "fr-fr"
- "it-it"
- "ja-jp"
- "ko-kr"
- "ru-ru"
- "zh-cn"
- "zh-tw"
translation.priority.mt:
- "cs-cz"
- "pl-pl"
- "pt-br"
- "tr-tr"
---
# Compiler Error CS0625
'field': instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
'field': instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.

When a struct is marked with an explicit **StructLayout** attribute, all fields in the struct must have the [FieldOffset](xref:System.Runtime.InteropServices.FieldOffsetAttribute) attribute. For more information, see [StructLayoutAttribute Class](xref:System.Runtime.InteropServices.StructLayoutAttribute).
When a struct is marked with an explicit **StructLayout** attribute, all fields in the struct must have the [FieldOffset](xref:System.Runtime.InteropServices.FieldOffsetAttribute) attribute. For more information, see [StructLayoutAttribute Class](xref:System.Runtime.InteropServices.StructLayoutAttribute).

The following sample generates CS0625:

Expand Down
25 changes: 3 additions & 22 deletions docs/csharp/misc/cs0626.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
title: "Compiler Warning (level 1) CS0626"

ms.date: "2015-07-20"
ms.prod: .net


ms.technology:
- "devlang-csharp"

ms.topic: "article"
f1_keywords:
- "CS0626"
Expand All @@ -19,27 +15,12 @@ ms.assetid: 2cd5061c-80e7-48d3-8d14-be7fc642af94
caps.latest.revision: 8
author: "BillWagner"
ms.author: "wiwagn"

translation.priority.ht:
- "de-de"
- "es-es"
- "fr-fr"
- "it-it"
- "ja-jp"
- "ko-kr"
- "ru-ru"
- "zh-cn"
- "zh-tw"
translation.priority.mt:
- "cs-cz"
- "pl-pl"
- "pt-br"
- "tr-tr"
---
# Compiler Warning (level 1) CS0626
Method, operator, or accessor 'method' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation

Method, operator, or accessor 'method' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.

A method marked `extern` should also be marked with an attribute, for example, the [DllImport](xref:System.Runtime.InteropServices.DllImportAttribute) attribute.
A method marked `extern` should also be marked with an attribute, for example, the [DllImport](xref:System.Runtime.InteropServices.DllImportAttribute) attribute.

The attribute specifies where the method is implemented. At run time, the program will need this information.

Expand Down
25 changes: 3 additions & 22 deletions docs/csharp/misc/cs0637.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
title: "Compiler Error CS0637"

ms.date: "2015-07-20"
ms.prod: .net


ms.technology:
- "devlang-csharp"

ms.topic: "article"
f1_keywords:
- "CS0637"
Expand All @@ -19,27 +15,12 @@ ms.assetid: 02f6964c-0fcc-4f81-8ebb-0330aecdde19
caps.latest.revision: 8
author: "BillWagner"
ms.author: "wiwagn"

translation.priority.ht:
- "de-de"
- "es-es"
- "fr-fr"
- "it-it"
- "ja-jp"
- "ko-kr"
- "ru-ru"
- "zh-cn"
- "zh-tw"
translation.priority.mt:
- "cs-cz"
- "pl-pl"
- "pt-br"
- "tr-tr"
---
# Compiler Error CS0637
The FieldOffset attribute is not allowed on static or const fields

The FieldOffset attribute is not allowed on static or const fields.

The [FieldOffset](xref:System.Runtime.InteropServices.FieldOffsetAttribute) attribute cannot be used on fields marked with [static](../../csharp/language-reference/keywords/static.md) or [const](../../csharp/language-reference/keywords/const.md).
The [FieldOffset](xref:System.Runtime.InteropServices.FieldOffsetAttribute) attribute cannot be used on fields marked with [static](../../csharp/language-reference/keywords/static.md) or [const](../../csharp/language-reference/keywords/const.md).

The following sample generates CS0637:

Expand Down
23 changes: 2 additions & 21 deletions docs/csharp/misc/cs0662.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
title: "Compiler Error CS0662"

ms.date: "2015-07-20"
ms.prod: .net


ms.technology:
- "devlang-csharp"

ms.topic: "article"
f1_keywords:
- "CS0662"
Expand All @@ -19,27 +15,12 @@ ms.assetid: 836fa15e-3bf3-4af5-8acf-072d7d731dcd
caps.latest.revision: 7
author: "BillWagner"
ms.author: "wiwagn"

translation.priority.ht:
- "de-de"
- "es-es"
- "fr-fr"
- "it-it"
- "ja-jp"
- "ko-kr"
- "ru-ru"
- "zh-cn"
- "zh-tw"
translation.priority.mt:
- "cs-cz"
- "pl-pl"
- "pt-br"
- "tr-tr"
---
# Compiler Error CS0662

'method' cannot specify only Out attribute on a ref parameter. Use both In and Out attributes, or neither.

An interface method has a parameter that uses [ref](../../csharp/language-reference/keywords/ref.md) with just the [Out](xref:System.Runtime.InteropServices.OutAttribute) attribute. A `ref` parameter that uses the **Out** attribute must also use the [In](xref:System.Runtime.InteropServices.InAttribute) attribute.
An interface method has a parameter that uses [ref](../../csharp/language-reference/keywords/ref.md) with just the [Out](xref:System.Runtime.InteropServices.OutAttribute) attribute. A `ref` parameter that uses the **Out** attribute must also use the [In](xref:System.Runtime.InteropServices.InAttribute) attribute.

The following sample generates CS0662:

Expand Down
59 changes: 20 additions & 39 deletions docs/csharp/misc/cs0669.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
title: "Compiler Error CS0669"

ms.date: "2015-07-20"
ms.prod: .net


ms.technology:
- "devlang-csharp"

ms.topic: "article"
f1_keywords:
- "CS0669"
Expand All @@ -19,42 +15,27 @@ ms.assetid: c7f81869-79d7-481f-a026-2cef0e87df4c
caps.latest.revision: 6
author: "BillWagner"
ms.author: "wiwagn"

translation.priority.ht:
- "de-de"
- "es-es"
- "fr-fr"
- "it-it"
- "ja-jp"
- "ko-kr"
- "ru-ru"
- "zh-cn"
- "zh-tw"
translation.priority.mt:
- "cs-cz"
- "pl-pl"
- "pt-br"
- "tr-tr"
---
# Compiler Error CS0669
A class with the ComImport attribute cannot have a user-defined constructor.

The COM interop layer in the common language runtime supplies the constructor for [ComImport](xref:System​.Runtime​.InteropServices.ComImportAttribute) classes. Consequently, a COM object can be used as a managed object in the runtime.

The following sample generates CS0669:


A class with the ComImport attribute cannot have a user-defined constructor.

The COM interop layer in the common language runtime supplies the constructor for [ComImport](xref:System.Runtime.InteropServices.ComImportAttribute) classes. Consequently, a COM object can be used as a managed object in the runtime.

The following sample generates CS0669:

```csharp
// CS0669.cs
using System.Runtime.InteropServices;
[ComImport, Guid("00000000-0000-0000-0000-000000000001")]
class TestClass
{
TestClass() // CS0669, delete constructor to resolve
{
}
public static void Main()
{
}
}
// CS0669.cs
using System.Runtime.InteropServices;
[ComImport, Guid("00000000-0000-0000-0000-000000000001")]
class TestClass
{
TestClass() // CS0669, delete constructor to resolve
{
}

public static void Main()
{
}
}
```
2 changes: 1 addition & 1 deletion docs/csharp/whats-new/csharp-version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ But `async` and `await` are the real stars of this release. When these features

With versions 3.0 and 5.0, C# had added some impressive features in an object oriented language. With version 6.0, it would go away from doing a dominant killer feature and instead release many features that delighted users of the language. Here are some of them:

- [Static imports](../language-reference/keywords/using-static)
- [Static imports](../language-reference/keywords/using-static.md)
- [Exception filters](https://www.thomaslevesque.com/2015/06/21/exception-filters-in-c-6/)
- [Property initializers](http://geekswithblogs.net/WinAZ/archive/2015/06/30/whatrsquos-new-in-c-6.0-auto-property-initializers.aspx)
- [Expression bodied members](https://lostechies.com/jimmybogard/2015/12/17/c-6-feature-review-expression-bodied-function-members/)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
title: "The Ink Object Model: Windows Forms and COM versus WPF"
ms.custom: ""
ms.date: "03/30/2017"
ms.prod: ".net-framework"
ms.reviewer: ""
ms.suite: ""
ms.technology:
- "dotnet-wpf"
ms.tgt_pltfrm: ""
ms.topic: "article"
helpviewer_keywords:
- "enabling ink"
Expand All @@ -23,6 +19,7 @@ ms.author: dotnetcontent
manager: "wpickett"
---
# The Ink Object Model: Windows Forms and COM versus WPF

There are essentially three platforms that support digital ink: the Tablet PC Windows Forms platform, the Tablet PC COM platform, and the [!INCLUDE[TLA#tla_wpf](../../../../includes/tlasharptla-wpf-md.md)] platform. The Windows Forms and COM platforms share a similar object model, but the object model for the [!INCLUDE[TLA2#tla_wpf](../../../../includes/tla2sharptla-wpf-md.md)] platform is substantially different. This topic discusses the differences at a high-level so that developers that have worked with one object model can better understand the other.

## Enabling Ink in an Application
Expand Down Expand Up @@ -84,7 +81,7 @@ There are essentially three platforms that support digital ink: the Tablet PC Wi
[!code-csharp[WinFormWPFInk#UsingWinforms](../../../../samples/snippets/csharp/VS_Snippets_Wpf/WinformWPFInk/CSharp/Program.cs#usingwinforms)]
[!code-vb[WinFormWPFInk#UsingWinforms](../../../../samples/snippets/visualbasic/VS_Snippets_Wpf/WinformWPFInk/VisualBasic/Module1.vb#usingwinforms)]
[!code-csharp[WinFormWPFInk#LoadWinforms](../../../../samples/snippets/csharp/VS_Snippets_Wpf/WinformWPFInk/CSharp/Program.cs#loadwinforms)]
-[!code-vb[WinFormWPFInk#LoadWinforms](../../../../samples/snippets/visualbasic/VS_Snippets_Wpf/WinformWPFInk/VisualBasic/Module1.vb#loadwinforms)]
[!code-vb[WinFormWPFInk#LoadWinforms](../../../../samples/snippets/visualbasic/VS_Snippets_Wpf/WinformWPFInk/VisualBasic/Module1.vb#loadwinforms)]
## Events from the Tablet Pen
The [Microsoft.Ink.InkOverlay](https://msdn.microsoft.com/library/ms833057.aspx), [Microsoft.Ink.InkCollector](https://msdn.microsoft.com/library/ms836493.aspx), and [Microsoft.Ink.InkPicture](https://msdn.microsoft.com/library/aa514604.aspx) on the Windows Forms and COM platforms receive events when the user inputs pen data. The [Microsoft.Ink.InkOverlay](https://msdn.microsoft.com/library/ms833057.aspx) or [Microsoft.Ink.InkCollector](https://msdn.microsoft.com/library/ms836493.aspx) is attached to a window or a control, and can subscribe to the events raised by the tablet input data. The thread on which these events occurs depends on whether the events are raised with a pen, a mouse, or programmatically. For more information about threading in relation to these events, see [General Threading Considerations](http://msdn.microsoft.com/cf35724f-5f80-4b3e-992a-a9d5ea99aae9) and [Threads on Which an Event Can Fire](http://msdn.microsoft.com/d1a5ab9b-d474-4ed7-9aa8-b5bdb771934f).

Expand Down
2 changes: 1 addition & 1 deletion docs/standard/security/cryptography-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ The .NET Framework provides implementations of many standard cryptographic algor

## See Also
[Cryptographic Services](../../../docs/standard/security/cryptographic-services.md)
[Cryptographic Services](../../../docs/standard/security/cryptographic-services.md)