Skip to content
Open
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ private SourceText GenerateGlobalResources(IEnumerable<XamlFileDefinition> files
{
var writer = new IndentedStringBuilder();

writer.AppendLineIndented("// <exclude />");
writer.AppendLineIndented("// <autogenerated />");
AnalyzerSuppressionsGenerator.Generate(writer, _analyzerSuppressions);

Expand All @@ -697,6 +698,8 @@ private SourceText GenerateGlobalResources(IEnumerable<XamlFileDefinition> files
writer.AppendLineIndented("[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdate]");
}

writer.AppendLineIndented("[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]");

using (writer.BlockInvariant("public sealed partial class GlobalStaticResources"))
{
writer.AppendLineIndented("static bool _initialized;");
Expand Down
Loading