3 references to CanEncodeString
Microsoft.Build.Framework (1)
EncodingUtilities.cs (1)
251return EncodingUtilities.CanEncodeString(defaultEncoding.CodePage, contents)
Microsoft.Build.Utilities.UnitTests (2)
EncodingUtilities_Tests.cs (2)
31EncodingUtilities.CanEncodeString(defaultEncoding.CodePage, nonAnsiCharacters).ShouldBeFalse(); 32EncodingUtilities.CanEncodeString(defaultEncoding.CodePage, pathWithAnsiCharacters).ShouldBeTrue();