| File: MetadataReference\ReferenceDirective.cs | Web Access |
| Project: src\roslyn\src\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj (Microsoft.CodeAnalysis) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Text; using System.Diagnostics; namespace Microsoft.CodeAnalysis { /// <summary> /// Represents the value of #r reference along with its source location. /// </summary> internal readonly struct ReferenceDirective { public readonly string? File; public readonly Location? Location; public ReferenceDirective(string file, Location location) { Debug.Assert(file != null); Debug.Assert(location != null); File = file; Location = location; } } }