Binding\Binder_Invocation.vb (17)
1463singleSymbol, singleSymbol.ContainingType)
1475singleSymbol, singleSymbol.ContainingType)
1774Dim container As NamedTypeSymbol = bestSymbols(0).ContainingType
1777If Not TypeSymbol.Equals(bestSymbols(i).ContainingType, container, TypeCompareKind.ConsiderEverything) Then
1799diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate2, bestSymbol, bestSymbol.ContainingType))
1807diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate3, bestSymbol, bestSymbol.ContainingType, notMostSpecificMessage))
2067candidateSymbol, candidateSymbol.ContainingType)
2136candidateSymbol, candidateSymbol.ContainingType)
2163candidateSymbol, candidateSymbol.ContainingType)
2184candidateSymbol, candidateSymbol.ContainingType)
2218candidateSymbol, candidateSymbol.ContainingType)
2239ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous3, ERRID.ERR_TypeInferenceFailureAmbiguous3), candidateSymbol, candidateSymbol.ContainingType)
2247ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest3, ERRID.ERR_TypeInferenceFailureNoBest3), candidateSymbol, candidateSymbol.ContainingType)
2260ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit3, ERRID.ERR_TypeInferenceFailure3), candidateSymbol, candidateSymbol.ContainingType)
2346candidateSymbol, candidateSymbol.ContainingType)
2357ERRID.ERR_TooManyArgs2, candidateSymbol, candidateSymbol.ContainingType)
2427candidateSymbol, candidateSymbol.ContainingType)
Symbols\Source\ImplementsHelper.vb (12)
226possibleMatchMember.ContainingType.IsInterface AndAlso
254If second.ContainingType.ImplementsInterface(first.ContainingType, comparer:=Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
258ElseIf first.ContainingType.ImplementsInterface(second.ContainingType, comparer:=Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
288If TypeSymbol.Equals(first.ContainingType, second.ContainingType, TypeCompareKind.ConsiderEverything) Then
292CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(first.ContainingType),
294CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(first.ContainingType),
547ErrorFactory.ErrorInfo(ERRID.ERR_ImplementsWithConstraintMismatch3, implementingMethod, implementedMethod.ContainingType, implementedMethod),
568Dim interfaceType As NamedTypeSymbol = interfaceMember.ContainingType
672Dim unsubstitutedInterfaceType = unsubstitutedMember.ContainingType
Symbols\Source\OverrideHidingHelper.vb (20)
412hiddenMember.ContainingType.GetKindText(),
413CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)),
422associatedhiddenSymbol.GetKindText(), AssociatedSymbolName(associatedhiddenSymbol), hiddenMember.ContainingType.GetKindText(),
423CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)),
429hidingMember.Name, hiddenMember.ContainingType.GetKindText(),
430CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)),
438If hiddenMember.IsOverridable OrElse hiddenMember.IsOverrides OrElse (hiddenMember.IsMustOverride AndAlso Not hiddenMember.ContainingType.IsInterface) Then
445hidingMember.GetKindText(), hidingMember.Name, hiddenMember.ContainingType.GetKindText(),
446CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)),
452hidingMember.GetKindText(), hidingMember.Name, hiddenMember.GetKindText(), hiddenMember.ContainingType.GetKindText(),
453CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)),
477hiddenMember.ContainingType.GetKindText(),
478CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)),
639Dim containingType As NamedTypeSymbol = overridingSym.ContainingType
818Dim memberContainingType As NamedTypeSymbol = member.ContainingType
865CustomSymbolDisplayFormatter.ShortErrorName(overriddenMembers(0).ContainingType),
908member, member.ContainingType, overriddenMember, overriddenMember.ContainingType, inaccessibleMember.ContainingType),
984If Not AccessCheck.IsSymbolAccessible(overriddenAccessor.OriginalDefinition, overridingAccessor.ContainingType, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then