45 references to WRN_ObsoleteIdentityDirectCastForValueType
Microsoft.CodeAnalysis.VisualBasic (5)
Binding\Binder_Conversions.vb (1)
140
ReportDiagnostic(diagnostics, argument.Syntax, ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
)
Errors\ErrorFacts.vb (1)
1496
ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
,
Generated\ErrorFacts.Generated.vb (1)
144
ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
,
Preprocessor\ExpressionEvaluator.vb (2)
431
Return ReportSemanticError(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, expr.Type)
459
result = result.WithError(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (38)
ExpressionTrees\CodeGenExprLambda.vb (38)
1454
).VerifyDiagnostics(Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1455
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"))
1499
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1500
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1501
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1502
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1503
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1504
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1505
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1506
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1507
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1508
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1509
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1510
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1511
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1512
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1513
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1514
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1515
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1516
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1517
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1518
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1519
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1520
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1521
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1522
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1523
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1524
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1525
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1526
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1527
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1528
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1529
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1530
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1531
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1532
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1533
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x"),
1534
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "x")})
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\Conversions.vb (2)
3064
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "[In]"),
3101
Diagnostic(ERRID.
WRN_ObsoleteIdentityDirectCastForValueType
, "[In]"),