2 writes to _name
System.Data.Common (2)
System\Data\Filter\FunctionNode.cs (2)
675
_name
= null!;
685
_name
= name;
23 references to _name
System.Data.Common (23)
System\Data\Filter\FunctionNode.cs (23)
54
if (string.Equals(s_funcs[i].
_name
, name, StringComparison.OrdinalIgnoreCase))
165
throw ExprException.ArgumentType(s_funcs[_info].
_name
, i + 1, s_funcs[_info]._parameters[i]!);
170
throw ExprException.ArgumentType(s_funcs[_info].
_name
, i + 1, s_funcs[_info]._parameters[i]!);
296
throw ExprException.ArgumentType(s_funcs[_info].
_name
, 2, typeof(Type));
321
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
329
throw ExprException.ArgumentTypeInteger(s_funcs[_info].
_name
, 1);
332
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
344
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
348
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
352
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
356
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
360
Debug.Assert(_argumentCount == 2, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
362
Debug.Assert(argumentValues[0] is string, $"Invalid argument type for {s_funcs[_info].
_name
}");
363
Debug.Assert(argumentValues[1] is string, $"Invalid argument type for {s_funcs[_info].
_name
}");
393
throw ExprException.NYI(s_funcs[_info].
_name
);
404
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
405
Debug.Assert((argumentValues[0] is string) || (argumentValues[0] is SqlString), $"Invalid argument type for {s_funcs[_info].
_name
}");
424
Debug.Assert((argumentValues[0] is string) || (argumentValues[0] is SqlString), $"Invalid first argument {argumentValues[0].GetType().FullName} in {s_funcs[_info].
_name
}");
425
Debug.Assert(argumentValues[1] is int, $"Invalid second argument {argumentValues[1].GetType().FullName} in {s_funcs[_info].
_name
}");
426
Debug.Assert(argumentValues[2] is int, $"Invalid third argument {argumentValues[2].GetType().FullName} in {s_funcs[_info].
_name
}");
465
Debug.Assert(_argumentCount == 1, $"Invalid argument argumentCount for {s_funcs[_info].
_name
} : {_argumentCount.ToString(FormatProvider)}");
466
Debug.Assert((argumentValues[0] is string) || (argumentValues[0] is SqlString), $"Invalid argument type for {s_funcs[_info].
_name
}");
564
throw ExprException.UndefinedFunction(s_funcs[_info].
_name
);