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