Skip to content

Fix git push error for protected CLA branch #3154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 53 commits into from
Apr 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
6b21806
start code cleanup updates
gewarren Apr 24, 2019
f5b2ae1
first pass at VS updates
JoshuaPartlow Apr 24, 2019
7f57f1c
vs reference format pr3
Apr 25, 2019
ab91ffa
vs reference format pr4
Apr 25, 2019
f4333e7
vs reference format pr5
Apr 25, 2019
8c04aff
vs reference format pr6
Apr 25, 2019
4ad7404
vs reference format pr7
Apr 25, 2019
38b80d1
vs reference format pr8
Apr 25, 2019
0b557dd
vs reference format pr9
Apr 25, 2019
b7c8290
vs reference format pr10
Apr 25, 2019
263d458
vs reference format pr11
Apr 25, 2019
c42cbdb
vs reference format pr12
Apr 25, 2019
7bfe094
Merge branch 'master' of github.com:MicrosoftDocs/visualstudio-docs-p…
gewarren Apr 25, 2019
a042896
rework code cleanup section
gewarren Apr 25, 2019
687d130
vs reference format pr13
Apr 25, 2019
e64e349
fix bookmark warnings
gewarren Apr 25, 2019
9f1057c
Merge pull request #4513 from msebolt/vs-reference-format-pr3
v-shils Apr 25, 2019
1413429
Merge pull request #4516 from msebolt/vs-reference-format-pr4
v-shils Apr 25, 2019
b144719
Merge pull request #4517 from msebolt/vs-reference-format-pr5
v-shils Apr 25, 2019
6e93010
Merge pull request #4518 from msebolt/vs-reference-format-pr6
v-shils Apr 25, 2019
c21b259
Merge pull request #4519 from msebolt/vs-reference-format-pr7
v-shils Apr 25, 2019
89069a9
Merge pull request #4520 from msebolt/vs-reference-format-pr8
v-shils Apr 25, 2019
14d0b29
Merge pull request #4521 from msebolt/vs-reference-format-pr9
v-shils Apr 25, 2019
c7dce71
Merge pull request #4522 from msebolt/vs-reference-format-pr10
v-shils Apr 25, 2019
f3f8d5c
Merge pull request #4523 from msebolt/vs-reference-format-pr11
GitHubber17 Apr 25, 2019
2c02a16
Merge pull request #4524 from msebolt/vs-reference-format-pr12
GitHubber17 Apr 25, 2019
69fc239
Merge pull request #4525 from msebolt/vs-reference-format-pr13
GitHubber17 Apr 25, 2019
8a4f0e5
add code cleanup to csharp productivity and find-and-fix-code-errors
gewarren Apr 25, 2019
8a97297
acrolinx
gewarren Apr 25, 2019
e725c1d
fix bookmark warnings
gewarren Apr 26, 2019
3cbb6f8
review on staging
gewarren Apr 26, 2019
0d053ff
fixes #3008
gewarren Apr 26, 2019
babfe33
renamed file links
gewarren Apr 26, 2019
872d78e
fix build warnings
gewarren Apr 26, 2019
69852bd
Merge pull request #4526 from MicrosoftDocs/repo_sync_working_branch
gewarren Apr 26, 2019
3f463c0
updated table for VS 2019
JoshuaPartlow Apr 26, 2019
56c16d4
Corrected moniker surrounding note.
JoshuaPartlow Apr 26, 2019
ca13a6d
Merge pull request #4527 from JoshuaPartlow/vs-updates-python
PRMerger6 Apr 26, 2019
c1e2e45
minor text edits
TerryGLee Apr 26, 2019
2fe017b
Merge pull request #4528 from TerryGLee/tglee-vsfix
PRMerger18 Apr 26, 2019
443e0e0
update link text
TerryGLee Apr 26, 2019
849b596
update error list and consolidate list in an Include file
TerryGLee Apr 26, 2019
f1edf26
Acrolinx fix
TerryGLee Apr 26, 2019
329ffb7
revise table in Include file
TerryGLee Apr 26, 2019
61b3218
change text block code
TerryGLee Apr 26, 2019
6ef5968
Merge pull request #4529 from TerryGLee/tglee-vsfix
ktoliver Apr 26, 2019
4dbf6f5
replace underscores with dashes in Include file
TerryGLee Apr 26, 2019
4daf647
Merge pull request #4530 from TerryGLee/tglee-installfix
itechedit Apr 26, 2019
e450026
minor text edit
TerryGLee Apr 26, 2019
37e63d4
Merge pull request #4533 from TerryGLee/tglee-patch6
PRMerger17 Apr 26, 2019
89043c6
Merge pull request #4534 from MicrosoftDocs/repo_sync_working_branch
gewarren Apr 26, 2019
ab8460e
Merge pull request #4514 from gewarren/code-cleanup
itechedit Apr 26, 2019
3fe6bed
Merge pull request #4535 from MicrosoftDocs/master
Taojunshen Apr 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,11 @@
"redirect_url": "/visualstudio/ide/class-designer/designing-and-viewing-classes-and-types",
"redirect_document_id": false
},
{
"source_path": "docs/ide/code-styles-and-quick-actions.md",
"redirect_url": "/visualstudio/ide/code-styles-and-code-cleanup",
"redirect_document_id": false
},
{
"source_path": "docs/ide/command-line-arguments-for-the-help-content-manager.md",
"redirect_url": "/visualstudio/help-viewer/command-line-arguments",
Expand Down
2 changes: 1 addition & 1 deletion docs/code-quality/analyzers-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This page contains answers to some frequently asked questions about Roslyn analy

**Q**: Should I use Roslyn analyzers or .editorconfig for code style?

**A**: Roslyn analyzers and .editorconfig files work hand-in-hand. When you define code styles [in an .editorconfig file](../ide/editorconfig-code-style-settings-reference.md) or on the [text editor Options](../ide/code-styles-and-quick-actions.md) page, you're actually configuring the Roslyn analyzers that are built into Visual Studio. EditorConfig files can also be used to configure some third-party analyzer packages, such as [FxCop analyzers](configure-fxcop-analyzers.md).
**A**: Roslyn analyzers and .editorconfig files work hand-in-hand. When you define code styles [in an .editorconfig file](../ide/editorconfig-code-style-settings-reference.md) or on the [text editor Options](../ide/code-styles-and-code-cleanup.md) page, you're actually configuring the Roslyn analyzers that are built into Visual Studio. EditorConfig files can also be used to configure some third-party analyzer packages, such as [FxCop analyzers](configure-fxcop-analyzers.md).

## EditorConfig versus rule sets

Expand Down
2 changes: 1 addition & 1 deletion docs/code-quality/roslyn-analyzers-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ms.workload:
---
# Overview of .NET Compiler Platform analyzers

.NET Compiler Platform ("Roslyn") analyzers analyze your code for style, quality and maintainability, design, and other issues. Visual Studio includes a built-in set of analyzers that analyze your C# or Visual Basic code as you type. You configure preferences for these built-in analyzers on the [text editor Options](../ide/code-styles-and-quick-actions.md) page or in an [.editorconfig file](../ide/editorconfig-code-style-settings-reference.md). You can install additional analyzers as a Visual Studio extension or a NuGet package.
.NET Compiler Platform ("Roslyn") analyzers analyze your code for style, quality and maintainability, design, and other issues. Visual Studio includes a built-in set of analyzers that analyze your C# or Visual Basic code as you type. You configure preferences for these built-in analyzers on the [text editor Options](../ide/code-styles-and-code-cleanup.md) page or in an [.editorconfig file](../ide/editorconfig-code-style-settings-reference.md). You can install additional analyzers as a Visual Studio extension or a NuGet package.

If rule violations are found by an analyzer, they are reported in the code editor (as a *squiggly* under the offending code) and in the **Error List** window.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugAlias::GetICorDebugValue
Retrieves a managed code interface that represents the value associated with this alias.
Expand All @@ -30,8 +33,8 @@ int GetICorDebugValue(
);
```

#### Parameters
`ppUnk`
## Parameters
`ppUnk`\

[out] `IUnknown` interface that represents the value associated with this alias. This interface can be queried for the `ICorDebugValue` interface.

Expand All @@ -41,5 +44,5 @@ int GetICorDebugValue(
## Remarks
This method applies only to managed values (the `ICorDebugValue` is an interface available in the [!INCLUDE[dnprdnshort](../../../code-quality/includes/dnprdnshort_md.md)] and is defined in the [!INCLUDE[dnprdnshort](../../../code-quality/includes/dnprdnshort_md.md)] SDK in the cordebug.idl file).

## See Also
## See also
- [IDebugAlias](../../../extensibility/debugger/reference/idebugalias.md)
9 changes: 6 additions & 3 deletions docs/extensibility/debugger/reference/idebugalias-getname.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugAlias::GetName
Gets the name of this alias.
Expand All @@ -30,13 +33,13 @@ int GetName(
);
```

#### Parameters
`pbstrName`
## Parameters
`pbstrName`\

[out] Name of the alias.

## Return Value
If successful, returns S_OK; otherwise, returns an error code.

## See Also
## See also
- [IDebugAlias](../../../extensibility/debugger/reference/idebugalias.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugAlias::GetObject
Gets the object that this alias is for.
Expand All @@ -30,14 +33,14 @@ int GetObject(
)
```

#### Parameters
`ppObject`
## Parameters
`ppObject`\

[out] The [IDebugObject2](../../../extensibility/debugger/reference/idebugobject2.md) this alias represents.

## Return Value
If successful, returns S_OK; otherwise, returns an error code.

## See Also
## See also
- [IDebugAlias](../../../extensibility/debugger/reference/idebugalias.md)
- [IDebugObject2](../../../extensibility/debugger/reference/idebugobject2.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayField::GetElementType
Gets the type of element in the array.
Expand All @@ -30,8 +33,8 @@ int GetElementType(
);
```

#### Parameters
`ppType`
## Parameters
`ppType`\

[out] Returns an [IDebugField](../../../extensibility/debugger/reference/idebugfield.md) object that describes the type of element.

Expand All @@ -41,6 +44,6 @@ int GetElementType(
## Remarks
The [IDebugArrayField](../../../extensibility/debugger/reference/idebugarrayfield.md) object assumes that all elements of the array are the same type.

## See Also
## See also
- [IDebugArrayField](../../../extensibility/debugger/reference/idebugarrayfield.md)
- [IDebugField](../../../extensibility/debugger/reference/idebugfield.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayField::GetNumberOfElements
Gets the number of elements in the array.
Expand All @@ -30,8 +33,8 @@ int GetNumberOfElements(
);
```

#### Parameters
`pdwNumElements`
## Parameters
`pdwNumElements`\

[out] Returns the number of elements in the array.

Expand All @@ -41,5 +44,5 @@ int GetNumberOfElements(
## Remarks
The value returned is the total number of elements in the array, regardless of the number of dimensions.

## See Also
## See also
- [IDebugArrayField](../../../extensibility/debugger/reference/idebugarrayfield.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayField::GetRank
Gets the rank or number of dimensions of the array.
Expand All @@ -30,8 +33,8 @@ int GetRank(
);
```

#### Parameters
`pdwRank`
## Parameters
`pdwRank`\

[out] Returns the rank.

Expand All @@ -41,5 +44,5 @@ int GetRank(
## Remarks
The rank of an array corresponds to the number of dimensions. In C++ and C#, multi-dimensional arrays are really arrays of arrays and can therefore be considered just a one-dimensional array (and the `GetRank` method always returns 1). In [!INCLUDE[vbprvb](../../../code-quality/includes/vbprvb_md.md)], on the other hand, multi-dimensional arrays are handled differently and the rank of such an array reflects the number of dimensions (and the `GetRank` method always returns the number of dimensions).

## See Also
## See also
- [IDebugArrayField](../../../extensibility/debugger/reference/idebugarrayfield.md)
2 changes: 1 addition & 1 deletion docs/extensibility/debugger/reference/idebugarrayfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ IDebugArrayField : IDebugContainerField

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

## See Also
## See also
- [Symbol Provider Interfaces](../../../extensibility/debugger/reference/symbol-provider-interfaces.md)
- [IDebugContainerField](../../../extensibility/debugger/reference/idebugcontainerfield.md)
- [IDebugField](../../../extensibility/debugger/reference/idebugfield.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayObject::GetCount
Gets the count of elements in the array.
Expand All @@ -30,8 +33,8 @@ int GetCount(
);
```

#### Parameters
`pdwElements`
## Parameters
`pdwElements`\

[out] Returns the count.

Expand All @@ -41,5 +44,5 @@ int GetCount(
## Remarks
This method sees all of the elements of an array object as a one-dimensional array, even if the array object is multi-dimensional. For example, given the array `myarray[3][2][6]`, this method would return 36 in the `pdwElements` parameter. Use the [GetElement](../../../extensibility/debugger/reference/idebugarrayobject-getelement.md) method to retrieve the individual elements one at a time.

## See Also
## See also
- [IDebugArrayObject](../../../extensibility/debugger/reference/idebugarrayobject.md)
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ int GetDimensions(
);
```

#### Parameters
`dwCount`
## Parameters
`dwCount`\

[in] The number of dimensions to retrieve.

`dwDimensions`
`dwDimensions`\

[in, out] An array that is filled in with the sizes of each dimension. `dwCount` specifies the maximum size of the `dwDimensions` array.

Expand All @@ -47,5 +47,5 @@ int GetDimensions(
## Remarks
A multi-dimensional array can have different sizes for each dimension. For example, given the three-dimensional array `myarray[3][2][6]`, this method would return 3, 2, and 6 in the `dwDimensions` parameter in that order.

## See Also
## See also
- [IDebugArrayObject](../../../extensibility/debugger/reference/idebugarrayobject.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayObject::GetElement
Gets an element of the array.
Expand All @@ -33,11 +36,11 @@ int GetElement(
```

#### Parameters
`dwIndex`
`dwIndex`\

[in] The element index.

`ppElement`
`ppElement`\

[out] Returns an [IDebugObject](../../../extensibility/debugger/reference/idebugobject.md) interface that represents the element.

Expand All @@ -47,5 +50,5 @@ int GetElement(
## Remarks
This method sees all of the elements of an array object as a one-dimensional array, even if the array object is multi-dimensional. For example, given the array `myarray[3][2][6]` and a `dwIndex` parameter of 20, this method would return the element from `myarray[1][1][2]`, and a `dwIndex` parameter of 21 would return the element from `myarray[1][1][3]`. Use the [GetCount](../../../extensibility/debugger/reference/idebugarrayobject-getcount.md) method to determine the total number of elements in the array.

## See Also
## See also
- [IDebugArrayObject](../../../extensibility/debugger/reference/idebugarrayobject.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayObject::GetElements
Gets an enumerator of all elements of the array.
Expand All @@ -30,8 +33,8 @@ int GetElements(
);
```

#### Parameters
`ppEnum`
## Parameters
`ppEnum`\

[out] Returns an [IEnumDebugObjects](../../../extensibility/debugger/reference/ienumdebugobjects.md) object that allows enumerating over all elements.

Expand All @@ -41,5 +44,5 @@ int GetElements(
## Remarks
As an alternative, use the [GetCount](../../../extensibility/debugger/reference/idebugarrayobject-getcount.md) and [GetElement](../../../extensibility/debugger/reference/idebugarrayobject-getelement.md) methods to iterate through the elements.

## See Also
## See also
- [IDebugArrayObject](../../../extensibility/debugger/reference/idebugarrayobject.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayObject::GetRank
Gets the rank of the array, that is, the number of dimensions.
Expand All @@ -30,8 +33,8 @@ int GetRank(
);
```

#### Parameters
`pdwRank`
## Parameters
`pdwRank`\

[out] Returns the rank.

Expand All @@ -41,5 +44,5 @@ int GetRank(
## Remarks
Use the [GetDimensions](../../../extensibility/debugger/reference/idebugarrayobject-getdimensions.md) method to retrieve the size of each dimension of the array object.

## See Also
## See also
- [IDebugArrayObject](../../../extensibility/debugger/reference/idebugarrayobject.md)
2 changes: 1 addition & 1 deletion docs/extensibility/debugger/reference/idebugarrayobject.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ IDebugArrayObject : IDebugObject

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

## See Also
## See also
- [IDebugObject](../../../extensibility/debugger/reference/idebugobject.md)
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ms.author: "gregvanl"
manager: jillfra
ms.workload:
- "vssdk"
dev_langs:
- CPP
- CSharp
---
# IDebugArrayObject2::GetBaseIndices
Retrieves the base indices (lower bounds) for each index given the number of dimensions in the array.
Expand All @@ -32,11 +35,11 @@ int GetBaseIndices (
```

#### Parameters
`dwRank`
`dwRank`\

[in] The number of dimensions (rank) of the array.

`dwIndices`
`dwIndices`\

[out] The base indices (lower bounds) for the array.

Expand All @@ -52,5 +55,5 @@ int[] lowerbounds = { 5 };
Array.CreateInstance(typeof(int), lengths, lowerbounds);
```

## See Also
## See also
- [IDebugArrayObject2](../../../extensibility/debugger/reference/idebugarrayobject2.md)
Loading