Mono.TextEditor.TextViewMargin.LayoutDescriptor.Equals C# (CSharp) Method

Equals() public method

public Equals ( Mono.TextEditor.DocumentLine line, int offset, int length, int selectionStart, int selectionEnd, bool &isInvalid ) : bool
line Mono.TextEditor.DocumentLine
offset int
length int
selectionStart int
selectionEnd int
isInvalid bool
return bool
			public bool Equals (DocumentLine line, int offset, int length, int selectionStart, int selectionEnd, out bool isInvalid)
			{
				int selStart = 0, selEnd = 0;
				if (selectionEnd >= 0) {
					selStart = selectionStart;
					selEnd = selectionEnd;
				}
				return base.Equals (line, offset, length, out isInvalid) && selStart == this.SelectionStart && selEnd == this.SelectionEnd;
			}

Same methods

TextViewMargin.LayoutDescriptor::Equals ( object obj ) : bool