OLD | NEW |
| (Empty) |
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 using Microsoft.VisualStudio.Debugger.Interop; | |
6 | |
7 namespace Google.MsAd7.BaseImpl | |
8 { | |
9 public static class ExtensionMethods | |
10 { | |
11 public static bool HasFlag(this enum_THREADPROPERTY_FIELDS a, enum_THREADPRO
PERTY_FIELDS b) { | |
12 return ((uint) a & (uint) b) != 0; | |
13 } | |
14 | |
15 public static bool HasFlag(this enum_DEBUGPROP_INFO_FLAGS a, enum_DEBUGPROP_
INFO_FLAGS b) | |
16 { | |
17 return ((uint)a & (uint)b) != 0; | |
18 } | |
19 | |
20 public static bool Equals(this TEXT_POSITION a, TEXT_POSITION b) { | |
21 return (a.dwLine == b.dwLine) && (a.dwColumn == b.dwColumn); | |
22 } | |
23 } | |
24 } | |
OLD | NEW |