1 implementation of IsTryCast
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5107
public bool
IsTryCast
{ get; }
3 references to IsTryCast
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7424
return new ConversionOperation(VisitRequired(operation.Operand), ((ConversionOperation)operation).ConversionConvertible, operation.
IsTryCast
, operation.IsChecked, semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation));
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1250
var isTryCast = $"TryCast: {(operation.
IsTryCast
? "True" : "False")}";
Compilation\TestOperationVisitor.cs (1)
844
var isTryCast = operation.
IsTryCast
;