diff options
Diffstat (limited to 'src/ILCompiler.Compiler/src/IL/Stubs/StartupCode/StartupCodeMainMethod.cs')
-rw-r--r-- | src/ILCompiler.Compiler/src/IL/Stubs/StartupCode/StartupCodeMainMethod.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ILCompiler.Compiler/src/IL/Stubs/StartupCode/StartupCodeMainMethod.cs b/src/ILCompiler.Compiler/src/IL/Stubs/StartupCode/StartupCodeMainMethod.cs index f994a1d0a..fd16383f5 100644 --- a/src/ILCompiler.Compiler/src/IL/Stubs/StartupCode/StartupCodeMainMethod.cs +++ b/src/ILCompiler.Compiler/src/IL/Stubs/StartupCode/StartupCodeMainMethod.cs @@ -21,9 +21,9 @@ namespace Internal.IL.Stubs.StartupCode private TypeDesc _owningType; private MainMethodWrapper _mainMethod; private MethodSignature _signature; - private IList<MethodDesc> _libraryInitializers; + private IReadOnlyCollection<MethodDesc> _libraryInitializers; - public StartupCodeMainMethod(TypeDesc owningType, MethodDesc mainMethod, IList<MethodDesc> libraryInitializers) + public StartupCodeMainMethod(TypeDesc owningType, MethodDesc mainMethod, IReadOnlyCollection<MethodDesc> libraryInitializers) { _owningType = owningType; _mainMethod = new MainMethodWrapper(owningType, mainMethod); |