dotnet / dotnet/dotnet-api-docs
Member signatures in C# don't follow the official formatting rules
Open
area-Infrastructure
Pri3
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
E.g. the GC.AddMemoryPressure has the following signature format:
https://github.com/dotnet/dotnet-api-docs/blob/54e27a3d78dcbaedc38a38478cdaefa0be962936/xml/System/GC.xml#L112
Notice the space before the parentheses. This is not how C# signatures are formatted in the rest of the repo or samples. Instead of
```
public static void AddMemoryPressure (long bytesAllocated);
```
This should be:
```
public static void AddMemoryPressure(long bytesAllocated);
```
Contributor guide
Assessment
This issue has not been assessed yet.