Skip to content

Commit 588fa37

Browse files
committed
Fix SourceWriter conflicts
1 parent 6722170 commit 588fa37

File tree

1 file changed

+0
-10
lines changed
  • src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator

1 file changed

+0
-10
lines changed

src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/SourceWriter.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,6 @@ private void WriteRedMinimalFactory(Node nd, bool withStringNames = false)
19721972

19731973
this.WriteLine();
19741974

1975-
<<<<<<< HEAD
19761975
var hasOptional = minimalFactoryfields.Any(f => !IsRequiredFactoryField(nd, f));
19771976
var hasAttributeOrModifiersList = nd.Fields.Any(f => IsAttributeOrModifiersList(f));
19781977

@@ -1981,12 +1980,8 @@ private void WriteRedMinimalFactory(Node nd, bool withStringNames = false)
19811980
WriteLine("#pragma warning disable RS0027");
19821981
}
19831982

1984-
WriteComment(string.Format("<summary>Creates a new {0} instance.</summary>", nd.Name), " ");
1985-
Write(" {0} static {1} {2}(", "public", nd.Name, StripPost(nd.Name, "Syntax"));
1986-
=======
19871983
WriteComment(string.Format("<summary>Creates a new {0} instance.</summary>", nd.Name));
19881984
Write("{0} static {1} {2}(", "public", nd.Name, StripPost(nd.Name, "Syntax"));
1989-
>>>>>>> upstream/master
19901985

19911986
bool hasPreviousParameter = false;
19921987
if (nd.Kinds.Count > 1)
@@ -2082,16 +2077,11 @@ private void WriteRedMinimalFactory(Node nd, bool withStringNames = false)
20822077
}
20832078

20842079
WriteLine(");");
2085-
<<<<<<< HEAD
2086-
2087-
WriteLine(" }");
20882080

20892081
if (hasOptional && hasAttributeOrModifiersList)
20902082
{
20912083
WriteLine("#pragma warning restore RS0027");
20922084
}
2093-
=======
2094-
>>>>>>> upstream/master
20952085
}
20962086

20972087
private bool CanAutoConvertFromString(Field field)

0 commit comments

Comments
 (0)