From 4d7733db80b08315b0770b74de3af812d5f69cf6 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Wed, 15 Feb 2017 17:11:53 +0000 Subject: [PATCH] Minor comment clarification. --- src/Generator/Passes/CheckOperatorsOverloads.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Generator/Passes/CheckOperatorsOverloads.cs b/src/Generator/Passes/CheckOperatorsOverloads.cs index e3a7222e..f8fe4e7e 100644 --- a/src/Generator/Passes/CheckOperatorsOverloads.cs +++ b/src/Generator/Passes/CheckOperatorsOverloads.cs @@ -23,12 +23,12 @@ namespace CppSharp.Passes if (!VisitDeclarationContext(@class)) return false; - // Check for C++ operators that cannot be represented in C#. + // Check for C++ operators that cannot be represented in .NET. CheckInvalidOperators(@class); if (Options.IsCSharpGenerator) { - // The comparison operators, if overloaded, must be overloaded in pairs; + //In C# the comparison operators, if overloaded, must be overloaded in pairs; // that is, if == is overloaded, != must also be overloaded. The reverse // is also true, and similar for < and >, and for <= and >=.