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)
685AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutByValDisallowed1, type.Name))
693type.Name))
698AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInReturnDisallowed1, type.Name))
703AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutConstraintDisallowed1, type.Name))
711type.Name,
717AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInReadOnlyPropertyDisallowed1, type.Name))
722AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutWriteOnlyPropertyDisallowed1, type.Name))
730type.Name))
752type.Name))
762type.Name))
772type.Name,
773typeParameterInfo.TypeParameter.Name,
786type.Name,
798type.Name,
800typeParameterInfo.TypeParameter.Name,
872typeParameterInfo.TypeParameter.Name,
888typeParameterInfo.TypeParameter.Name,
1903implMethod.Name, partialMethod.Name)
1918If Not CaseInsensitiveComparison.Equals(declParameter.Name, implParameter.Name) Then
1923implParameter.Name, declParameter.Name, implMethod.Name)
1939If Not CaseInsensitiveComparison.Equals(declParameter.Name, implParameter.Name) Then
1944implParameter.Name, declParameter.Name, implMethod.Name)
1955implMethod.Name, partialMethod.Name)
2157firstField.Name))
2945TypeParameters.MatchesAnyName(sym.Name) Then
2955symImplicitlyDefinedBy.Name,
2956sym.Name)
2959Binder.ReportDiagnostic(diagBag, sym.Locations(0), ERRID.ERR_ShadowingGenericParamWithMember1, sym.Name)
2981If members.TryGetValue(memberSymbol.Name, symbols) Then
2987members(memberSymbol.Name) = symbols
2995Dim definedTypes = Me.GetTypeMembers(sym.Name)
3013If members.Members.TryGetValue(sym.Name, definedSymbols) Then
3057secondSymbol.Name,
3068If Not CaseInsensitiveComparison.Equals(firstAssociatedSymbol.Name,
3069secondAssociatedSymbol.Name) Then
3077secondSymbol.Name,
3092secondSymbol.Name,
3111firstSymbol.Name,
3123firstSymbol.Name,
3627Dim opInfo As OverloadResolution.OperatorInfo = OverloadResolution.GetOperatorInfo(method.Name)
3642Dim otherName As String = If(IdentifierComparison.Equals(WellKnownMemberNames.ImplicitConversionName, method.Name),
Symbols\Source\SourceNamedTypeSymbol.vb (8)
529Me.GetKindText(), id.ToString, _3rdArg, s.Name)
542_3rdArg, s.Name, Me.GetKindText(), id.ToString)
561Me.GetKindText(), id.ToString, _3rdArg, s.Name,
958If Not typeParameterSet.Contains(s.Name) Then
959typeParameterSet.Add(s.Name)
962Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.WRN_ShadowingGenericParamWithParam1, s.Name)
965Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.ERR_DuplicateTypeParamName1, s.Name)
972Dim name As String = typeParameter.Name