Misc project item cleanup
This commit is contained in:
Ryan Nowak 2017-05-12 13:48:30 -07:00
parent a1a560ddda
commit 2b9c69bed8
3 changed files with 5 additions and 7 deletions

View File

@ -28,8 +28,6 @@ namespace Microsoft.AspNetCore.Razor.Language
public override bool Exists => File.Exists; public override bool Exists => File.Exists;
public override string FileName => File.Name;
public override string PhysicalPath => File.FullName; public override string PhysicalPath => File.FullName;
public override Stream Read() => File.OpenRead(); public override Stream Read() => File.OpenRead();

View File

@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary> /// <summary>
/// A <see cref="RazorProjectItem"/> that does not exist. /// A <see cref="RazorProjectItem"/> that does not exist.
/// </summary> /// </summary>
public class NotFoundProjectItem : RazorProjectItem internal class NotFoundProjectItem : RazorProjectItem
{ {
/// <summary> /// <summary>
/// Initializes a new instance of <see cref="NotFoundProjectItem"/>. /// Initializes a new instance of <see cref="NotFoundProjectItem"/>.

View File

@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary> /// <summary>
/// The root relative path of the item. /// The root relative path of the item.
/// </summary> /// </summary>
public virtual string CombinedPath public string CombinedPath
{ {
get get
{ {
@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary> /// <summary>
/// The extension of the file. /// The extension of the file.
/// </summary> /// </summary>
public virtual string Extension public string Extension
{ {
get get
{ {
@ -78,7 +78,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary> /// <summary>
/// The name of the file including the extension. /// The name of the file including the extension.
/// </summary> /// </summary>
public virtual string FileName public string FileName
{ {
get get
{ {
@ -90,7 +90,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary> /// <summary>
/// Path relative to <see cref="BasePath"/> without the extension. /// Path relative to <see cref="BasePath"/> without the extension.
/// </summary> /// </summary>
public virtual string PathWithoutExtension public string PathWithoutExtension
{ {
get get
{ {