/// <summary> /// Initializes a new instance of the <see cref="IndexLocation"/> class. /// </summary> /// <param name="value">The value<see cref="CXIdxLoc"/></param> internal IndexLocation(CXIdxLoc value) { this.m_value = value; }
/// <summary> /// Constructor /// </summary> /// <param name="source">Native Clang Index Location</param> internal ClangIndexLocation(CXIdxLoc source) { this.Source = source; }
/// <summary> /// Convert to Managed Clang Index Location /// </summary> /// <param name="loc">Native Clang Index Location</param> /// <returns>Managed Clang Index Location</returns> internal static ClangIndexLocation ToManaged(this CXIdxLoc loc) { return(new ClangIndexLocation(loc)); }
internal static extern CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc idxLoc);
public bool Equals(CXIdxLoc other) { return data0 == other.data0 && data1 == other.data1 && data2 == other.data2; }
internal Location(CXIdxLoc source) { this.source = source; }