Project Class |
Namespace: Nova.CodeDOM
public class Project : CodeObject, INamedCodeObject, IFile, IComparable<Project>
The Project type exposes the following members.
Name | Description | |
---|---|---|
Project(String, Solution) |
Create a new Project with the specified file name and parent Solution.
| |
Project(String, String, Guid, Guid, Solution, Boolean, ActionLoadStatus, CodeObject, Boolean) |
Create a Project by parsing it from a standard VS project file.
|
Name | Description | |
---|---|---|
_AsString |
This property is just to make debugging easier.
(Inherited from CodeObject.) | |
AllowUnsafeBlocks | ||
AndroidApplication | ||
AndroidManifest | ||
AndroidResgenClass | ||
AndroidResgenFile | ||
AndroidUseLatestPlatformSdk | ||
Annotations |
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.) | |
AppDesignerFolder | ||
ApplicationIcon | ||
AssemblyName | ||
AssemblyOriginatorKeyFile | ||
AssemblyResolver |
The MonoCecilAssemblyResolver for this project.
| |
BaseIntermediateOutputPath |
The relative base intermediate output path of the project (such as "obj\").
| |
Category |
The descriptive category of the code object.
| |
CodeAnalysisRuleSet | ||
CodeUnits |
All of CodeUnits in the Project.
| |
ColumnNumber |
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Comment |
The comment for the code object (if any).
(Inherited from CodeObject.) | |
Company | ||
ConfigurationName |
The name of the current ProjectConfiguration.
| |
ConfigurationPlatform |
The platform of the current ProjectConfiguration.
| |
Configurations |
All of the ProjectConfigurations for the Project.
| |
Copyright | ||
CreateTestPage | ||
CurrentConfiguration |
The currently active ProjectConfiguration.
| |
CurrentPlatformConfiguration |
The currently active platform-specific ProjectConfiguration (if any).
| |
DefaultTargets | ||
DefineConstants |
The defined constants for this project as a delimited string.
| |
DeploymentDirectory | ||
Description | ||
DocComment |
The documentation comment for the code object (if any).
(Inherited from CodeObject.) | |
EnableDefaultItems | ||
EnableOutOfBrowser | ||
EOLComment |
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.) | |
FileAlignment | ||
FileEncoding |
The encoding of the file (normally UTF8).
| |
FileExists |
True if the associated file exists.
| |
FileHasUTF8BOM |
True if the file has a UTF8 byte-order-mark.
| |
FileItems |
All of ProjectFileItems in the Project.
| |
FileName |
The associated file name of the Project.
| |
FileUpgradeFlags | ||
FileUsingTabs |
Always false for a Project. Can't be set.
| |
FrameworkContext |
The FrameworkContext for this project, which controls all loaded assemblies.
| |
GenerateAssemblyFileVersionAttribute | ||
GenerateAssemblyInfo | ||
GenerateAssemblyInformationalVersionAttribute | ||
GenerateAssemblyVersionAttribute | ||
GenerateSilverlightManifest | ||
GlobalAttributes |
All project (assembly) level attributes defined in any code unit (such as AssemblyInfo.cs).
| |
GlobalNamespace |
The global namespace for the project.
| |
HasAnnotations |
True if the code object has any annotations.
(Inherited from CodeObject.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasComments |
True if the code object has any comments of any kind.
(Inherited from CodeObject.) | |
HasCompilerDirectives |
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.) | |
HasDocComments |
True if the code object has any documentation comments.
(Inherited from CodeObject.) | |
HasEOLComments |
True if the code object has any EOL comments.
(Inherited from CodeObject.) | |
HasEOLOrPostAnnotations |
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.) | |
HasErrors |
True if the code object has any error messages.
(Inherited from CodeObject.) | |
HasFirstOnLineAnnotations |
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.) | |
HasInfixComments |
True if the code object has any Infix comments.
(Inherited from CodeObject.) | |
HasMessages |
True if the code object has any generated messages.
(Inherited from CodeObject.) | |
HasNoIndentation |
Determines if the code object has no indentation.
(Inherited from CodeObject.) | |
HasNonEOLComments |
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.) | |
HasPostAnnotations |
True if the code object has any postfix annotations.
(Inherited from CodeObject.) | |
HasTerminator |
Determines if the code object has a terminator character.
(Inherited from CodeObject.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
IntermediateOutputPath |
The relative intermediate output path of the project (such as "obj\Debug\").
| |
IsFirstOnLine |
Determines if the code object appears as the first item on a line.
(Inherited from CodeObject.) | |
IsFirstOnLineDefault |
True if the code object defaults to starting on a new line.
(Inherited from CodeObject.) | |
IsGenerated |
Determines if the code object is generated.
(Inherited from CodeObject.) | |
IsGroupingSet |
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.) | |
IsNew |
True if the Project is newly created and hasn't been saved yet.
| |
IsNewFormat | ||
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsPortable |
True if the project is configured to use a portable class library.
| |
IsRenderable |
Always false.
(Overrides CodeObjectIsRenderable.) | |
IsSharedProject |
True if the project is a shared project - meaning it contains source files which are directly
imported into one or more other projects via project references.
| |
IsSingleLine |
Determines if the code object only requires a single line for display.
(Inherited from CodeObject.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Inherited from CodeObject.) | |
IsWebSiteProject |
True if the project is a 'website' project - meaning a web-based project that has no project file
and appears in the solution tree as an 'http:\' URL instead of just a project name.
| |
LangVersion | ||
LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
LinkedServerProject | ||
MinimumVisualStudioVersion | ||
MonoAndroidAssetsPrefix | ||
MonoAndroidResourcePrefix | ||
MSBuildBinPath | ||
MSBuildExtensionsPath | ||
MSBuildExtensionsPath32 | ||
MSBuildExtensionsPath64 | ||
MSBuildProgramFiles32 | ||
MSBuildToolsPath | ||
MSBuildToolsVersion | ||
MSBuildUserExtensionsPath | ||
MvcBuildViews | ||
Name |
The name of the Project (does not include the file path or extension).
| |
NeutralLanguage | ||
NewLines |
The number of newlines preceding the object (0 to N).
(Inherited from CodeObject.) | |
Nonshipping | ||
NoStandardLibraries | ||
NotSupported |
True if the project type is not currently supported.
| |
OldToolsVersion | ||
OutDir |
The output directory of the Project.
| |
OutOfBrowserSettingsFile | ||
OutputPath |
The output path of the Project.
| |
OutputType | ||
Parent |
The parent CodeObject.
(Inherited from CodeObject.) | |
Platform | ||
PlatformConfigurations |
All of the platform-specific ProjectConfigurations for the Project.
| |
PostBuildEvent | ||
PostfixComment |
The postfix comment for the code object (if any).
(Inherited from CodeObject.) | |
PreBuildEvent | ||
Product | ||
ProductVersion | ||
ProjectGuid | ||
ProjectPath |
The path of the Project.
| |
ProjectType | ||
ProjectTypeGuids | ||
ReferencePath | ||
References |
All of the references for the Project.
| |
RootNamespace | ||
SccAuxPath | ||
SccLocalPath | ||
SccProjectName | ||
SccProvider | ||
SchemaVersion | ||
Sdk | ||
SignAssembly | ||
SilverlightAppEntry | ||
SilverlightApplication | ||
SilverlightApplicationList | ||
SilverlightManifestTemplate | ||
SilverlightVersion | ||
Solution |
The parent Solution.
| |
SolutionDir |
The path of the Solution file.
| |
StartArguments | ||
StartupObject | ||
SupportedCultures | ||
TargetFramework | ||
TargetFrameworkIdentifier | ||
TargetFrameworkProfile | ||
TargetFrameworks | ||
TargetFrameworkVersion | ||
TargetPlatform | ||
TargetPlatformMinVersion | ||
TargetPlatformVersion | ||
TestPageFileName | ||
ThrowErrorsInValidation | ||
ToolsVersion | ||
TypeGuid |
The GUID representing the type of the Project.
| |
UpgradeBackupLocation | ||
UseIISExpress | ||
UsePlatformExtensions | ||
UserReferencePath |
The ReferencePath from any "*.csproj.user" file.
| |
ValidateXaml | ||
VisualStudioVersion | ||
VSToolsPath | ||
WarningLevel | ||
XapFilename | ||
XapOutputs | ||
XmlNamespace |
Name | Description | |
---|---|---|
Accept |
Accept the specified visitor object for the current code object and it's children.
(Overrides CodeObjectAccept(IVisitor).) | |
AcceptAnnotations(IVisitor) |
Accept the specified visitor object for all regular (non-EOL, non-Infix, non-Postfix) annotations (comments, attributes, compiler directives).
(Inherited from CodeObject.) | |
AcceptAnnotations(IVisitor, AnnotationFlags) |
Accept the specified visitor object for all specified Infix or Postfix annotations (comments, compiler directives).
(Inherited from CodeObject.) | |
AcceptEOLComments |
Accept the specified visitor object for all EOL comments.
(Inherited from CodeObject.) | |
AcceptInfixComments |
Accept the specified visitor object for all Infix comments.
(Inherited from CodeObject.) | |
AcceptInfixEOLComments |
Accept the specified visitor object for all Infix EOL comments.
(Inherited from CodeObject.) | |
AddAssemblyReference(String, String) |
Add an assembly reference by name.
| |
AddAssemblyReference(String, String, String, Boolean, String, Boolean) |
Add an assembly reference by name.
| |
AddCodeUnit | ||
AddConfiguration |
Add a new ProjectConfiguration to the Project.
| |
AddDefaultAssemblyReferences |
Add default assembly references to a newly created project (System, System.Core, System.Data,
System.Data.DataSetExtensions, System.Xml, System.Xml.Linq, Microsoft.CSharp).
| |
AddDefaultConfigurations |
Add default configurations to a newly created project (Debug and Release for AnyCPU).
| |
AddExistingFile |
Add an existing file to the project. A corresponding ProjectFileItem is also created.
| |
AddImplicitMscorlibReference |
Add the implicit reference to 'mscorlib'.
| |
AddImplicitSystemCoreReferenceIfNecessary |
Add an implicit reference to System.Core if required.
| |
AddPlatformConfiguration |
Add a new platform-specific ProjectConfiguration to the Project.
| |
AddReference |
Add a reference object.
| |
AddToDictionary |
Add the CodeObject to the specified dictionary.
| |
AnnotationAdded |
Add a listed annotation to the Project.
| |
AnnotationRemoved |
Remove a listed annotation from the Project.
| |
AreInternalTypesVisibleForAssembly |
Determine if internal types in the specified assembly are visible to the current project.
| |
AreInternalTypesVisibleTo |
Determine if internal types in the project are visible to the specified project.
| |
AssociateCommentWhenParsing |
Determine if the specified comment should be associated with the current code object during parsing.
(Inherited from CodeObject.) | |
AsString |
Render the entire code object as a string, using LFs for newlines.
(Inherited from CodeObject.) | |
AsText |
Convert the code object to text with a trailing newline, and using CR/LF pairs for newlines (file format).
(Inherited from CodeObject.) | |
AsText(XmlWriter) | ||
AsText(CodeWriter, CodeObjectRenderFlags) | (Overrides CodeObjectAsText(CodeWriter, CodeObjectRenderFlags).) | |
AsText(CodeObjectRenderFlags, Boolean, StackCodeWriterAlignmentState) |
Convert the code object to text using the specified flags and format (file or string).
(Inherited from CodeObject.) | |
AsTextAfter | (Inherited from CodeObject.) | |
AsTextAnnotations(CodeWriter, CodeObjectRenderFlags) |
Render all regular (non-EOL, non-Infix, non-Postfix, non-Message) annotations (comments, attributes, compiler directives).
(Inherited from CodeObject.) | |
AsTextAnnotations(CodeWriter, AnnotationFlags, CodeObjectRenderFlags) |
Render all specified Infix or Postfix annotations (comments, compiler directives).
(Inherited from CodeObject.) | |
AsTextBefore | (Inherited from CodeObject.) | |
AsTextEOLComments |
Render all EOL comments.
(Inherited from CodeObject.) | |
AsTextEvaluatedType | (Inherited from CodeObject.) | |
AsTextInfixComments |
Render all Infix comments with the specified mask.
(Inherited from CodeObject.) | |
AsTextInfixEOLComments |
Render all Infix EOL comments.
(Inherited from CodeObject.) | |
AsTextLeftMostAnnotations |
Render all regular annotations on the current object, or the left most binary operator.
(Inherited from CodeObject.) | |
AsTextLength |
Determine the length of the code object if converted to a string using the specified flags.
(Inherited from CodeObject.) | |
AttachAnnotation(Annotation, Boolean) |
Attach an Annotation (Comment, DocComment, Attribute,
CompilerDirective, or Message) to the CodeObject.
(Inherited from CodeObject.) | |
AttachAnnotation(Annotation, AnnotationFlags, Boolean) |
Attach an Annotation to the CodeObject at the specified position.
(Inherited from CodeObject.) | |
AttachComment |
Create a comment object and attach it to the code object.
(Inherited from CodeObject.) | |
AttachEOLComment |
Create an EOL comment object and attach it to the code object.
(Inherited from CodeObject.) | |
AttachMessage |
Create a message and attach it to the code object.
(Inherited from CodeObject.) | |
CalculateMetrics |
Calculate metrics for this code object and its children.
(Inherited from CodeObject.) | |
CheckForAlignment |
Check for alignment of any EOL comments.
(Inherited from CodeObject.) | |
Clone |
Deep-clone the code object.
(Overrides CodeObjectClone.) | |
CloneField(Object, Object) |
Clone a field of a code object, including setting the parent.
(Inherited from CodeObject.) | |
CloneFieldT(T, T) |
Clone a field of a code object, including setting the parent.
(Inherited from CodeObject.) | |
CompareTo |
Compare one Project to another.
| |
CopyFormatting |
Copy formatting from another code object.
(Inherited from CodeObject.) | |
CreateAnnotations |
Create the list of child Annotations, or return the existing one.
(Inherited from CodeObject.) | |
CreateCodeUnit(String) |
Create a new CodeUnit for the specified file name, and add it to the Project along
with a corresponding ProjectFileItem.
| |
CreateCodeUnit(String, String) |
Create a new CodeUnit for a code fragment, and add it to the Project.
| |
CreateRef |
Create a reference to the CodeObject.
(Inherited from CodeObject.) | |
DefaultFormat |
Default format the code object.
(Inherited from CodeObject.) | |
DefaultFormatField |
Default format the specified child field code object.
(Inherited from CodeObject.) | |
DefaultNewLines |
Determine a default of 1 or 2 newlines when adding items to a Block.
(Inherited from CodeObject.) | |
DefineCompilerDirectiveSymbol |
Define a compiler directive symbol for the current configuration.
| |
DefineConstant |
Define a constant.
| |
Dispose |
Dispose the CodeObject.
(Inherited from CodeObject.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluateCondition |
Evaluate any conditional attribute on the current element.
| |
EvaluateExpression |
Evaluate a conditional expression.
| |
EvaluateMacros |
Evaluate any $(PropertyName) macros in the input string.
| |
EvaluateTypeOrNamespace |
Evaluate the type or namespace associated with the code object.
(Inherited from CodeObject.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find |
Find a namespace or type with the fully-specified name.
| |
FindCodeUnit |
Find a CodeUnit by name.
| |
FindConfiguration |
Find any configuration with the specified configuration name and platform name.
| |
FindNamespace |
Find the Namespace with the fully-specified name.
| |
FindParentT |
Find the parent object of the specified type.
(Inherited from CodeObject.) | |
FindParentMethod |
Find the parent method (or anonymous method or lambda) of the current code object.
(Inherited from CodeObject.) | |
FindParentMethodOrType |
Find the parent method (or anonymous method or lambda) or type of the current code object.
(Inherited from CodeObject.) | |
FindPlatformConfiguration |
Find any platform-specifc configuration with the specified platform name.
| |
FindRef |
Find a namespace or type in the global namespace with the fully specified name, returning a SymbolicRef to it.
To find generic types, specify a tick mark and type argument count, such as "System.Tuple`2".
| |
FindReferenceAliasNamespace |
Find the RootNamespace for the Reference with the specified alias name.
| |
GetAllChildrenT |
Get an enumerator for all children objects of type T in
the CodeObject and in any child CodeObjects (recursively).
(Inherited from CodeObject.) | |
GetAllDeclaredTypeDecls |
Get an enumerator for all TypeDecls declared in the Project
(does not include TypeDecls imported from other Projects).
| |
GetAttribute |
Returns the first attribute expression (Call or ConstructorRef) with the specified name on the CodeObject.
(Inherited from CodeObject.) | |
GetComment |
Get the comment that satisfies the specified predicate.
(Inherited from CodeObject.) | |
GetDescription |
Get a short text description of the CodeObject.
This is generally the shortest text representation that uniquely identifies objects, even if
they have the same name, for example: type or return type, name, type parameters, parameters.
(Inherited from CodeObject.) | |
GetDirectory |
Get the directory of the Project (handles website directories).
| |
GetDocSummary |
Returns the DocSummary documentation comment, or null if none exists.
(Inherited from CodeObject.) | |
GetFullName |
Get the full name of the INamedCodeObject, including any namespace name.
| |
GetFullOutputPath |
Get the full output path of the Project.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIndentLevel |
Get the indent level of this object.
(Inherited from CodeObject.) | |
GetIndentSpaceCount |
Get the current indent in spaces.
(Inherited from CodeObject.) | |
GetInferredType |
Determine the type of an inferred ('var') type.
(Inherited from CodeObject.) | |
GetNamespace |
Get the Namespace for this CodeObject.
(Inherited from CodeObject.) | |
GetNugetPackagesPath |
Get the NuGet Packages path.
| |
GetPackageDllPath |
Get the DLL path for the given package name and version.
| |
GetRenderName | ||
GetRootNamespace |
Determine the RootNamespace from any '::' prefix on the specified name, defaulting to the global namespace.
| |
GetSolutionFolders |
Get any Solution folders for this Project.
| |
GetTargetFrameworkDescription |
Get the description of the target framework.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeRef |
Get a TypeRef for the type with the specified full name, with caching (generally used for System types).
(Inherited from CodeObject.) | |
GetVersionOfProfile |
Get the .NET target framework version for the specified portable profile.
| |
GetWorstMessageType |
Get the type of the worst attached message.
(Inherited from CodeObject.) | |
HasAnnotationT | (Inherited from CodeObject.) | |
HasAttribute |
Returns true if the attribute with the specified name exists on the object, otherwise false.
(Inherited from CodeObject.) | |
HasUnresolvedRef |
Returns true if the code object is an UnresolvedRef or has any UnresolvedRef children.
(Inherited from CodeObject.) | |
Initialize | ||
IsChildIndented |
Returns true if the specified child object is indented from the parent.
(Inherited from CodeObject.) | |
IsChildPrefix |
Returns true if the specified child object is prefixed to the current object.
(Inherited from CodeObject.) | |
IsCompilerDirectiveSymbolDefined |
Determine if a compiler directive symbol is defined for the current configuration.
| |
IsConstantDefined |
Determine if the specified constant is defined.
| |
IsDependentOn |
Determine if this project depends on the specified project.
| |
Load(String, LoadOptions, ActionLoadStatus, CodeObject) |
Load the specified Project file and all child code files directly (without a Solution).
| |
Load(String, String, String, LoadOptions, ActionLoadStatus, CodeObject) |
Load the specified Project file and all child code files directly (without a Solution).
| |
LoadAssembly |
Load an assembly.
| |
LoadFile |
Load an existing file into the project. This method is used primarily during the loading process and does NOT add a
corresponding ProjectFileItem. To add a new file to a project along with a FileItem, use CreateCodeUnit(String).
To add an existing file to a project along with a FileItem, use AddExistingFile(String, Boolean, ActionLoadStatus, CodeObject).
| |
LoadProjectAssetsJson |
Load the project assets json file, creating a map of name/version to relative DLL path.
| |
LoadReferencedAssemblies |
Load all externally referenced assemblies.
| |
LoadReferencedAssembliesAndTypes |
Load all referenced assemblies, then load all types from them.
| |
LoadTypes |
Load all of the (non-nested) types in the specified assembly into the appropriate namespaces under
the specified root namespace, hiding any of the specified types.
| |
LoadTypesFromReferenceAssembliesInternal | ||
LoadTypesFromReferencedAssemblies |
Load types from all externally referenced assemblies.
| |
LoadTypesFromReferencedProjects |
Load all of the types in all referenced projects into this one.
| |
LogAndAttachException |
Log the specified exception and message and also attach it as an annotation.
| |
LogAndAttachMessage |
Log the specified text message and also attach it as an annotation.
| |
LogException |
Log the specified exception and message.
| |
LogMessage |
Log the specified text message with the specified severity level.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveAllComments |
Move all (regular or EOL) comments from the specified token to the current code object, converting any
EOL comments to regular comments (which will be rendered inline if necessary).
(Inherited from CodeObject.) | |
MoveAnnotations |
Move any annotations from the specified location to the specified destination location.
(Inherited from CodeObject.) | |
MoveComments(Token) |
Move any non-EOL comments from the specified token to the current code object.
(Inherited from CodeObject.) | |
MoveComments(Token, Boolean) |
Move any non-EOL comments from the specified token to the current code object.
(Inherited from CodeObject.) | |
MoveCommentsAsPost |
Move any non-EOL comments from the specified token to the current code object as Post comments.
(Inherited from CodeObject.) | |
MoveEOLAndPostAnnotations |
Move any EOL or Postfix annotations from the specified code object to the current code object.
(Inherited from CodeObject.) | |
MoveEOLComment(CodeObject) |
Move any EOL comment from the specified code object to the current code object.
(Inherited from CodeObject.) | |
MoveEOLComment(Token) |
Move any EOL comment from the specified token to the current code object.
(Inherited from CodeObject.) | |
MoveEOLComment(Token, Boolean, Boolean) |
Move any EOL comment from the specified token to the current code object.
(Inherited from CodeObject.) | |
MoveEOLCommentAsInfix |
Move any EOL comment from the specified token to the current code object as an Infix EOL comment.
(Inherited from CodeObject.) | |
MoveFormatting(CodeObject) |
Move formatting from the specified code object to the current object.
(Inherited from CodeObject.) | |
MoveFormatting(Token) |
Move formatting from the specified token to the current object.
(Inherited from CodeObject.) | |
MovePrefixAnnotationsAs |
Move any prefix annotations on the specified code object to the current code object as the specified type of annotation.
(Inherited from CodeObject.) | |
NoStdLib | ||
NotifyListedAnnotationAdded |
Propagate the listed annotation to the parent Solution.
(Overrides CodeObjectNotifyListedAnnotationAdded(Annotation).) | |
NotifyListedAnnotationRemoved |
Remove the listed annotation from the parent Solution.
(Overrides CodeObjectNotifyListedAnnotationRemoved(Annotation).) | |
Parse(String, Solution, ActionLoadStatus, CodeObject, Boolean) |
Parse a project from a file.
| |
Parse(String, String, Guid, Guid, Solution, ActionLoadStatus, CodeObject, Boolean) |
Parse a project from a file.
| |
ParseAndResolveCodeUnits |
Parse and resolve all CodeUnits in the Project.
| |
ParseAnnotations(Parser, CodeObject) |
Parse annotations - specifically, compiler directives around things such as TypeParameters or ParameterDecls.
(Inherited from CodeObject.) | |
ParseAnnotations(Parser, CodeObject, Boolean, Boolean) |
Parse any comments, attributes, compiler directives.
(Inherited from CodeObject.) | |
ParseCodeUnits |
Parse all CodeUnits in the Project.
| |
ParseExpectedToken |
Parse the specified expected token, attaching a parse error to the current object if it doesn't exist.
(Inherited from CodeObject.) | |
ParseFileItem |
Parse file items.
| |
ParseName |
Parse the specified name into a NamespaceRef or TypeRef, or a Dot or Lookup expression that evaluates to one.
| |
ParseProjectFile |
Parse a project file contents (either from a standard VS project file, or from an imported .props or .targets project file).
| |
ParseUnusedAnnotations |
Parse annotations from the Unused list.
(Inherited from CodeObject.) | |
ParseUserSettings |
Parse user settings from any ".csproj.user" file.
| |
ParseWebConfig |
Parse any 'Web.Config' file for configuration and references.
| |
ParseWebSiteProject |
Parse a web site project.
| |
RemoveAllAnnotationsT |
Remove all annotations of the specified type from this object.
(Inherited from CodeObject.) | |
RemoveAllAnnotationsWhereT |
Remove all annotations from this object where the specified predicate is true.
(Inherited from CodeObject.) | |
RemoveAllMessages |
Remove all messages from this object, or optionally only from the specified source.
(Inherited from CodeObject.) | |
RemoveAttribute |
Remove the attribute expression with the specified name.
(Inherited from CodeObject.) | |
RemoveCodeUnit | ||
RemoveFromDictionary |
Remove the CodeObject from the specified dictionary.
| |
RenameCodeUnit |
Rename the file name of the specified CodeUnit in the Project, also renaming the corresponding ProjectFileItem.
| |
Resolve(ResolveFlags) |
Resolve all child symbolic references.
(Inherited from CodeObject.) | |
Resolve(ResolveCategory, ResolveFlags) |
Resolve all child symbolic references, using the specified ResolveCategory and ResolveFlags.
(Inherited from CodeObject.) | |
ResolveAttributes |
Resolve any attached attributes.
(Inherited from CodeObject.) | |
ResolveCodeUnits |
Resolve all CodeUnits in the Project.
| |
ResolveDocComments |
Resolve any references in attached documentation comments.
(Inherited from CodeObject.) | |
ResolveGotoTargetUp |
Resolve child code objects that match the specified name are valid goto targets, moving up the tree until a complete match is found.
(Inherited from CodeObject.) | |
ResolveReferences |
Resolve all references.
| |
ResolveRefUp |
Resolve child code objects that match the specified name, moving up the tree until a complete match is found.
(Overrides CodeObjectResolveRefUp(String, Resolver).) | |
ResolveRefUpSkipMethodBody |
Similar to ResolveRefUp(String, Resolver), but skips trying to resolve the symbol in the body or parameters of a
method (used for resolving parameter types).
(Inherited from CodeObject.) | |
Save |
Save the Project.
| |
SaveAll |
Save the Project plus all CodeUnits.
| |
SaveAs |
Save the Project to the specified file name.
| |
SetCurrentConfiguration |
Set the current configuration using the specified index.
| |
SetDefineConstants(String) |
Set any defined constants from the specified string.
| |
SetDefineConstants(String, HashSetString) | ||
SetField(Object, Object, Boolean) |
Set a field of a code object, including setting the parent, and optional formatting.
(Inherited from CodeObject.) | |
SetFieldT(ChildListT, ChildListT) |
Set a ChildList collection field of a code object, including setting the parent.
(Inherited from CodeObject.) | |
SetFieldT(T, T, Boolean) |
Set a field of a code object, including setting the parent, and optional formatting.
(Inherited from CodeObject.) | |
SetFormatFlag | (Inherited from CodeObject.) | |
SetLineCol(CodeObject) |
Set the line and column numbers to those in the specified CodeObject.
(Inherited from CodeObject.) | |
SetLineCol(Token) |
Set the line and column numbers to those in the specified token.
(Inherited from CodeObject.) | |
SetNewLines |
Special method to set the newline count without setting the NewLinesSet flag.
(Inherited from CodeObject.) | |
SetStartLineCol |
Set the starting line and column numbers to those in the specified token (used by
some code objects with prefixes such as modifiers).
(Inherited from CodeObject.) | |
ToString |
Render the type of the code object and its description as a string.
(Inherited from CodeObject.) | |
UndefineCompilerDirectiveSymbol |
Un-define a compiler direcive symbol for the current configuration.
| |
UndefineConstant |
Un-define a constant.
| |
Unload |
Unload the project - clear its global namespace and loaded assemblies.
| |
UpdateAllDeclExpressions |
Recursively update the dictionary of names in the specified Block by either adding or removing
(as specified by the 2nd parameter) all appropriate nested INamedCodeObjects expressions in the
current CodeObject tree (specifically implemented for LocalDeclExpr expression objects).
(Inherited from CodeObject.) | |
UpdateLineCol |
Update the line and column numbers according to the current positions in the CodeWriter,
if the UpdateLineCol flag is set.
(Inherited from CodeObject.) | |
WriteRaw | ||
WriteUnhandledData |
Name | Description | |
---|---|---|
_annotations |
Any Annotations (Comments, DocComments, Attributes,
or Messages) associated with the CodeObject (null if none).
(Inherited from CodeObject.) | |
_assemblyResolver |
The MonoCecilAssemblyResolver for this project (only used if using Mono Cecil to load assemblies).
| |
_baseIntermediateOutputPath | ||
_builtInTypes |
Cached type objects for built-in types.
| |
_cachedSystemRefs |
Cached SymbolicRef objects - used by FindRef() to cache results, usually for System TypeRefs.
| |
_codeUnits |
All code units in this project.
| |
_columnNumber |
The starting column number associated with the CodeObject if parsed from or written to text form.
(Inherited from CodeObject.) | |
_configurationName | ||
_configurations |
The project configurations.
| |
_currentConfiguration |
The currently active project configuration.
| |
_currentPlatformConfiguration |
The currently active platform-specific configuration (if any).
| |
_defineConstants | ||
_dependsOn |
A cached dictionary of projects which the current one depends on (used for performance).
| |
_fileItems |
File items (source files, content files, resource files, etc).
| |
_fileName | ||
_formatFlags |
Formatting flags - for line feeds, braces, etc.
(Inherited from CodeObject.) | |
_frameworkContext |
The FrameworkContext for this project, which keeps track of all loaded assemblies.
| |
_globalAttributes |
All project-global attributes (those with a target of assembly or module) defined in any CodeUnit (usually AssemblyInfo.cs).
| |
_globalNamespace |
The project's global namespace.
| |
_intermediateOutputPath | ||
_internalsVisibleTo |
Assembly names which have internal visibility to this project.
| |
_internalsVisibleToTest |
Assembly names which have internal visibility to this project for testing purposes only.
| |
_isNew | ||
_lineNumber |
The starting line number associated with the CodeObject if parsed from or written to text form.
(Inherited from CodeObject.) | |
_loadedAssemblies |
Assembly/root namespace combinations for which types have already been loaded for this project.
| |
_loadedForAssemblyOnly | ||
_name | ||
_notSupported |
True if the project type is not currently supported.
| |
_nuGetReferences |
NuGet references.
| |
_outDir | ||
_outputPath | ||
_parent |
The parent CodeObject.
(Inherited from CodeObject.) | |
_platformConfigurations |
Platform-specific configurations.
| |
_projectGuid | ||
_references |
References to other projects, assemblies, or COM objects.
| |
_removeFiles |
Set of file items to be removed (source files, content files, resource files, etc) by filespec.
| |
_targetFramework | ||
_targetFrameworkIdentifier | ||
_targetFrameworkProfile | ||
_targetFrameworkVersion | ||
_targetPlatform | ||
_targetPlatformMinVersion | ||
_targetPlatformVersion | ||
_typeGuid | ||
_unhandledData |
Unhandled (unparsed or unrecognized) XML data in the project file.
| |
_unhandledProperties |
A dictionary of unhandled properties (used to evaluate macros).
| |
_userReferencePath |
The ReferencePath from any "*.csproj.user" file.
| |
_visualStudioVersion | ||
ASPMVCProjectType | ||
ConfigurationDebug | ||
ConfigurationRelease | ||
CPPProjectType | ||
CSCoreProjectType | ||
CSharpFileExtension | ||
CSharpProjectFileExtension | ||
CSProjectType | ||
CSSharePointProjectType | ||
CSWorkflowProjectType | ||
DefaultBaseAddress | ||
DefaultFileAlignment | ||
DefaultFramework | ||
DefaultPlatform | ||
DesignerCSharpGeneratedExtension | ||
DesignerGeneratedExtension | ||
DesignerVBGeneratedExtension | ||
DisableMultithreading |
Set to disable the use of multithreading for loading, parsing, resolving, etc. This option is available as a
possible workaround for any threading-related bugs that might appear in certain scenarios.
| |
FolderType | ||
GeneratedFileExtension | ||
GeneratedFileExtension2 | ||
JsonFileExtension | ||
LoadInternalTypes |
Set to load internal types in addition to public types when loading types from referenced assemblies and
projects, even when there isn't any InternalsVisibleTo attribute. This allows resolving namespaces and types
that would otherwise not be found, allowing code analysis to then flag such references as illegal (not accessible).
This option will slow things down a bit and use up more memory.
| |
MsCorLib | ||
MvcProjectType | ||
NuGetProjectAssetsJsonFile | ||
NuGetProjectFileName | ||
NuGetProjectJsonFile | ||
OutputFolderName | ||
PlatformAnyCPU | ||
PlatformX64 | ||
PlatformX86 | ||
PropertiesFolder | ||
ReferencesFolder | ||
SetupProjectType | ||
SharedItemsFileExtension | ||
SharedProjectFileExtension | ||
SilverlightProjectType | ||
SystemCore | ||
TestProjectType | ||
VBFileExtension | ||
VBProjectFileExtension | ||
VBProjectType | ||
VBSharePointProjectType | ||
VBWorkflowProjectType | ||
VisualDBToolsProjectType | ||
VstoProjectType | ||
WCFProjectType | ||
WebApplicationProjectType | ||
WebSiteProjectType | ||
WorkflowCodeBesideFileExtension | ||
WorkflowCSharpCodeBesideFileExtension | ||
WorkflowVBCodeBesideFileExtension | ||
WPFProjectType | ||
XamlCSharpCodeBehindExtension | ||
XamlCSharpGeneratedExtension | ||
XamlCSharpGeneratedExtension2 | ||
XamlCSharpGeneratedExtension3 | ||
XamlFileExtension | ||
XamlVBCodeBehindExtension | ||
XamlVBGeneratedExtension | ||
XamlVBGeneratedExtension2 | ||
XamlVBGeneratedExtension3 |