Binding\Binder_Attributes.vb (5)
479ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_NoNonIndexProperty1, sym.Name)
507ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributeNonPublicProperty1, sym.Name)
513ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributeSharedProperty1, sym.Name)
518ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributeReadOnlyProperty1, sym.Name)
524ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributePropertyType1, sym.Name)
Binding\Binder_Invocation.vb (4)
1396ReportDiagnostic(diagnostics, If(groupOpt IsNot Nothing, groupOpt.Syntax, node), ERRID.ERR_NoViableOverloadCandidates1, bestSymbols(0).Name)
1443ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_MetadataMembersAmbiguous3, candidate.Name, container.GetKindText(), container)
3148If container IsNot Nothing AndAlso container.Name IsNot Nothing Then
3149callerInfoValue = ConstantValue.Create(container.Name)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (2)
92parameters.Add(New AnonymousTypeOrDelegateParameterSymbol(delegateBeginInvoke, parameter.Type, i, parameter.IsByRef(), parameter.Name, i))
111parameters.Add(New AnonymousTypeOrDelegateParameterSymbol(delegateEndInvoke, parameter.Type, ordinal, parameter.IsByRef(), parameter.Name, i))
Symbols\Source\OverrideHidingHelper.vb (17)
280Debug.Assert(IdentifierComparison.Equals(hidingMember.Name, hiddenMember.Name))
353For Each hiddenMember In baseType.GetMembers(member.Name)
403If Not IdentifierComparison.Equals(associatedhiddenSymbol.Name,
404associatedhidingSymbol.Name) Then
409hidingMember.Name,
421hidingMember.GetKindText(), hidingMember.Name,
429hidingMember.Name, hiddenMember.ContainingType.GetKindText(),
445hidingMember.GetKindText(), hidingMember.Name, hiddenMember.ContainingType.GetKindText(),
452hidingMember.GetKindText(), hidingMember.Name, hiddenMember.GetKindText(), hiddenMember.ContainingType.GetKindText(),
461SyntaxFacts.GetText(OverloadResolution.GetOperatorTokenKind(associatedSymbol.Name)),
462associatedSymbol.Name)
476associatedHidingSymbol.GetKindText(), associatedHidingSymbol.Name,
695For Each sym In currType.GetMembers(overridingSym.Name)
705If sym.Name.Equals(prop.Name) Then
852diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_OverrideNotNeeded3, member.GetKindText(), member.Name),
Symbols\Source\SourceMemberContainerTypeSymbol.vb (49)
686AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutByValDisallowed1, type.Name))
694type.Name))
699AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInReturnDisallowed1, type.Name))
704AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutConstraintDisallowed1, type.Name))
712type.Name,
718AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInReadOnlyPropertyDisallowed1, type.Name))
723AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutWriteOnlyPropertyDisallowed1, type.Name))
731type.Name))
753type.Name))
763type.Name))
773type.Name,
774typeParameterInfo.TypeParameter.Name,
787type.Name,
799type.Name,
801typeParameterInfo.TypeParameter.Name,
873typeParameterInfo.TypeParameter.Name,
889typeParameterInfo.TypeParameter.Name,
1904implMethod.Name, partialMethod.Name)
1919If Not CaseInsensitiveComparison.Equals(declParameter.Name, implParameter.Name) Then
1924implParameter.Name, declParameter.Name, implMethod.Name)
1940If Not CaseInsensitiveComparison.Equals(declParameter.Name, implParameter.Name) Then
1945implParameter.Name, declParameter.Name, implMethod.Name)
1956implMethod.Name, partialMethod.Name)
2158firstField.Name))
2946TypeParameters.MatchesAnyName(sym.Name) Then
2956symImplicitlyDefinedBy.Name,
2957sym.Name)
2960Binder.ReportDiagnostic(diagBag, sym.Locations(0), ERRID.ERR_ShadowingGenericParamWithMember1, sym.Name)
2982If members.TryGetValue(memberSymbol.Name, symbols) Then
2988members(memberSymbol.Name) = symbols
2996Dim definedTypes = Me.GetTypeMembers(sym.Name)
3014If members.Members.TryGetValue(sym.Name, definedSymbols) Then
3058secondSymbol.Name,
3069If Not CaseInsensitiveComparison.Equals(firstAssociatedSymbol.Name,
3070secondAssociatedSymbol.Name) Then
3078secondSymbol.Name,
3093secondSymbol.Name,
3112firstSymbol.Name,
3124firstSymbol.Name,
3628Dim opInfo As OverloadResolution.OperatorInfo = OverloadResolution.GetOperatorInfo(method.Name)
3643Dim otherName As String = If(IdentifierComparison.Equals(WellKnownMemberNames.ImplicitConversionName, method.Name),
Symbols\Source\SourceNamedTypeSymbol.vb (8)
532Me.GetKindText(), id.ToString, _3rdArg, s.Name)
545_3rdArg, s.Name, Me.GetKindText(), id.ToString)
564Me.GetKindText(), id.ToString, _3rdArg, s.Name,
961If Not typeParameterSet.Contains(s.Name) Then
962typeParameterSet.Add(s.Name)
965Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.WRN_ShadowingGenericParamWithParam1, s.Name)
968Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.ERR_DuplicateTypeParamName1, s.Name)
975Dim name As String = typeParameter.Name