15 lines
312 B
C#
15 lines
312 B
C#
namespace Microsoft.CodeAnalysis.CSharp;
|
|
|
|
internal static class BinderFlagsExtensions
|
|
{
|
|
public static bool Includes(this BinderFlags self, BinderFlags other)
|
|
{
|
|
return (self & other) == other;
|
|
}
|
|
|
|
public static bool IncludesAny(this BinderFlags self, BinderFlags other)
|
|
{
|
|
return (self & other) != 0;
|
|
}
|
|
}
|