1 write to Location
Microsoft.CodeAnalysis (1)
MetadataReference\ReferenceDirective.cs (1)
24Location = location;
8 references to Location
Microsoft.CodeAnalysis (8)
ReferenceManager\CommonReferenceManager.Resolution.cs (8)
803Debug.Assert(referenceDirective.Location is object); 807diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_MetadataReferencesNotSupported, referenceDirective.Location)); 813Debug.Assert(referenceDirective.Location.SourceTree is object); 814if (localBoundReferenceDirectives != null && localBoundReferenceDirectives.ContainsKey((referenceDirective.Location.SourceTree.FilePath, referenceDirective.File))) 819MetadataReference? boundReference = ResolveReferenceDirective(referenceDirective.File, referenceDirective.Location, compilation); 822diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_MetadataFileNotFound, referenceDirective.Location, referenceDirective.File)); 833referenceDirectiveLocationsBuilder!.Add(referenceDirective.Location); 834localBoundReferenceDirectives.Add((referenceDirective.Location.SourceTree.FilePath, referenceDirective.File), boundReference);