FileContentManager Class
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.
public class FileContentManager : IDisposable
type FileContentManager = class
interface IDisposable
Public Class FileContentManager
Implements IDisposable
- Inheritance
-
FileContentManager
- Implements
Remarks
Any read-only access to this class is thread-safe, however write access (currently) is not!
Properties
| FileName | |
| Version |
An arbitrary integer representing the current version number of the file, or null if no version number is available. The version number may change at any time to any other integer, including a lower number than its current value. |
Methods
| Diagnostics() |
Returns all current diagnostic as PublishDiagnosticParams. |
| Dispose() |
De-registers the sync root of this FileContentManager as a dependent lock for compilation unit associated with this file. |
| GetCallableDeclarations() |
Returns all callable declarations in the file sorted by the line number they are declared on. |
| GetNamespaceDeclarations() |
Returns all namespace declarations in the file sorted by the line number they are declared on. |
| GetTypeDeclarations() |
Returns all type declarations in the file sorted by the line number they are declared on. |