Skip to content

Commit 3de718b

Browse files
Copilotagocke
andcommitted
Fix linting failures - add blank lines before lists
Co-authored-by: agocke <515774+agocke@users.noreply.github.com>
1 parent dbb51c3 commit 3de718b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/core/deploying/trimming/fixing-warnings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ void ProcessData()
386386
```
387387

388388
This approach:
389+
389390
- Makes it clear which specific call is suppressed
390391
- Prevents accidentally suppressing other warnings if the code changes
391392
- Keeps the justification close to the suppressed call

docs/core/deploying/trimming/trimming-concepts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Assembly asm = Assembly.LoadFrom(pluginPath); // What's in this assembly?
4747
```
4848

4949
In these examples, the trimmer has no way to know:
50+
5051
- Which type the user will enter
5152
- What type `GetSomeObject()` returns
5253
- What code exists in the dynamically loaded assembly
@@ -75,6 +76,7 @@ PrintMethodNames(typeof(DateTime));
7576
```
7677

7778
From the trimmer's perspective:
79+
7880
1. It sees `type.GetMethods()` is called
7981
2. It doesn't know what `type` will be (it's a parameter)
8082
3. It can't determine which types' methods need to be preserved
@@ -109,6 +111,7 @@ PrintMethodNames(typeof(DateTime));
109111
```
110112

111113
Now the trimmer understands:
114+
112115
1. `PrintMethodNames` requires its parameter to have `PublicMethods` preserved
113116
2. The call site passes `typeof(DateTime)`
114117
3. Therefore, `DateTime`'s public methods must be kept

0 commit comments

Comments
 (0)