Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/ExtensionMethods.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698