@@ -50,7 +50,7 @@ public SqlConstantExpression(object? value, Type type, bool sensitive, Relationa
50
50
: base ( type . UnwrapNullableType ( ) , typeMapping )
51
51
{
52
52
Value = value ;
53
- Sensitive = sensitive ;
53
+ IsSensitive = sensitive ;
54
54
}
55
55
56
56
/// <summary>
@@ -71,7 +71,7 @@ public SqlConstantExpression(object value, bool sensitive, RelationalTypeMapping
71
71
/// <param name="typeMapping">The <see cref="RelationalTypeMapping" /> associated with the expression.</param>
72
72
[ Obsolete ( "Call the constructor accepting a value (and possibly a Type) instead" ) ]
73
73
public SqlConstantExpression ( ConstantExpression constantExpression , RelationalTypeMapping ? typeMapping )
74
- : this ( constantExpression . Value , constantExpression . Type , false , typeMapping )
74
+ : this ( constantExpression . Value , constantExpression . Type , sensitive : false , typeMapping )
75
75
{
76
76
}
77
77
@@ -83,15 +83,15 @@ public SqlConstantExpression(ConstantExpression constantExpression, RelationalTy
83
83
/// <summary>
84
84
/// Whether the expression contains sensitive values.
85
85
/// </summary>
86
- public virtual bool Sensitive { get ; }
86
+ public virtual bool IsSensitive { get ; }
87
87
88
88
/// <summary>
89
89
/// Applies supplied type mapping to this expression.
90
90
/// </summary>
91
91
/// <param name="typeMapping">A relational type mapping to apply.</param>
92
92
/// <returns>A new expression which has supplied type mapping.</returns>
93
93
public virtual SqlExpression ApplyTypeMapping ( RelationalTypeMapping ? typeMapping )
94
- => new SqlConstantExpression ( Value , Type , Sensitive , typeMapping ) ;
94
+ => new SqlConstantExpression ( Value , Type , IsSensitive , typeMapping ) ;
95
95
96
96
/// <inheritdoc />
97
97
protected override Expression VisitChildren ( ExpressionVisitor visitor )
@@ -107,7 +107,7 @@ public override Expression Quote()
107
107
Constant ( Value , Type ) , typeof ( object ) )
108
108
: Constant ( Value , Type ) ,
109
109
Constant ( Type ) ,
110
- Constant ( Sensitive ) ,
110
+ Constant ( IsSensitive ) ,
111
111
RelationalExpressionQuotingUtilities . QuoteTypeMapping ( TypeMapping ) ) ;
112
112
113
113
/// <inheritdoc />
0 commit comments