CompilationUnitManager.GetSourceFiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a sequence of all source files that are currently contained in this compilation unit.
public System.Collections.Generic.IEnumerable<Uri>? GetSourceFiles ();
member this.GetSourceFiles : unit -> seq<Uri>
Public Function GetSourceFiles () As IEnumerable(Of Uri)
Returns
Remarks
Waits for all currently running or queued tasks to finish before constructing the requested information by calling FlushAndExecute<T>(Func<T>).