Browse Source

Use foreach instead of explicit for.

pull/48/merge
triton 12 years ago
parent
commit
e8f219c81c
  1. 4
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

4
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -2001,10 +2001,8 @@ namespace CppSharp.Generators.CSharp
retType = "global::System.IntPtr"; retType = "global::System.IntPtr";
} }
for (var i = 0; i < function.Parameters.Count; ++i) foreach (var param in function.Parameters)
{ {
var param = function.Parameters[i];
if (param.Kind == ParameterKind.OperatorParameter) if (param.Kind == ParameterKind.OperatorParameter)
continue; continue;

Loading…
Cancel
Save