File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,22 @@ internal void InternalArray__set_Item<T> (int index, T item)
211
211
// Do not change this to call SetGenericValue_icall directly, due to special casing in the runtime.
212
212
SetGenericValueImpl ( index , ref item ) ;
213
213
}
214
+
215
+ #if UNITY_AOT
216
+
217
+ // This is a replaced by an intrinsic.
218
+ internal void GetGenericValueImpl < T > ( int pos , out T value )
219
+ {
220
+ throw new NotImplementedException ( "GetGenericValueImpl should be remapped to an intrinsic" ) ;
221
+ }
222
+
223
+ // This is a replaced by an intrinsic.
224
+ internal void SetGenericValueImpl < T > ( int pos , ref T value )
225
+ {
226
+ throw new NotImplementedException ( "SetGenericValueImpl should be remapped to an intrinsic" ) ;
227
+ }
228
+
229
+ #else
214
230
215
231
// CAUTION! No bounds checking!
216
232
[ MethodImplAttribute ( MethodImplOptions . InternalCall ) ]
@@ -233,6 +249,7 @@ internal void SetGenericValueImpl<T> (int pos, ref T value)
233
249
var self = this ;
234
250
SetGenericValue_icall ( ref self , pos , ref value ) ;
235
251
}
252
+ #endif
236
253
237
254
internal struct InternalEnumerator < T > : IEnumerator < T >
238
255
{
You can’t perform that action at this time.
0 commit comments