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