File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
eng/packages/http-client-csharp/generator/Azure.Generator/src/Primitives Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ public class NewAzureProjectScaffolding : NewProjectScaffolding
20
20
private const string ParentDirectory = "../" ;
21
21
private const string SharedSourceLinkBase = "Shared/Core" ;
22
22
23
- private int PathSegmentCount => _pathSegmentCount ??= GetPathSegmentCount ( ) ;
24
- private int ? _pathSegmentCount ;
25
-
26
23
/// <inheritdoc/>
27
24
protected override string GetSourceProjectFileContent ( )
28
25
{
@@ -58,8 +55,7 @@ protected override string GetSourceProjectFileContent()
58
55
"DiagnosticScopeFactory.cs" ,
59
56
"DiagnosticScope.cs" ,
60
57
"HttpMessageSanitizer.cs" ,
61
- "TrimmingAttribute.cs" ,
62
- "NoValueResponseOfT.cs" ,
58
+ "TrimmingAttribute.cs"
63
59
] ;
64
60
65
61
private static readonly IReadOnlyList < string > _lroSharedFiles =
@@ -128,7 +124,7 @@ private static int GetPathSegmentCount()
128
124
/// <returns>A relative path string for the compile include file.</returns>
129
125
protected string GetCompileInclude ( string fileName , string relativeSegment = RelativeCoreSegment )
130
126
{
131
- return $ "{ MSBuildThisFileDirectory } { string . Concat ( Enumerable . Repeat ( ParentDirectory , PathSegmentCount ) ) } { relativeSegment } { fileName } ";
127
+ return $ "{ MSBuildThisFileDirectory } { string . Concat ( Enumerable . Repeat ( ParentDirectory , GetPathSegmentCount ( ) ) ) } { relativeSegment } { fileName } ";
132
128
}
133
129
134
130
/// <summary>
You can’t perform that action at this time.
0 commit comments