System.Xml.Serialization.ReflectionAwareCodeGen.WriteTypeCompare C# (CSharp) Method

WriteTypeCompare() private method

private WriteTypeCompare ( string variable, string escapedTypeName, bool useReflection ) : void
variable string
escapedTypeName string
useReflection bool
return void
        internal void WriteTypeCompare(string variable, string escapedTypeName, bool useReflection)
        {
            _writer.Write(variable);
            _writer.Write(" == ");
            _writer.Write(GetStringForTypeof(escapedTypeName, useReflection));
        }
        internal void WriteArrayTypeCompare(string variable, string escapedTypeName, string elementTypeName, bool useReflection)