In This Article

ISourceFile Interface

Provides the base requirements of a source code file that can be loaded by an IProjectAssembly.

public interface ISourceFile : IKeyedObject

Properties

GlobalUsingDirectives

The collection of global IUsingDirective objects contained in the source file.

IUsingDirectiveCollection GlobalUsingDirectives { get; }

Property Value

IUsingDirectiveCollection

TypeDefinitions

The collection of ITypeDefinition objects contained in the source file.

ITypeDefinitionCollection TypeDefinitions { get; }

Property Value

ITypeDefinitionCollection

Inherited Members

Extension Methods