Base:
property
Locations
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.Symbol.Locations
33 references to Locations
Microsoft.CodeAnalysis.VisualBasic (33)
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
56diagnostics.Add(info, Locations(0))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (7)
394diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInterfaceNesting), Locations(0))) 1357Debug.Assert(Locations.Length > 0) 1358Dim firstLocation = Me.DeclaringCompilation.FirstSourceLocation(Locations) 2254Debug.Assert(Me.Locations.Length > 0) 2255Dim structBeingAnalyzedLocation = Me.Locations(0) 2930If Me.Locations.Length > 1 AndAlso Not Me.IsPartial Then 3843If (Me.Locations.Length > 1 AndAlso Not Me.IsPartial) Then
Symbols\Source\SourceNamedTypeSymbol.vb (6)
1446Locations(0), 2190diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionOnlyAllowedOnModuleSubOrFunction), Me.Locations(0)) 2195diagnostics.Add(ERRID.ERR_ComClassOnGeneric, Me.Locations(0)) 2243diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_InvalidAttributeUsage2, AttributeDescription.VisualBasicComClassAttribute.Name, Me.Name), Me.Locations(0)) 2257diagnostics.Add(ERRID.ERR_ConflictDefaultPropertyAttribute, Locations(0), Me) 2406Locations(0),
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (18)
139Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassDuplicateGuids1, comClass.Name) 145Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.GuidAttribute.Name) 150Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ClassInterfaceAttribute.Name) 155Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ComSourceInterfacesAttribute.Name) 160Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ComVisibleAttribute.Name & "(False)") 165Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassRequiresPublicClass1, comClass.Name) 171Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassRequiresPublicClass2, 182Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassCantBeAbstract0) 193Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.WRN_ComClassNoMembers1, comClass.Name) 212comClass.Locations(0), 219comClass.Locations(0), 226comClass.Locations(0), 231comClass.Locations(0), 239comClass.Locations(0), 266comClass.Locations(0), 274comClass.Locations(0), 288Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_BadAttributeUuid2, AttributeDescription.VisualBasicComClassAttribute.Name, id) 344Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.WRN_ComClassInterfaceShadows5,
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
181Return _containingType.Locations