Commit a90f7ab
Expose the extension operators for Tensor, TensorSpan, and ROTensorSpan (#117997)
* Ensure the DynamicallyAccessedMembersAnalyzer doesn't crash for new language features
* Adding the extensions for operator + and operator +=
* Adding the extensions for operator / and operator /=
* Adding the extensions for operator * and operator *=
* Adding the extensions for operator - and operator -=
* Adding the extensions for operator & and operator &=
* Adding the extensions for operator | and operator |=
* Adding the extensions for operator ^ and operator ^=
* Adding the extensions for operator ~
* Adding the extensions for operator - (unary)
* Adding the extensions for operator + (unary)
* Adding the extensions for operator << and operator <<=
* Adding the extensions for operator >> and operator >>=
* Adding the extensions for operator >>> and operator >>>=
* Adding the extensions for operator ++
* Adding the extensions for operator --
* Ensure the extension member order in the ref matches the impl
* Update CompatibilitySuppressions for a fixed parameter name in an experimental API
* Change TrimAnalysisVisitor.VisitParameterReference to skip parameters that are not on methods so the analyzer doesn't throw
* Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>1 parent 2fa82a2 commit a90f7ab
File tree
24 files changed
+2016
-549
lines changed- src
- libraries/System.Numerics.Tensors
- ref
- src
- System/Numerics/Tensors/netcore
- tools/illink/src/ILLink.RoslynAnalyzer/TrimAnalysis
24 files changed
+2016
-549
lines changedLines changed: 322 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
844 | 851 | | |
845 | 852 | | |
846 | 853 | | |
| |||
1016 | 1023 | | |
1017 | 1024 | | |
1018 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1019 | 1033 | | |
1020 | 1034 | | |
1021 | 1035 | | |
| |||
1107 | 1121 | | |
1108 | 1122 | | |
1109 | 1123 | | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1110 | 1142 | | |
1111 | 1143 | | |
1112 | 1144 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
42 | 57 | | |
43 | 58 | | |
44 | 59 | | |
| |||
149 | 164 | | |
150 | 165 | | |
151 | 166 | | |
| 167 | + | |
| 168 | + | |
152 | 169 | | |
153 | 170 | | |
154 | 171 | | |
| |||
0 commit comments