Skip to content

Commit f2f29c2

Browse files
author
msftbot[bot]
authored
Merge pull request #41761 from dotnet/merges/master-to-master-vs-deps
Merge master to master-vs-deps
2 parents eeda106 + fea95d7 commit f2f29c2

31 files changed

+606
-184
lines changed

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<!-- Versions used by several individual references below -->
2929
<RoslynDiagnosticsNugetPackageVersion>3.0.0-beta2.20059.3+77df2220</RoslynDiagnosticsNugetPackageVersion>
3030
<CodeStyleLayerCodeAnalysisVersion>3.3.1</CodeStyleLayerCodeAnalysisVersion>
31-
<MicrosoftCodeAnalysisTestingVersion>1.0.1-beta1.20067.1</MicrosoftCodeAnalysisTestingVersion>
31+
<MicrosoftCodeAnalysisTestingVersion>1.0.1-beta1.20114.4</MicrosoftCodeAnalysisTestingVersion>
3232
<CodeStyleAnalyzerVersion>3.5.0-beta3-20078-04</CodeStyleAnalyzerVersion>
3333
<VisualStudioEditorPackagesVersion>16.4.248</VisualStudioEditorPackagesVersion>
3434
<ILToolsPackageVersion>5.0.0-alpha1.19409.1</ILToolsPackageVersion>
@@ -97,7 +97,7 @@
9797
<MicrosoftVisualStudioCodeAnalysisSdkUIVersion>15.8.27812-alpha</MicrosoftVisualStudioCodeAnalysisSdkUIVersion>
9898
<MicrosoftVisualStudioCodingConventionsVersion>1.1.20180503.2</MicrosoftVisualStudioCodingConventionsVersion>
9999
<MicrosoftVisualStudioComponentModelHostVersion>16.0.198-g52de9c2988</MicrosoftVisualStudioComponentModelHostVersion>
100-
<MicrosoftVisualStudioCompositionVersion>15.5.23</MicrosoftVisualStudioCompositionVersion>
100+
<MicrosoftVisualStudioCompositionVersion>15.6.36</MicrosoftVisualStudioCompositionVersion>
101101
<MicrosoftVisualStudioCoreUtilityVersion>$(VisualStudioEditorPackagesVersion)</MicrosoftVisualStudioCoreUtilityVersion>
102102
<MicrosoftVisualStudioDebuggerUIInterfacesVersion>16.0.29431.108</MicrosoftVisualStudioDebuggerUIInterfacesVersion>
103103
<MicrosoftVisualStudioDebuggerEngineimplementationVersion>16.5.1122001-preview</MicrosoftVisualStudioDebuggerEngineimplementationVersion>

src/Compilers/Core/Portable/Desktop/AssemblyPortabilityPolicy.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ private static bool ReadToChild(XmlReader reader, int depth, string elementName,
5454
DtdProcessing = DtdProcessing.Prohibit,
5555
};
5656

57-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.FxCop.Rules.Security.Xml.SecurityXmlRules", "CA3053:UseXmlSecureResolver",
58-
MessageId = "System.Xml.XmlReader.Create",
59-
Justification = @"For the call to XmlReader.Create() below, CA3053 recommends setting the
60-
XmlReaderSettings.XmlResolver property to either null or an instance of XmlSecureResolver.
61-
However, the said XmlResolver property no longer exists in .NET portable framework (i.e. core framework) which means there is no way to set it.
62-
So we suppress this error until the reporting for CA3053 has been updated to account for .NET portable framework.")]
6357
internal static AssemblyPortabilityPolicy LoadFromXml(Stream input)
6458
{
6559
// Note: Unlike Fusion XML reader the XmlReader doesn't allow whitespace in front of <?xml version=""1.0"" encoding=""utf-8"" ?>

src/Compilers/Core/Portable/DocumentationComments/DocumentationCommentIncludeCache.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ public XDocument GetOrMakeDocument(string resolvedPath)
4444
/// <exception cref="IOException"></exception>
4545
/// <exception cref="XmlException"></exception>
4646
/// <exception cref="InvalidOperationException"></exception>
47-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.FxCop.Rules.Security.Xml.SecurityXmlRules", "CA3053:UseXmlSecureResolver",
48-
MessageId = "System.Xml.XmlReader.Create",
49-
Justification = @"For the call to XmlReader.Create() below, CA3053 recommends setting the
50-
XmlReaderSettings.XmlResolver property to either null or an instance of XmlSecureResolver.
51-
However, the said XmlResolver property no longer exists in .NET portable framework (i.e. core framework) which means there is no way to set it.
52-
So we suppress this error until the reporting for CA3053 has been updated to account for .NET portable framework.")]
5347
private static KeyValuePair<string, XDocument> MakeValue(XmlReferenceResolver resolver, string resolvedPath)
5448
{
5549
CacheMissCount++;

src/Compilers/Core/Portable/DocumentationComments/XmlDocumentationCommentTextReader.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ public static XmlException ParseAndGetException(string text)
3232
private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit };
3333

3434
// internal for testing
35-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.FxCop.Rules.Security.Xml.SecurityXmlRules", "CA3053:UseXmlSecureResolver",
36-
MessageId = "System.Xml.XmlReader.Create",
37-
Justification = @"For the call to XmlReader.Create() below, CA3053 recommends setting the
38-
XmlReaderSettings.XmlResolver property to either null or an instance of XmlSecureResolver.
39-
However, the said XmlResolver property no longer exists in .NET portable framework (i.e. core framework) which means there is no way to set it.
40-
So we suppress this error until the reporting for CA3053 has been updated to account for .NET portable framework.")]
4135
internal XmlException ParseInternal(string text)
4236
{
4337
_textReader.SetText(text);

src/Compilers/Core/Portable/RuleSet/RuleSetProcessor.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ internal class RuleSetProcessor
5454
/// Creates and loads the rule set from a file
5555
/// </summary>
5656
/// <param name="filePath">The file path to load the rule set</param>
57-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.FxCop.Rules.Security.Xml.SecurityXmlRules", "CA3053:UseXmlSecureResolver",
58-
MessageId = "System.Xml.XmlReader.Create",
59-
Justification = @"For the call to XmlReader.Create() below, CA3053 recommends setting the
60-
XmlReaderSettings.XmlResolver property to either null or an instance of XmlSecureResolver.
61-
However, the said XmlResolver property no longer exists in .NET portable framework (i.e. core framework) which means there is no way to set it.
62-
So we suppress this error until the reporting for CA3053 has been updated to account for .NET portable framework.")]
6357
public static RuleSet LoadFromFile(string filePath)
6458
{
6559
// First read the file without doing any validation

0 commit comments

Comments
 (0)