Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow xml docs to still be created when 'emit metadata only' is on. #57667

Merged
merged 17 commits into from
Jan 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pass in doc mode explicitly
CyrusNajmabadi committed Nov 16, 2021
commit 3936ea43a83e55b91983e2c892a02af872cb52d4
4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Test/Emit/Emit/CompilationEmitTests.cs
Original file line number Diff line number Diff line change
@@ -260,7 +260,7 @@ public static void SayHello()
}
}
}
");
", parseOptions: CSharpParseOptions.Default.WithDocumentationMode(DocumentationMode.None));

EmitResult emitResult;
byte[] mdOnlyImage;
@@ -295,7 +295,7 @@ public static void SayHello()
}
}
}
");
", parseOptions: CSharpParseOptions.Default.WithDocumentationMode(DocumentationMode.None));

EmitResult emitResult;
byte[] mdOnlyImage;
Original file line number Diff line number Diff line change
@@ -311,7 +311,7 @@ Namespace Goo.Bar
End Class
End Namespace
</file>
</compilation>)
</compilation>, parseOptions:=VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.None))

Dim emitResult As EmitResult
Dim mdOnlyImage As Byte()
@@ -345,7 +345,7 @@ Namespace Goo.Bar
End Class
End Namespace
</file>
</compilation>)
</compilation>, parseOptions:=VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.None))

Dim emitResult As EmitResult
Dim mdOnlyImage As Byte()