File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Castle.Core/DynamicProxy/Generators/Emitters/SimpleAST Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- // Copyright 2004-2021 Castle Project - http://www.castleproject.org/
1+ // Copyright 2004-2025 Castle Project - http://www.castleproject.org/
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -19,19 +19,19 @@ namespace Castle.DynamicProxy.Generators.Emitters.SimpleAST
1919
2020 internal class NewArrayExpression : IExpression
2121 {
22- private readonly Type arrayType ;
22+ private readonly Type elementType ;
2323 private readonly int size ;
2424
25- public NewArrayExpression ( int size , Type arrayType )
25+ public NewArrayExpression ( int size , Type elementType )
2626 {
2727 this . size = size ;
28- this . arrayType = arrayType ;
28+ this . elementType = elementType ;
2929 }
3030
3131 public void Emit ( ILGenerator gen )
3232 {
3333 gen . Emit ( OpCodes . Ldc_I4 , size ) ;
34- gen . Emit ( OpCodes . Newarr , arrayType ) ;
34+ gen . Emit ( OpCodes . Newarr , elementType ) ;
3535 }
3636 }
3737}
You can’t perform that action at this time.
0 commit comments