Skip to content

Commit a316801

Browse files
authored
Fix indent
1 parent 9e67965 commit a316801

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/extensibility/debugger/reference/bp-resolution-location.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ Specifies the structure of the breakpoint resolution location.
2020

2121
```cpp
2222
struct _BP_RESOLUTION_LOCATION {
23-
BP_TYPE bpType;
24-
union {
25-
BP_RESOLUTION_CODE bpresCode;
26-
BP_RESOLUTION_DATA bpresData;
27-
int unused;
28-
} bpResLocation;
23+
BP_TYPE bpType;
24+
union {
25+
BP_RESOLUTION_CODE bpresCode;
26+
BP_RESOLUTION_DATA bpresData;
27+
int unused;
28+
} bpResLocation;
2929
} BP_RESOLUTION_LOCATION;
3030
```
3131
3232
```csharp
3333
public struct BP_RESOLUTION_LOCATION {
34-
public uint bpType;
35-
public IntPtr unionmember1;
36-
public IntPtr unionmember2;
37-
public IntPtr unionmember3;
38-
public uint unionmember4;
34+
public uint bpType;
35+
public IntPtr unionmember1;
36+
public IntPtr unionmember2;
37+
public IntPtr unionmember3;
38+
public uint unionmember4;
3939
};
4040
```
4141

@@ -90,14 +90,14 @@ namespace MyPackage
9090
{
9191
if (bprl.bpType == (uint)enum_BP_TYPE.BPT_CODE)
9292
{
93-
IDebugCodeContext2 pContext = (IDebugCodeContext2)Marshal.GetObjectForIUnknown(bp.unionmember1);
93+
IDebugCodeContext2 pContext = (IDebugCodeContext2)Marshal.GetObjectForIUnknown(bp.unionmember1);
9494
}
9595
else if (bprl.bpType == (uint)enum_BP_TYPE.BPT_DATA)
9696
{
97-
string dataExpression = Marshal.PtrToStringBSTR(bp.unionmember3);
98-
string functionName = Marshal.PtrToStringBSTR(bp.unionmember2);
99-
string imageName = Marshal.PtrToStringBSTR(bp.unionmember3);
100-
enum_BP_RES_DATA_FLAGS numElements = (enum_BP_RES_DATA_FLAGS)bp.unionmember4;
97+
string dataExpression = Marshal.PtrToStringBSTR(bp.unionmember3);
98+
string functionName = Marshal.PtrToStringBSTR(bp.unionmember2);
99+
string imageName = Marshal.PtrToStringBSTR(bp.unionmember3);
100+
enum_BP_RES_DATA_FLAGS numElements = (enum_BP_RES_DATA_FLAGS)bp.unionmember4;
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)