128 references to IsDefinition
Microsoft.CodeAnalysis.VisualBasic (128)
Emit\FieldSymbolAdapter.vb (5)
60
If AdaptedFieldSymbol.
IsDefinition
AndAlso AdaptedFieldSymbol.ContainingModule = moduleBeingBuilt.SourceModule Then
71
If Not AdaptedFieldSymbol.
IsDefinition
Then
83
Return moduleBeingBuilt.Translate(AdaptedFieldSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedFieldSymbol.
IsDefinition
)
89
If Not AdaptedFieldSymbol.
IsDefinition
Then
235
Debug.Assert(Not AdaptedFieldSymbol.
IsDefinition
)
Emit\MethodSymbolAdapter.vb (6)
38
If Not AdaptedMethodSymbol.
IsDefinition
AndAlso AdaptedMethodSymbol.IsGenericMethod AndAlso AdaptedMethodSymbol IsNot AdaptedMethodSymbol.ConstructedFrom Then
50
If Not AdaptedMethodSymbol.
IsDefinition
AndAlso (Not AdaptedMethodSymbol.IsGenericMethod OrElse AdaptedMethodSymbol Is AdaptedMethodSymbol.ConstructedFrom) Then
67
If Not AdaptedMethodSymbol.
IsDefinition
Then
81
If Not AdaptedMethodSymbol.
IsDefinition
Then
133
If AdaptedMethodSymbol.
IsDefinition
AndAlso
164
If AdaptedMethodSymbol.
IsDefinition
AndAlso AdaptedMethodSymbol.ContainingModule = moduleBeingBuilt.SourceModule Then
Emit\NamedTypeSymbolAdapter.vb (11)
63
If AdaptedNamedTypeSymbol.
IsDefinition
Then
93
If Not AdaptedNamedTypeSymbol.
IsDefinition
AndAlso AdaptedNamedTypeSymbol.Arity > 0 AndAlso AdaptedNamedTypeSymbol.ConstructedFrom IsNot AdaptedNamedTypeSymbol Then
111
If AdaptedNamedTypeSymbol.
IsDefinition
AndAlso AdaptedNamedTypeSymbol.ContainingType Is Nothing Then
122
If AdaptedNamedTypeSymbol.ContainingType Is Nothing AndAlso AdaptedNamedTypeSymbol.
IsDefinition
AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then
146
If AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.
IsDefinition
AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then
156
If Not AdaptedNamedTypeSymbol.
IsDefinition
AndAlso (AdaptedNamedTypeSymbol.Arity = 0 OrElse AdaptedNamedTypeSymbol.ConstructedFrom Is AdaptedNamedTypeSymbol) Then
175
If AdaptedNamedTypeSymbol.
IsDefinition
AndAlso
185
If Not AdaptedNamedTypeSymbol.
IsDefinition
Then
307
Debug.Assert(implementingMethod.
IsDefinition
)
807
Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedNamedTypeSymbol.
IsDefinition
)
924
Debug.Assert(
IsDefinition
)
Emit\NoPia\EmbeddedTypesManager.vb (1)
518
Debug.Assert(member.AdaptedSymbol.
IsDefinition
)
Emit\ParameterSymbolAdapter.vb (2)
122
If Not AdaptedParameterSymbol.
IsDefinition
Then
138
If AdaptedParameterSymbol.
IsDefinition
AndAlso AdaptedParameterSymbol.ContainingModule = moduleBeingBuilt.SourceModule Then
Emit\PropertySymbolAdapter.vb (1)
97
Debug.Assert(AdaptedPropertySymbol.
IsDefinition
)
Emit\SymbolAdapter.vb (2)
72
Return Me.
IsDefinition
OrElse Not Me.Equals(Me.OriginalDefinition)
140
Debug.Assert(Me.
IsDefinition
)
Emit\TypeParameterSymbolAdapter.vb (6)
72
Debug.Assert(AdaptedTypeParameterSymbol.
IsDefinition
)
102
Debug.Assert(AdaptedTypeParameterSymbol.
IsDefinition
)
143
Debug.Assert(AdaptedTypeParameterSymbol.
IsDefinition
)
170
Debug.Assert(AdaptedTypeParameterSymbol.
IsDefinition
)
188
Debug.Assert(AdaptedTypeParameterSymbol.
IsDefinition
)
195
Debug.Assert(AdaptedTypeParameterSymbol.
IsDefinition
)
Semantics\AccessCheck.vb (3)
98
Debug.Assert(within.
IsDefinition
)
685
Debug.Assert(member.
IsDefinition
)
994
Debug.Assert(member.
IsDefinition
)
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
282
If type.
IsDefinition
Then
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (2)
142
Debug.Assert(symbol.
IsDefinition
)
207
Debug.Assert(symbol.
IsDefinition
)
Symbols\ErrorTypeSymbol.vb (1)
32
If Me.
IsDefinition
Then
Symbols\EventSymbol.vb (3)
103
If
IsDefinition
Then
187
If Me.
IsDefinition
Then
195
Debug.Assert(Me.
IsDefinition
)
Symbols\FieldSymbol.vb (2)
273
If Me.
IsDefinition
Then
282
Debug.Assert(
IsDefinition
)
Symbols\InstanceTypeSymbol.vb (1)
104
Debug.Assert(Not newContainer.
IsDefinition
)
Symbols\Metadata\PE\MetadataDecoder.vb (2)
422
Debug.Assert(typeSymbol.
IsDefinition
)
482
If definition IsNot Nothing AndAlso Not targetTypeSymbol.
IsDefinition
Then
Symbols\MethodSignatureComparer.vb (2)
802
If containingType Is Nothing OrElse method.
IsDefinition
Then
815
If method.
IsDefinition
Then
Symbols\MethodSymbol.vb (5)
326
If
IsDefinition
Then
606
Return Me.
IsDefinition
AndAlso Me.Arity > 0
625
Debug.Assert(Me.
IsDefinition
)
668
If Me.
IsDefinition
Then
679
Debug.Assert(
IsDefinition
)
Symbols\MissingMetadataTypeSymbol.vb (1)
269
Debug.Assert(containingType.
IsDefinition
)
Symbols\NamedTypeSymbol.vb (5)
510
Debug.Assert(Me.
IsDefinition
)
995
If Me.
IsDefinition
Then
1036
Loop While currentType IsNot Nothing AndAlso Not currentType.
IsDefinition
1533
ElseIf arity = TupleTypeSymbol.RestPosition AndAlso Not
IsDefinition
Then
1541
Loop While TypeSymbol.Equals(typeToCheck.OriginalDefinition, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything) AndAlso Not typeToCheck.
IsDefinition
Symbols\OverriddenMembersResult.vb (1)
87
Debug.Assert(Not substitutedOverridingMember.
IsDefinition
)
Symbols\PropertySymbol.vb (3)
328
If
IsDefinition
Then
409
If Me.
IsDefinition
Then
418
Debug.Assert(
IsDefinition
)
Symbols\ReducedExtensionMethodSymbol.vb (1)
47
If Not (possiblyExtensionMethod.
IsDefinition
AndAlso
Symbols\Retargeting\RetargetingSymbolTranslator.vb (3)
884
If method.ContainingModule Is Me.UnderlyingModule AndAlso method.
IsDefinition
Then
1036
If ([event].ContainingModule Is Me.UnderlyingModule) AndAlso [event].
IsDefinition
Then
1068
If ([property].ContainingModule Is Me.UnderlyingModule) AndAlso [property].
IsDefinition
Then
Symbols\Source\OverrideHidingHelper.vb (2)
24
Debug.Assert(container.
IsDefinition
) ' Don't do this on constructed types
350
Debug.Assert(container.
IsDefinition
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
2133
If Not field.
IsDefinition
AndAlso field.Type.Equals(field.OriginalDefinition.Type) Then
2190
If stepIntoType OrElse Not fieldType.
IsDefinition
Then
2204
If Not fieldType.
IsDefinition
Then
3496
Debug.Assert(Me.
IsDefinition
) ' Don't do this on constructed types
Symbols\Source\SourceMethodSymbol.vb (1)
2172
Debug.Assert(
IsDefinition
)
Symbols\Source\SourceModuleSymbol.vb (1)
1121
Debug.Assert(classType.
IsDefinition
AndAlso Not classType.IsGenericType)
Symbols\Source\SourcePropertySymbol.vb (1)
821
Debug.Assert(
IsDefinition
)
Symbols\SubstitutedErrorType.vb (2)
75
If Me.ContainingSymbol Is Nothing OrElse Me.ContainingSymbol.
IsDefinition
Then
182
Debug.Assert(newContainer.TypeSubstitution Is Nothing AndAlso newContainer.
IsDefinition
)
Symbols\SubstitutedFieldSymbol.vb (1)
27
Debug.Assert(originalDefinition.
IsDefinition
)
Symbols\SubstitutedMethodSymbol.vb (6)
492
Debug.Assert(originalDefinition.
IsDefinition
)
571
Debug.Assert(originalDefinition.
IsDefinition
)
604
Debug.Assert(substitution.TargetGenericDefinition.
IsDefinition
)
642
Debug.Assert(Not containerToCheck.
IsDefinition
)
657
Loop While containerToCheck IsNot Nothing AndAlso Not containerToCheck.
IsDefinition
709
Debug.Assert(substitution.TargetGenericDefinition.
IsDefinition
)
Symbols\SubstitutedNamedType.vb (13)
33
Debug.Assert(substitution.TargetGenericDefinition.
IsDefinition
)
296
Debug.Assert(memberType.
IsDefinition
AndAlso memberType.ContainingSymbol Is Me.OriginalDefinition)
436
Debug.Assert(member.
IsDefinition
)
673
Debug.Assert(fullInstanceType.
IsDefinition
)
744
Debug.Assert(Not containerToCheck.
IsDefinition
)
759
Loop While containerToCheck IsNot Nothing AndAlso Not containerToCheck.
IsDefinition
850
Debug.Assert(fullInstanceType.
IsDefinition
)
935
If newContainer.
IsDefinition
Then
1079
Debug.Assert(containedType.
IsDefinition
AndAlso Not newContainedType.
IsDefinition
)
1158
Debug.Assert(Not container.
IsDefinition
)
1165
Debug.Assert(newContainer.
IsDefinition
AndAlso newContainer.TypeSubstitution Is Nothing)
1169
If newContainer.
IsDefinition
Then
Symbols\SubstitutedParameterSymbol.vb (1)
28
Debug.Assert(originalDefinition.
IsDefinition
)
Symbols\SubstitutedPropertySymbol.vb (1)
34
Debug.Assert(originalDefinition.
IsDefinition
)
Symbols\SubstitutedTypeParameterSymbol.vb (1)
41
Debug.Assert(originalDefinition.
IsDefinition
)
Symbols\Symbol.vb (1)
1249
Return Me.
IsDefinition
Symbols\SymbolExtensions.vb (1)
432
Debug.Assert(origMember.
IsDefinition
)
Symbols\SynthesizedSymbols\SynthesizedClonedTypeParameterSymbol.vb (1)
41
Debug.Assert(correspondingMethodTypeParameter.
IsDefinition
)
Symbols\Tuples\TupleTypeSymbol.vb (1)
639
Debug.Assert(type.
IsDefinition
)
Symbols\TypeSubstitution.vb (17)
131
Debug.Assert(tp.
IsDefinition
OrElse TargetGenericDefinition Is tp.ContainingSymbol)
156
Debug.Assert(originalDefinition.
IsDefinition
)
189
Debug.Assert(originalDefinition.
IsDefinition
)
212
Debug.Assert(originalDefinition.
IsDefinition
)
246
If value.IsTypeParameter() AndAlso Not value.
IsDefinition
Then
301
Debug.Assert(genericDefinition.
IsDefinition
)
329
Debug.Assert(targetGenericDefinition.
IsDefinition
)
335
Debug.Assert(sub1.TargetGenericDefinition.
IsDefinition
)
401
Debug.Assert(targetGenericDefinition.
IsDefinition
)
419
Debug.Assert(param.
IsDefinition
)
445
If arg.Type.IsTypeParameter() AndAlso Not arg.Type.
IsDefinition
Then
562
(targetGenericDefinition.
IsDefinition
OrElse
654
Debug.Assert(typeParameter.
IsDefinition
) ' Can't be an alpha renamed type parameter.
703
Debug.Assert(oldConstructSubstitution IsNot Nothing AndAlso oldConstructSubstitution.TargetGenericDefinition.
IsDefinition
)
706
(adjustedParent.TargetGenericDefinition.
IsDefinition
AndAlso
810
Debug.Assert(targetGenericDefinition.
IsDefinition
)
837
If arg.Type.IsTypeParameter() AndAlso Not arg.Type.
IsDefinition
Then
Symbols\TypeSymbolExtensions.vb (2)
1007
If typeArgument.IsTypeParameter() AndAlso Not typeArgument.
IsDefinition
Then
1027
If typeArgument.IsTypeParameter() AndAlso Not typeArgument.
IsDefinition
Then
Symbols\UnboundGenericType.vb (1)
363
Debug.Assert(originalDefinition.
IsDefinition
)