"foo as TypeSymbol" may result in `null' and accessing it without check is
not recommended. If the invocation context provides information that `null'
is not a possible result then use an unsafe cast "(TypeSymbol) foo".
}
}
+ if (inner is CastExpression && ((CastExpression) inner).is_silent_cast) {
+ Report.warning (source_reference, "Access to possible `null'. Perform a check or use an unsafe cast.");
+ }
+
if (inner is MemberAccess || inner is BaseAccess) {
base_symbol = inner.symbol_reference;