C# std::array changes file addition

Fix C# warnings in test-case too.
This commit is contained in:
William S Fulton 2016-10-30 22:34:33 +00:00
commit eda0779e76
2 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,12 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 3.0.11 (in progress)
============================
2016-10-30: myd7349
[C#] Patch #740 Add std_array.i for C# for wrapping std::array.
Patch also enhances std::vector<std::wstring> C# wrappers with additional functions
(Contains, IndexOf, LastIndexOf and Remove).
2016-10-30: tobilau
[Java] Fix wrappers for wstring parameters in director methods to cleanup local
ref after director callback has finished.

View file

@ -67,7 +67,7 @@ public class cpp11_li_std_array_runme
ai[ai.Count] = 0;
throw new Exception("Out of range exception not caught");
}
catch (ArgumentOutOfRangeException e)
catch (ArgumentOutOfRangeException)
{
}
try
@ -75,7 +75,7 @@ public class cpp11_li_std_array_runme
ai[-1] = 0;
throw new Exception("Out of range exception not caught");
}
catch (ArgumentOutOfRangeException e)
catch (ArgumentOutOfRangeException)
{
}
}