24 references to ShouldInclude
Microsoft.CodeAnalysis.CSharp (12)
Emitter\Model\EventSymbolAdapter.cs (2)
30if (addMethod.ShouldInclude(context)) 37if (removeMethod.ShouldInclude(context))
Emitter\Model\NamedTypeSymbolAdapter.cs (7)
307if (definition.ShouldInclude(context) || !definition.GetAccessors(context).IsEmpty()) 421if (isStruct || f.GetCciAdapter().ShouldInclude(context)) 433if (isStruct || f.ShouldInclude(context)) 621if ((alwaysIncludeConstructors && method.MethodKind == MethodKind.Constructor) || method.GetCciAdapter().ShouldInclude(context)) 633if ((alwaysIncludeConstructors && m.IsConstructor) || m.ShouldInclude(context)) 670if (definition.ShouldInclude(context) || !definition.GetAccessors(context).IsEmpty()) 682if (m.ShouldInclude(context) || !m.GetAccessors(context).IsEmpty())
Emitter\Model\PropertySymbolAdapter.cs (3)
33if (getMethod != null && getMethod.ShouldInclude(context)) 39if (setMethod != null && setMethod.ShouldInclude(context)) 45if ((object)sourceProperty != null && this.ShouldInclude(context))
Microsoft.CodeAnalysis.VisualBasic (12)
Emit\EventSymbolAdapter.vb (3)
23If addMethod.ShouldInclude(context) Then 29If removeMethod.ShouldInclude(context) Then 34If raiseMethod IsNot Nothing AndAlso raiseMethod.ShouldInclude(context) Then
Emit\NamedTypeSymbolAdapter.vb (7)
253If adapter.ShouldInclude(context) OrElse Not adapter.GetAccessors(context).IsEmpty() Then 341If isStruct OrElse adapter.ShouldInclude(context) OrElse IsWithEventsField(field) Then 349If isStruct OrElse field.ShouldInclude(context) Then 635If adapter.ShouldInclude(context) Then 643If method.ShouldInclude(context) Then 700If adapter.ShouldInclude(context) OrElse Not adapter.GetAccessors(context).IsEmpty() Then 708If prop.ShouldInclude(context) OrElse Not prop.GetAccessors(context).IsEmpty() Then
Emit\PropertySymbolAdapter.vb (2)
24If getter IsNot Nothing AndAlso getter.ShouldInclude(context) Then 29If setter IsNot Nothing AndAlso setter.ShouldInclude(context) Then