提交 c2f26cda 编写于 作者: G Gen Lu

Add comments for default namespace in workspace

上级 7da542be
......@@ -308,6 +308,9 @@ private static void ComputeFolderNames(uint folderItemID, List<string> names, IV
/// Get the default namespace of the project ("" if not defined, which means global namespace),
/// or null if it is unknown or not applicable.
/// </summary>
/// <remarks>
/// This only has meaning in C# and is explicitly set to null in VB.
/// </remarks>>
private static string GetDefaultNamespace(IVsHierarchy hierarchy, string language)
{
// While both csproj and vbproj might define <rootnamespace> property in the project file,
......
......@@ -39,6 +39,9 @@ internal sealed class ProjectFileInfo
/// The default namespace of the project ("" if not defined, which means global namespace),
/// or null if it is unknown or not applicable.
/// </summary>
/// <remarks>
/// This only has meaning in C# and is explicitly set to null in VB.
/// </remarks>>
public string DefaultNamespace { get; }
/// <summary>
......
......@@ -66,6 +66,9 @@ internal Project(Solution solution, ProjectState projectState)
/// The default namespace of the project ("" if not defined, which means global namespace),
/// or null if it is unknown or not applicable.
/// </summary>
/// <remarks>
/// This only has meaning in C# and is explicitly set to null in VB.
/// </remarks>>
internal string DefaultNamespace => _projectState.DefaultNamespace;
/// <summary>
......
......@@ -62,6 +62,9 @@ public sealed class ProjectInfo
/// The default namespace of the project ("" if not defined, which means global namespace),
/// or null if it is unknown or not applicable.
/// </summary>
/// <remarks>
/// This only has meaning in C# and is explicitly set to null in VB.
/// </remarks>>
internal string DefaultNamespace => Attributes.DefaultNamespace;
/// <summary>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册