Skip to content

Remove unsafe quirks from System.Text.Encodings.Web

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests) failed Nov 17, 2024 in 25m 55s

Build browser-wasm linux Release LibraryTests failed

Annotations

Check failure on line 38 in src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/SpanUtility.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/SpanUtility.cs#L38

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/SpanUtility.cs(38,63): error CS1620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 2 must be passed with the 'ref' keyword

Check failure on line 137 in src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs#L137

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs(137,33): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'string' does not contain a definition for 'TryCopyTo' and no accessible extension method 'TryCopyTo' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 142 in src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs#L142

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs(142,33): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'string' does not contain a definition for 'TryCopyTo' and no accessible extension method 'TryCopyTo' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 147 in src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs#L147

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs(147,34): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'string' does not contain a definition for 'TryCopyTo' and no accessible extension method 'TryCopyTo' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 152 in src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs#L152

src/libraries/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultHtmlEncoder.cs(152,35): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'string' does not contain a definition for 'TryCopyTo' and no accessible extension method 'TryCopyTo' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)