mirror of
https://github.com/github/codeql.git
synced 2026-04-04 14:48:20 +02:00
15 lines
281 B
C#
15 lines
281 B
C#
using System;
|
|
|
|
public class TestImplicitConversionOperator
|
|
{
|
|
static void Sink(object o) { }
|
|
static void TaintArgument(ArraySegment<byte> segment) { }
|
|
|
|
public void M1()
|
|
{
|
|
byte[] bytes = new byte[1];
|
|
TaintArgument(bytes);
|
|
Sink(bytes);
|
|
}
|
|
}
|