22 references to IsDynamic
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_TupleOperators.cs (1)
111
Debug.Assert(!binary.OperatorKind.
IsDynamic
());
Binder\Semantics\Operators\OperatorKindExtensions.cs (1)
244
if (kind.
IsDynamic
())
BoundTree\BoundBinaryOperator.UncommonData.cs (1)
17
if (OperatorKind.
IsDynamic
())
BoundTree\BoundExpression.cs (2)
408
public MethodSymbol? BinaryOperatorMethod => OperatorKind.
IsDynamic
() ? null : Data?.Method;
409
public MethodSymbol? LeftTruthOperatorMethod => OperatorKind.
IsDynamic
() && OperatorKind.IsLogical() ? Data?.Method : null;
CodeGen\Optimizer.cs (3)
1536
Debug.Assert(!binary.OperatorKind.
IsDynamic
());
1571
Debug.Assert(!node.OperatorKind.
IsDynamic
());
2113
Debug.Assert(!binary.OperatorKind.
IsDynamic
());
Compilation\CSharpSemanticModel.cs (2)
3851
isDynamic = binaryOperator.OperatorKind.
IsDynamic
();
3924
isDynamic = compoundAssignment.Operator.Kind.
IsDynamic
();
FlowAnalysis\NullableWalker.cs (1)
5132
else if (!operatorKind.
IsDynamic
() && !resultType.IsValueType)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
164
Debug.Assert(!node.OperatorKind.
IsDynamic
());
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
195
Debug.Assert(!binOp.OperatorKind.
IsDynamic
());
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
789
if (_inExpressionLambda && node.OperatorKind.
IsDynamic
())
Lowering\DiagnosticsPass_Warnings.cs (1)
288
if (!node.Operator.Kind.
IsDynamic
() && node.LeftConversion is BoundConversion { Conversion: { IsIdentity: false, Exists: true } conversion })
Lowering\ExtensionMethodReferenceRewriter.cs (1)
250
Debug.Assert(!node.OperatorKind.
IsDynamic
());
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
232
if (operatorKind.
IsDynamic
())
539
Debug.Assert(!operatorKind.
IsDynamic
());
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
90
bool isDynamic = kind.
IsDynamic
();
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
549
if (single.Kind.
IsDynamic
())
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
158
Debug.Assert(operatorKind.
IsDynamic
());
Lowering\SpillSequenceSpiller.cs (1)
993
Debug.Assert(!node.OperatorKind.
IsDynamic
());