126 implementations of Type
Microsoft.CodeAnalysis (126)
Generated\Operations.Generated.cs (123)
3677
public override ITypeSymbol?
Type
=> null;
3732
public override ITypeSymbol?
Type
=> null;
3802
public override ITypeSymbol?
Type
=> null;
3908
public override ITypeSymbol?
Type
=> null;
4000
public override ITypeSymbol?
Type
=> null;
4112
public override ITypeSymbol?
Type
=> null;
4136
public override ITypeSymbol?
Type
=> null;
4189
public override ITypeSymbol?
Type
=> null;
4209
public override ITypeSymbol?
Type
=> null;
4223
public override ITypeSymbol?
Type
=> null;
4275
public override ITypeSymbol?
Type
=> null;
4339
public override ITypeSymbol?
Type
=> null;
4418
public override ITypeSymbol?
Type
=> null;
4486
public override ITypeSymbol?
Type
=> null;
4537
public override ITypeSymbol?
Type
=> null;
4601
public override ITypeSymbol?
Type
=> null;
4615
public override ITypeSymbol?
Type
=> null;
4629
public override ITypeSymbol?
Type
=> null;
4695
public override ITypeSymbol?
Type
=> null;
4713
public override ITypeSymbol?
Type
{ get; }
4773
public override ITypeSymbol?
Type
{ get; }
4846
public override ITypeSymbol?
Type
{ get; }
4913
public override ITypeSymbol?
Type
{ get; }
4935
public override ITypeSymbol?
Type
{ get; }
4954
public override ITypeSymbol?
Type
{ get; }
5019
public override ITypeSymbol?
Type
{ get; }
5075
public override ITypeSymbol?
Type
{ get; }
5144
public override ITypeSymbol?
Type
{ get; }
5198
public override ITypeSymbol?
Type
{ get; }
5261
public override ITypeSymbol?
Type
{ get; }
5339
public override ITypeSymbol?
Type
{ get; }
5416
public override ITypeSymbol?
Type
{ get; }
5483
public override ITypeSymbol?
Type
{ get; }
5536
public override ITypeSymbol?
Type
=> null;
5606
public override ITypeSymbol?
Type
{ get; }
5658
public override ITypeSymbol?
Type
{ get; }
5725
public override ITypeSymbol?
Type
{ get; }
5744
public override ITypeSymbol?
Type
{ get; }
5800
public override ITypeSymbol?
Type
{ get; }
5852
public override ITypeSymbol?
Type
{ get; }
5925
public override ITypeSymbol?
Type
{ get; }
6000
public override ITypeSymbol?
Type
{ get; }
6053
public override ITypeSymbol?
Type
{ get; }
6118
public override ITypeSymbol?
Type
{ get; }
6181
public override ITypeSymbol?
Type
{ get; }
6198
public override ITypeSymbol?
Type
{ get; }
6255
public override ITypeSymbol?
Type
{ get; }
6311
public override ITypeSymbol?
Type
{ get; }
6367
public override ITypeSymbol?
Type
{ get; }
6430
public override ITypeSymbol?
Type
{ get; }
6483
public override ITypeSymbol?
Type
{ get; }
6541
public override ITypeSymbol?
Type
{ get; }
6599
public override ITypeSymbol?
Type
{ get; }
6651
public override ITypeSymbol?
Type
{ get; }
6703
public override ITypeSymbol?
Type
{ get; }
6721
public override ITypeSymbol?
Type
{ get; }
6740
public override ITypeSymbol?
Type
{ get; }
6760
public override ITypeSymbol?
Type
{ get; }
6812
public override ITypeSymbol?
Type
{ get; }
6875
public override ITypeSymbol?
Type
{ get; }
6938
public override ITypeSymbol?
Type
{ get; }
6990
public override ITypeSymbol?
Type
{ get; }
7049
public override ITypeSymbol?
Type
{ get; }
7101
public override ITypeSymbol?
Type
{ get; }
7118
public override ITypeSymbol?
Type
{ get; }
7180
public override ITypeSymbol?
Type
=> null;
7227
public override ITypeSymbol?
Type
=> null;
7278
public override ITypeSymbol?
Type
=> null;
7329
public override ITypeSymbol?
Type
=> null;
7384
public override ITypeSymbol?
Type
=> null;
7452
public override ITypeSymbol?
Type
=> null;
7533
public override ITypeSymbol?
Type
=> null;
7594
public override ITypeSymbol?
Type
=> null;
7671
public override ITypeSymbol?
Type
=> null;
7745
public override ITypeSymbol?
Type
=> null;
7769
public override ITypeSymbol?
Type
=> null;
7832
public override ITypeSymbol?
Type
=> null;
7894
public override ITypeSymbol?
Type
=> null;
7947
public override ITypeSymbol?
Type
=> null;
7998
public override ITypeSymbol?
Type
=> null;
8054
public override ITypeSymbol?
Type
=> null;
8127
public override ITypeSymbol?
Type
=> null;
8189
public override ITypeSymbol?
Type
=> null;
8211
public override ITypeSymbol?
Type
=> null;
8276
public override ITypeSymbol?
Type
{ get; }
8343
public override ITypeSymbol?
Type
=> null;
8414
public override ITypeSymbol?
Type
=> null;
8433
public override ITypeSymbol?
Type
{ get; }
8486
public override ITypeSymbol?
Type
=> null;
8508
public override ITypeSymbol?
Type
{ get; }
8561
public override ITypeSymbol?
Type
{ get; }
8578
public override ITypeSymbol?
Type
{ get; }
8597
public override ITypeSymbol?
Type
{ get; }
8656
public override ITypeSymbol?
Type
{ get; }
8723
public override ITypeSymbol?
Type
{ get; }
8780
public override ITypeSymbol?
Type
=> null;
8846
public override ITypeSymbol?
Type
=> null;
8922
public override ITypeSymbol?
Type
=> null;
8936
public override ITypeSymbol?
Type
=> null;
9005
public override ITypeSymbol?
Type
{ get; }
9080
public override ITypeSymbol?
Type
=> null;
9142
public override ITypeSymbol?
Type
=> null;
9205
public override ITypeSymbol?
Type
{ get; }
9269
public override ITypeSymbol?
Type
=> null;
9321
public override ITypeSymbol?
Type
{ get; }
9340
public override ITypeSymbol?
Type
{ get; }
9402
public override ITypeSymbol?
Type
=> null;
9457
public override ITypeSymbol?
Type
=> null;
9508
public override ITypeSymbol?
Type
=> null;
9572
public override ITypeSymbol?
Type
=> null;
9590
public override ITypeSymbol?
Type
=> null;
9643
public override ITypeSymbol?
Type
=> null;
9708
public override ITypeSymbol?
Type
{ get; }
9775
public override ITypeSymbol?
Type
{ get; }
9837
public override ITypeSymbol?
Type
=> null;
9889
public override ITypeSymbol?
Type
=> null;
9909
public override ITypeSymbol?
Type
=> null;
9976
public override ITypeSymbol?
Type
{ get; }
10037
public override ITypeSymbol?
Type
=> null;
10090
public override ITypeSymbol?
Type
=> null;
10157
public override ITypeSymbol?
Type
{ get; }
10176
public override ITypeSymbol?
Type
{ get; }
10227
public override ITypeSymbol?
Type
=> null;
Operations\Operation.cs (1)
76
public abstract ITypeSymbol?
Type
{ get; }
Operations\OperationNodes.cs (2)
135
public override ITypeSymbol?
Type
{ get; }
169
public override ITypeSymbol?
Type
=> null;
389 references to Type
Microsoft.CodeAnalysis (187)
Generated\Operations.Generated.cs (1)
1701
/// Natural type can be different from <see cref="IOperation.
Type
" /> depending on the
Operations\ControlFlowGraphBuilder.cs (180)
1412
return result ?? MakeInvalidOperation(originalOperation.Syntax, originalOperation.
Type
, ImmutableArray<IOperation>.Empty);
2098
return PopStackFrame(frame, new SimpleAssignmentOperation(operation.IsRef, PopOperand(), value, null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation)));
2110
syntax: operation.Syntax, type: operation.
Type
, isImplicit: IsImplicit(operation)));
2121
operation.Syntax, operation.
Type
, IsImplicit(operation));
2132
operation.Syntax, operation.
Type
, IsImplicit(operation));
2153
if (ITypeSymbolHelpers.IsBooleanType(operation.
Type
) &&
2154
ITypeSymbolHelpers.IsBooleanType(operation.LeftOperand.
Type
) &&
2155
ITypeSymbolHelpers.IsBooleanType(operation.RightOperand.
Type
))
2161
ITypeSymbolHelpers.IsNullableOfBoolean(operation.
Type
) &&
2162
ITypeSymbolHelpers.IsNullableOfBoolean(operation.LeftOperand.
Type
) &&
2163
ITypeSymbolHelpers.IsNullableOfBoolean(operation.RightOperand.
Type
))
2168
else if (ITypeSymbolHelpers.IsObjectType(operation.
Type
) &&
2169
ITypeSymbolHelpers.IsObjectType(operation.LeftOperand.
Type
) &&
2170
ITypeSymbolHelpers.IsObjectType(operation.RightOperand.
Type
))
2174
else if (ITypeSymbolHelpers.IsDynamicType(operation.
Type
) &&
2175
(ITypeSymbolHelpers.IsDynamicType(operation.LeftOperand.
Type
) ||
2176
ITypeSymbolHelpers.IsDynamicType(operation.RightOperand.
Type
)))
2215
semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation)));
2229
semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
2241
semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
2248
ITypeSymbolHelpers.IsBooleanType(operation.
Type
) &&
2249
ITypeSymbolHelpers.IsBooleanType(operation.Operand.
Type
);
2385
semanticModel: null, operand.Syntax, operand.
Type
, constantValue: null, isImplicit: true);
2434
Debug.Assert(binOp.
Type
is not null);
2435
return new ConversionOperation(condition, _compilation.ClassifyConvertibleConversion(condition, binOp.
Type
, out _), isTryCast: false, isChecked: false,
2436
semanticModel: null, binOp.Syntax, binOp.
Type
, binOp.GetConstantValue(), isImplicit: true);
2448
Debug.Assert(binOp.
Type
is not null);
2471
if (ITypeSymbolHelpers.IsBooleanType(left.
Type
))
2476
else if (ITypeSymbolHelpers.IsDynamicType(left.
Type
) || unaryOperatorMethod != null)
2482
(ITypeSymbolHelpers.IsNullableType(left.
Type
) || !ITypeSymbolHelpers.IsNullableType(unaryOperatorMethod.Parameters[0].Type))))
2508
if (!ITypeSymbolHelpers.IsDynamicType(left.
Type
))
2510
resultFromLeft = CreateConversion(resultFromLeft, binOp.
Type
);
2533
binOp.
Type
,
2568
if (ITypeSymbolHelpers.IsNullableType(left.
Type
))
2623
binOp.
Type
,
2677
AddStatement(new FlowCaptureOperation(captureId, leftSyntax, new LiteralOperation(semanticModel: null, leftSyntax, condition.
Type
, constantValue, isImplicit: true)));
2687
Debug.Assert(ITypeSymbolHelpers.IsBooleanType(condition.
Type
));
2723
lastUnary.
Type
, lastUnary.GetConstantValue(), IsImplicit(lastUnary))
2726
condition.
Type
, constantValue: null, isImplicit: true);
2736
ITypeSymbolHelpers.IsBooleanType(binOp.
Type
) &&
2737
ITypeSymbolHelpers.IsBooleanType(binOp.LeftOperand.
Type
) &&
2738
ITypeSymbolHelpers.IsBooleanType(binOp.RightOperand.
Type
);
2849
if (ITypeSymbolHelpers.IsBooleanType(condition.
Type
))
2854
if (ITypeSymbolHelpers.IsBooleanType(conditional.WhenTrue.
Type
) &&
2855
ITypeSymbolHelpers.IsBooleanType(conditional.WhenFalse.
Type
))
2874
if (ITypeSymbolHelpers.IsBooleanType(condition.
Type
))
2878
if (ITypeSymbolHelpers.IsBooleanType(coalesce.WhenNull.
Type
))
2971
ITypeSymbol? valueTypeOpt = operationValue.
Type
;
2991
(!testConversion.IsIdentity || !ITypeSymbolHelpers.IsNullableType(operation.
Type
)))
3009
isTryCast: false, isChecked: false, semanticModel: null, valueSyntax, operation.
Type
,
3017
convertedTestExpression = MakeInvalidOperation(operation.
Type
, capturedValue);
3112
if (operation.Target?.
Type
?.OriginalDefinition.SpecialType == SpecialType.System_Nullable_T &&
3113
((INamedTypeSymbol)operation.Target.
Type
!).TypeArguments[0].Equals(operation.
Type
))
3215
value: CreateConversion(whenNullValue, operation.Target.
Type
),
3218
type: operation.Target.
Type
,
3251
operation.Syntax, operation.
Type
, constantValue: operation.GetConstantValue(), isImplicit: true);
3313
ITypeSymbol? valueType = value.
Type
;
3338
Debug.Assert(ITypeSymbolHelpers.IsNullableType(value.
Type
));
3340
MakeInvalidOperation(ITypeSymbolHelpers.GetNullableUnderlyingType(value.
Type
), value);
3413
if (ITypeSymbolHelpers.IsNullableType(operation.
Type
) && !ITypeSymbolHelpers.IsNullableType(currentConditionalAccess.WhenNotNull.
Type
))
3417
MakeNullable(access, operation.
Type
)));
3437
Debug.Assert(operation.
Type
is not null);
3440
new DefaultValueOperation(semanticModel: null, defaultValueSyntax, operation.
Type
,
3441
(operation.
Type
.IsReferenceType && !ITypeSymbolHelpers.IsNullableType(operation.
Type
))
3514
ITypeSymbol? testExpressionType = testExpression.
Type
;
4007
return resource.
Type
== null || resource.
Type
.Kind == SymbolKind.DynamicType;
4105
Debug.Assert(!isNotNullableValueType(resource.
Type
));
4112
if (requiresRuntimeConversion || !isNotNullableValueType(resource.
Type
))
4119
if (!iDisposable.Equals(resource.
Type
) && disposeMethod is null)
4139
Debug.Assert((disposeMethod is object && !disposeArguments.IsDefault) || (value.
Type
!.Equals(iDisposable) && disposeArguments.IsDefaultOrEmpty));
4236
if (!objectType.Equals(lockedValue.
Type
))
4587
operation.LoopControlVariable.Syntax, operation.LoopControlVariable.
Type
,
4593
operation.LoopControlVariable.
Type
,
4658
ITypeSymbol? stepEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(operation.StepValue.
Type
);
4823
if (ITypeSymbolHelpers.IsNullableType(stepValue.
Type
))
4829
ITypeSymbol? stepValueEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(stepValue.
Type
);
4859
IOperation literal = new LiteralOperation(semanticModel: null, stepValue.Syntax, stepValue.
Type
,
5052
if (ITypeSymbolHelpers.IsNullableType(operation.LimitValue.
Type
))
5160
operation.StepValue.
Type
,
5175
operand.
Type
,
5223
bool isNullable = ITypeSymbolHelpers.IsNullableType(operation.StepValue.
Type
);
5264
controlVariableReferenceForAssignment.
Type
,
5283
Debug.Assert(ITypeSymbolHelpers.IsNullableType(controlVariableReferenceForIncrement.
Type
));
5299
controlVariableReferenceForIncrement.
Type
,
5307
Debug.Assert(controlVariableReferenceForAssignment.
Type
!= null);
5308
increment = MakeNullable(increment, controlVariableReferenceForAssignment.
Type
);
5349
return new FlowCaptureReferenceOperation(id, underlying.Syntax, underlying.
Type
, underlying.GetConstantValue());
5456
bool leftIsNullable = ITypeSymbolHelpers.IsNullableType(operation.Value.
Type
);
5457
bool rightIsNullable = ITypeSymbolHelpers.IsNullableType(compareWith.
Type
);
5469
if (leftOperand.
Type
!= null)
5471
Debug.Assert(compareWith.
Type
!= null);
5472
leftOperand = MakeNullable(leftOperand, compareWith.
Type
);
5475
else if (!rightIsNullable && rightOperand.
Type
!= null)
5477
Debug.Assert(operation.Value.
Type
!= null);
5478
rightOperand = MakeNullable(rightOperand, operation.Value.
Type
);
5568
Debug.Assert(ITypeSymbolHelpers.GetNullableUnderlyingType(type).Equals(operand.
Type
));
5837
operation.
Type
, IsImplicit(operation));
5847
operation.
Type
, IsImplicit(operation));
5879
IOperation initializedInstance = new NoPiaObjectCreationOperation(initializer: null, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
5891
operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
5899
var initializedInstance = new TypeParameterObjectCreationOperation(initializer: null, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
5913
operation.
Type
, IsImplicit(operation));
5999
assignmentOperation.
Type
, assignmentOperation.GetConstantValue(), IsImplicit(assignmentOperation));
6121
fieldReference.Syntax, fieldReference.
Type
, fieldReference.GetConstantValue(), IsImplicit(fieldReference));
6126
eventReference.
Type
, IsImplicit(eventReference));
6132
propertyReference.
Type
, IsImplicit(propertyReference));
6137
return new ArrayElementReferenceOperation(instance, indices, semanticModel: null, originalTarget.Syntax, originalTarget.
Type
, IsImplicit(originalTarget));
6149
dynamicReference.
Type
, IsImplicit(dynamicReference));
6161
return MakeInvalidOperation(operation.Syntax, operation.
Type
, ImmutableArray<IOperation>.Empty);
6167
return MakeInvalidOperation(operation.Syntax, operation.
Type
, ImmutableArray<IOperation>.Empty);
6175
operation.Syntax, operation.
Type
, IsImplicit(operation));
6179
Debug.Assert(operation.
Type
is not null);
6180
_currentImplicitInstance = new ImplicitInstanceInfo((INamedTypeSymbol)operation.
Type
);
6200
propertyReference.Instance.Syntax, propertyReference.Instance.
Type
, IsImplicit(propertyReference.Instance));
6202
semanticModel: null, propertyReference.Syntax, propertyReference.
Type
, IsImplicit(propertyReference));
6205
semanticModel: null, simpleAssignment.Syntax, simpleAssignment.
Type
, simpleAssignment.GetConstantValue(), IsImplicit(simpleAssignment));
6219
operation.Syntax, operation.
Type
, IsImplicit(operation));
6293
operation.Syntax, operation.
Type
, IsImplicit(operation));
6358
return MakeInvalidOperation(operation.Syntax, operation.
Type
, ImmutableArray<IOperation>.Empty);
6363
return new FlowCaptureReferenceOperation(_currentInterpolatedStringHandlerCreationContext.HandlerPlaceholder, operation.Syntax, operation.
Type
, operation.GetConstantValue());
6366
return new InstanceReferenceOperation(operation.ReferenceKind, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6395
dynamicMemberReference.ContainingType, semanticModel: null, dynamicMemberReference.Syntax, dynamicMemberReference.
Type
, IsImplicit(dynamicMemberReference));
6404
((HasDynamicArgumentsExpression)operation).ArgumentRefKinds, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6415
((HasDynamicArgumentsExpression)operation).ArgumentRefKinds, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6421
operation.ContainingType, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6427
return new DeconstructionAssignmentOperation(visitedTarget, visitedValue, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6465
return new TupleOperation(elementBuilder.ToImmutableAndFree(), tuple.NaturalType, semanticModel: null, tuple.Syntax, tuple.
Type
, IsImplicit(tuple));
6475
return new DeclarationExpressionOperation(VisitPreservingTupleOperations(operation.Expression), semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6523
return new NoneOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6529
new NoneOperation(VisitArray(((Operation)operation).ChildOperations.ToImmutableArray()), semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation)));
6605
ConditionalBranch(new FlowCaptureReferenceOperation(outParameterFlowCapture, outParameterPlaceholder.Syntax, outParameterPlaceholder.
Type
, constantValue: null), jumpIfTrue: false, resultBlock);
6652
return new FlowCaptureReferenceOperation(handlerCaptureId, operation.Syntax, operation.
Type
, operation.GetConstantValue());
6733
return new FlowCaptureReferenceOperation(_currentInterpolatedStringHandlerCreationContext.OutPlaceholder, operation.Syntax, operation.
Type
, operation.GetConstantValue(), isInitialization: true);
6745
return new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), isImplicit: true);
6758
return new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), isImplicit: true);
6845
return new InterpolatedStringOperation(partsBuilder.ToImmutableAndFree(), semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6861
return new LiteralOperation(semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6866
return new LiteralOperation(semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6871
return new Utf8StringOperation(operation.Value, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6877
operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6883
operation.
Type
, IsImplicit(operation));
6890
operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6897
operation.Syntax, operation.
Type
, IsImplicit(operation));
6917
return MakeInvalidOperation(operation.Syntax, operation.
Type
, ImmutableArray<IOperation>.Empty);
6926
operation.Syntax, operation.
Type
, IsImplicit(operation));
6933
operation.Syntax, operation.
Type
, IsImplicit(operation));
6938
return new TypeOfOperation(operation.TypeOperand, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6943
return new ParenthesizedOperation(VisitRequired(operation.Operand), semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6948
return new AwaitOperation(VisitRequired(operation.Operation), semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
6953
return new SizeOfOperation(operation.TypeOperand, semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
6963
return new IsTypeOperation(VisitRequired(operation.ValueOperand), operation.TypeOperand, operation.IsNegated, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7042
initializer.Syntax, rewrittenTarget.
Type
, constantValue: null, isImplicit: true);
7070
semanticModel: null, operation.EventReference.Syntax, operation.EventReference.
Type
, IsImplicit(operation.EventReference));
7083
operation.Syntax, operation.
Type
, IsImplicit(operation));
7116
semanticModel: null, operation.EventReference.Syntax, operation.EventReference.
Type
, IsImplicit(operation.EventReference));
7125
return new AddressOfOperation(VisitRequired(operation.Reference), semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7132
operation.Kind, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7137
return new DiscardOperation(operation.DiscardSymbol, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7147
return new OmittedArgumentOperation(semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7181
return new PlaceholderOperation(operation.PlaceholderKind, semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7186
return new ConversionOperation(VisitRequired(operation.Operand), ((ConversionOperation)operation).ConversionConvertible, operation.IsTryCast, operation.IsChecked, semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
7191
return new DefaultValueOperation(semanticModel: null, operation.Syntax, operation.
Type
, operation.GetConstantValue(), IsImplicit(operation));
7202
operation.Syntax, operation.
Type
, IsImplicit(operation));
7234
IOperation initializedInstance = new InvalidOperation(children.ToImmutableAndFree(), semanticModel: null, operation.Syntax, operation.
Type
,
7258
return new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, invalidOperation.Syntax, invalidOperation.
Type
, invalidOperation.GetConstantValue(), IsImplicit(invalidOperation));
7265
invalidOperation.Syntax, invalidOperation.
Type
, invalidOperation.GetConstantValue(), IsImplicit(operation)));
7307
return new TranslatedQueryOperation(VisitRequired(operation.Operation), semanticModel: null, operation.Syntax, operation.
Type
, IsImplicit(operation));
7430
operation.Syntax, operation.
Type
, IsImplicit(operation));
7448
return new RangeOperation(visitedLeftOperand, visitedRightOperand, operation.IsLifted, operation.Method, semanticModel: null, operation.Syntax, operation.
Type
, isImplicit: IsImplicit(operation));
7651
if (operation.
Type
!.IsAnonymousType)
7660
if (operation.
Type
.IsValueType)
7667
? MakeInvalidOperation(visitedInstance.
Type
, visitedInstance)
7670
semanticModel: null, operation.Syntax, operation.
Type
, isImplicit: true);
7747
operation.Operand.
Type
, constantValue: operation.Operand.GetConstantValue());
7768
operation.Operand.
Type
, constantValue: operation.Operand.GetConstantValue());
7778
operation.Operand.
Type
, constantValue: operation.Operand.GetConstantValue());
Operations\OperationCloner.cs (5)
21
return new NoneOperation(VisitArray(((Operation)operation).ChildOperations.ToImmutableArray()), ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.
Type
, operation.GetConstantValue(), operation.IsImplicit);
32
return new DynamicObjectCreationOperation(Visit(operation.Initializer), VisitArray(operation.Arguments), ((HasDynamicArgumentsExpression)operation).ArgumentNames, ((HasDynamicArgumentsExpression)operation).ArgumentRefKinds, ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.
Type
, operation.IsImplicit);
37
return new DynamicInvocationOperation(Visit(operation.Operation), VisitArray(operation.Arguments), ((HasDynamicArgumentsExpression)operation).ArgumentNames, ((HasDynamicArgumentsExpression)operation).ArgumentRefKinds, ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.
Type
, operation.IsImplicit);
42
return new DynamicIndexerAccessOperation(Visit(operation.Operation), VisitArray(operation.Arguments), ((HasDynamicArgumentsExpression)operation).ArgumentNames, ((HasDynamicArgumentsExpression)operation).ArgumentRefKinds, ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.
Type
, operation.IsImplicit);
47
return new InvalidOperation(VisitArray(((InvalidOperation)operation).Children), ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.
Type
, operation.GetConstantValue(), operation.IsImplicit);
Operations\OperationExtensions.cs (1)
22
return ((IFunctionPointerTypeSymbol)functionPointer.Target.
Type
!).Signature;
Microsoft.CodeAnalysis.CodeStyle (24)
AbstractPopulateSwitchDiagnosticAnalyzer.cs (2)
96
var type = value.
Type
.RemoveNullableIfPresent();
109
if (value.
Type
.IsNullable())
AbstractPopulateSwitchExpressionDiagnosticAnalyzer.cs (1)
27
=> operation.Value.
Type
is null;
AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
27
=> operation.Value.
Type
is null;
AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (4)
55
if (rightOperand.
Type
is null || leftOperand.
Type
is null)
60
if (rightOperand.
Type
.SpecialType != SpecialType.System_Boolean ||
61
leftOperand.
Type
.SpecialType != SpecialType.System_Boolean)
AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (6)
142
if (value.
Type
== null ||
143
value.
Type
.IsErrorType() ||
144
value.
Type
.SpecialType == SpecialType.System_Void)
150
if (value.
Type
.TypeKind == TypeKind.Dynamic)
277
if (!operation.
Type
.IsDelegateType())
307
if (assignmentOperation.Target.
Type
.IsDelegateType() &&
AbstractSimplifyInterpolationHelpers.cs (3)
84
instance.
Type
!= null &&
85
!instance.
Type
.IsRefLikeType)
92
instance.
Type
.Implements(systemIFormattable))
HashCodeAnalyzer.OperationDeconstructor.cs (1)
132
Equals(_method.ContainingType.BaseType, instanceReference.
Type
))
OperationExtensions.cs (2)
369
=> operation.Kind == OperationKind.Literal && operation.
Type
.IsNumericType();
448
notImplementedExceptionType.Equals(objectCreation.
Type
);
PopulateSwitchExpressionHelpers.cs (1)
20
var switchExpressionType = switchExpression?.
Type
;
PopulateSwitchStatementHelpers.cs (1)
47
var switchExpressionType = switchExpression?.
Type
;
SymbolUsageAnalysis.Walker.cs (2)
336
operation.Value.
Type
.IsDelegateType())
472
Debug.Assert(operation.
Type
.IsDelegateType());
Microsoft.CodeAnalysis.CodeStyle.Fixes (9)
AbstractPopulateSwitchExpressionCodeFixProvider.cs (1)
44
=> switchExpression.Value.
Type
?? throw ExceptionUtilities.Unreachable();
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
60
=> switchOperation.Value.
Type
?? throw ExceptionUtilities.Unreachable();
AbstractUseConditionalExpressionCodeFixProvider.cs (5)
181
conversion.
Type
!= null &&
182
conversion.
Type
.TypeKind != TypeKind.Error)
186
if (conversion.Operand.
Type
== null || conversion.Operand.
Type
.TypeKind != TypeKind.Error)
188
return (TExpressionSyntax)generator.CastExpression(conversion.
Type
, sourceSyntax);
SyntaxGeneratorExtensions_Negate.cs (2)
248
var valueType = (operation as IIsPatternOperation)?.Value.
Type
?.SpecialType;
429
var type = variableExpression.
Type
;
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpCompilation.cs (1)
2162
ITypeSymbol? sourceType = source.
Type
;
Operations\CSharpOperationFactory_Methods.cs (1)
385
ITypeSymbol? assignmentType = target.
Type
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (27)
AnalyzedPattern.cs (2)
149
({ IsImplicit: true }, { IsImplicit: true }) when !Equals(leftTarget.
Type
, rightTarget.
Type
) => null,
CastSimplifier.cs (18)
92
Parent.Parent: IConversionOperation {
Type
.SpecialType: SpecialType.System_Object } conversionOperation
100
if (conversionOperation.Parent is IConversionOperation {
Type
: { } parentConversionType } &&
228
conversionOperation.
Type
.RemoveNullableIfPresent() is var type1 &&
229
conversionOperation.Operand.
Type
.RemoveNullableIfPresent() is var type2 &&
245
if (originalDelegateCreationOperation.
Type
?.TypeKind != TypeKind.Delegate)
262
if (rewrittenDelegateCreationOperation.
Type
?.TypeKind != TypeKind.Delegate)
266
return Equals(originalDelegateCreationOperation.
Type
, rewrittenDelegateCreationOperation.
Type
);
470
if (castNode.IsParentKind(SyntaxKind.Interpolation) && originalConversionOperation.
Type
?.SpecialType is SpecialType.System_Object)
633
if (!IsSignedIntegralOrIntPtrType(originalConversionOperation.
Type
) ||
634
!IsSignedIntegralOrIntPtrType(originalConversionOperation.Operand.
Type
))
660
var originalConvertedType = originalConversionOperation.
Type
;
661
var rewrittenBitwiseNotConversionType = rewrittenBitwiseNotConversionOperation.
Type
;
738
if (castType.Equals(rewrittenConditionalOperation.
Type
, SymbolEqualityComparer.IncludeNullability))
743
castType.Equals(conditionalParentConversion.
Type
, SymbolEqualityComparer.IncludeNullability))
769
if (binaryOperation.LeftOperand.
Type
?.SpecialType == SpecialType.System_Object &&
776
else if (binaryOperation.RightOperand.
Type
?.SpecialType == SpecialType.System_Object &&
799
if (conversionOperation.Operand.
Type
is not INamedTypeSymbol original)
CSharpMakeStructMemberReadOnlyAnalyzer.cs (2)
149
return instance is {
Type
.TypeKind: TypeKind.Struct } ||
150
instance is {
Type
: ITypeParameterSymbol { HasReferenceTypeConstraint: false } };
CSharpUseImplicitTypeHelper.cs (2)
254
if (argumentOp.Value?.
Type
== null)
260
return argumentOp.Value.
Type
.Equals(argumentOp.Parameter.Type);
CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
106
if (isTypeOperation.ValueOperand.
Type
is not null &&
107
isTypeOperation.ValueOperand.
Type
.InheritsFromOrEquals(isTypeOperation.TypeOperand))
UseUtf8StringLiteralDiagnosticAnalyzer.cs (1)
78
if (arrayCreationOperation.
Type
is not IArrayTypeSymbol { ElementType.SpecialType: SpecialType.System_Byte })
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
ConvertToRecordHelpers.cs (1)
612
IInstanceReferenceOperation thisReference => thisReference.
Type
,
UseUtf8StringLiteralCodeFixProvider.cs (1)
68
conversion.
Type
is INamedTypeSymbol { IsGenericType: true } namedType &&
Microsoft.CodeAnalysis.CSharp.Features (9)
AnalyzedPattern.cs (2)
149
({ IsImplicit: true }, { IsImplicit: true }) when !Equals(leftTarget.
Type
, rightTarget.
Type
) => null,
ConvertToRecordHelpers.cs (1)
612
IInstanceReferenceOperation thisReference => thisReference.
Type
,
CSharpMakeStructMemberReadOnlyAnalyzer.cs (2)
149
return instance is {
Type
.TypeKind: TypeKind.Struct } ||
150
instance is {
Type
: ITypeParameterSymbol { HasReferenceTypeConstraint: false } };
CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
106
if (isTypeOperation.ValueOperand.
Type
is not null &&
107
isTypeOperation.ValueOperand.
Type
.InheritsFromOrEquals(isTypeOperation.TypeOperand))
UseUtf8StringLiteralCodeFixProvider.cs (1)
68
conversion.
Type
is INamedTypeSymbol { IsGenericType: true } namedType &&
UseUtf8StringLiteralDiagnosticAnalyzer.cs (1)
78
if (arrayCreationOperation.
Type
is not IArrayTypeSymbol { ElementType.SpecialType: SpecialType.System_Byte })
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IConversionExpression.cs (4)
182
Assert.Null(initializerOperation.
Type
);
5215
Assert.Equal(CodeAnalysis.NullableAnnotation.Annotated, iopTree.Value.
Type
.NullableAnnotation);
5281
Assert.Equal(conversion.
Type
, typeInfo.ConvertedType);
5282
Assert.Equal(ConversionChildSelector(conversion).
Type
, typeInfo.Type);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\DelegateTypeTests.cs (1)
11419
Assert.Equal("System.Func<System.Int32, System.String>", value.
Type
.ToTestDisplayString());
Semantics\OutVarTests.cs (1)
1085
Assert.Equal(expectedType, model.GetOperation(decl)?.
Type
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\NullablePublicAPITests.cs (1)
4969
AssertEx.Equal("(System.Object, System.Int32 a)", operation.
Type
.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Test.Utilities (7)
CompilationTestUtils.cs (7)
361
else if (iop is {
Type
: { } })
363
Assert.Equal(typeInfo.Type.NullableAnnotation, iop.
Type
.NullableAnnotation);
383
Assert.Null(iop?.
Type
);
385
else if (iop is {
Type
: { } })
387
Assert.Equal(typeInfo.ConvertedType.NullableAnnotation, iop.
Type
.NullableAnnotation);
428
Assert.True(iop.
Type
?.NullableAnnotation == typeInfo.ConvertedType?.NullableAnnotation);
432
Assert.Null(iop?.
Type
);
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
CastSimplifier.cs (18)
92
Parent.Parent: IConversionOperation {
Type
.SpecialType: SpecialType.System_Object } conversionOperation
100
if (conversionOperation.Parent is IConversionOperation {
Type
: { } parentConversionType } &&
228
conversionOperation.
Type
.RemoveNullableIfPresent() is var type1 &&
229
conversionOperation.Operand.
Type
.RemoveNullableIfPresent() is var type2 &&
245
if (originalDelegateCreationOperation.
Type
?.TypeKind != TypeKind.Delegate)
262
if (rewrittenDelegateCreationOperation.
Type
?.TypeKind != TypeKind.Delegate)
266
return Equals(originalDelegateCreationOperation.
Type
, rewrittenDelegateCreationOperation.
Type
);
470
if (castNode.IsParentKind(SyntaxKind.Interpolation) && originalConversionOperation.
Type
?.SpecialType is SpecialType.System_Object)
633
if (!IsSignedIntegralOrIntPtrType(originalConversionOperation.
Type
) ||
634
!IsSignedIntegralOrIntPtrType(originalConversionOperation.Operand.
Type
))
660
var originalConvertedType = originalConversionOperation.
Type
;
661
var rewrittenBitwiseNotConversionType = rewrittenBitwiseNotConversionOperation.
Type
;
738
if (castType.Equals(rewrittenConditionalOperation.
Type
, SymbolEqualityComparer.IncludeNullability))
743
castType.Equals(conditionalParentConversion.
Type
, SymbolEqualityComparer.IncludeNullability))
769
if (binaryOperation.LeftOperand.
Type
?.SpecialType == SpecialType.System_Object &&
776
else if (binaryOperation.RightOperand.
Type
?.SpecialType == SpecialType.System_Object &&
799
if (conversionOperation.Operand.
Type
is not INamedTypeSymbol original)
CSharpUseImplicitTypeHelper.cs (2)
254
if (argumentOp.Value?.
Type
== null)
260
return argumentOp.Value.
Type
.Equals(argumentOp.Parameter.Type);
Microsoft.CodeAnalysis.Features (32)
AbstractPopulateSwitchDiagnosticAnalyzer.cs (2)
96
var type = value.
Type
.RemoveNullableIfPresent();
109
if (value.
Type
.IsNullable())
AbstractPopulateSwitchExpressionCodeFixProvider.cs (1)
44
=> switchExpression.Value.
Type
?? throw ExceptionUtilities.Unreachable();
AbstractPopulateSwitchExpressionDiagnosticAnalyzer.cs (1)
27
=> operation.Value.
Type
is null;
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
60
=> switchOperation.Value.
Type
?? throw ExceptionUtilities.Unreachable();
AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
27
=> operation.Value.
Type
is null;
AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (4)
55
if (rightOperand.
Type
is null || leftOperand.
Type
is null)
60
if (rightOperand.
Type
.SpecialType != SpecialType.System_Boolean ||
61
leftOperand.
Type
.SpecialType != SpecialType.System_Boolean)
AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (6)
142
if (value.
Type
== null ||
143
value.
Type
.IsErrorType() ||
144
value.
Type
.SpecialType == SpecialType.System_Void)
150
if (value.
Type
.TypeKind == TypeKind.Dynamic)
277
if (!operation.
Type
.IsDelegateType())
307
if (assignmentOperation.Target.
Type
.IsDelegateType() &&
AbstractSimplifyInterpolationHelpers.cs (3)
84
instance.
Type
!= null &&
85
!instance.
Type
.IsRefLikeType)
92
instance.
Type
.Implements(systemIFormattable))
AbstractUseConditionalExpressionCodeFixProvider.cs (5)
181
conversion.
Type
!= null &&
182
conversion.
Type
.TypeKind != TypeKind.Error)
186
if (conversion.Operand.
Type
== null || conversion.Operand.
Type
.TypeKind != TypeKind.Error)
188
return (TExpressionSyntax)generator.CastExpression(conversion.
Type
, sourceSyntax);
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
207
var collectionType = foreachCollection.
Type
;
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
454
_switchTargetType = operation.
Type
;
HashCodeAnalyzer.OperationDeconstructor.cs (1)
132
Equals(_method.ContainingType.BaseType, instanceReference.
Type
))
PopulateSwitchExpressionHelpers.cs (1)
20
var switchExpressionType = switchExpression?.
Type
;
PopulateSwitchStatementHelpers.cs (1)
47
var switchExpressionType = switchExpression?.
Type
;
SignatureHelp\CommonSignatureHelpUtilities.cs (1)
161
var parentType = parentOperation?.
Type
;
ValueTracking\ValueTracker.OperationCollector.cs (2)
159
if (literalOperation.
Type
is null)
164
return AddOperationAsync(literalOperation, literalOperation.
Type
, cancellationToken);
Microsoft.CodeAnalysis.Test.Utilities (52)
Compilation\CompilationExtensions.cs (2)
305
Assert.True(operation.
Type
== null || !operation.MustHaveNullType(), $"Unexpected non-null type: {operation.
Type
}");
Compilation\ControlFlowGraphVerifier.cs (11)
954
&& arguments[0].Value.
Type
.SpecialType == SpecialType.System_Int32
955
&& arguments[1].Value.
Type
.SpecialType == SpecialType.System_Int32;
987
(ITypeSymbolHelpers.IsDynamicType(binOp.
Type
) &&
988
(ITypeSymbolHelpers.IsDynamicType(binOp.LeftOperand.
Type
) || ITypeSymbolHelpers.IsDynamicType(binOp.RightOperand.
Type
)))))
1037
ITypeSymbolHelpers.IsNullableType(reference.
Type
) &&
1903
!ITypeSymbolHelpers.IsBooleanType(binary.
Type
) &&
1904
!ITypeSymbolHelpers.IsNullableOfBoolean(binary.
Type
) &&
1905
!ITypeSymbolHelpers.IsObjectType(binary.
Type
) &&
1906
!ITypeSymbolHelpers.IsDynamicType(binary.
Type
));
1917
n.
Type
.IsAnonymousType &&
Compilation\OperationTreeVerifier.cs (6)
107
LogType(operation.
Type
);
321
Assert.True(operation.
Type
== null || !operation.MustHaveNullType(), $"Unexpected non-null type: {operation.
Type
}");
1083
Assert.Null(operation.
Type
);
1139
Assert.NotNull(operation.
Type
);
1615
Assert.Null(operation.
Type
);
Compilation\TestOperationVisitor.cs (11)
47
var type = operation.
Type
;
559
Assert.Same(((IFunctionPointerTypeSymbol)operation.Target.
Type
).Signature, signature);
711
Assert.NotNull(operation.
Type
);
1008
if (!operation.
Type
.IsValueType)
1134
Assert.Null(operation.
Type
);
1343
Assert.Null(pattern.
Type
);
1531
Assert.NotNull(operation.
Type
);
1541
Assert.Null(operation.
Type
);
1671
Assert.Equal(operation.
Type
, discardSymbol.Type);
1707
Assert.NotNull(operation.Value.
Type
);
1782
Assert.Null(operation.
Type
);
Diagnostics\BoxingOperationAnalyzer.cs (4)
48
if (conversion.
Type
.IsReferenceType &&
49
conversion.Operand.
Type
!= null &&
50
conversion.Operand.
Type
.IsValueType &&
63
invocation.Instance.
Type
.IsValueType &&
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (3)
67
ITypeSymbol type = increment.
Type
;
286
return conversion.Operand.
Type
;
290
return value.
Type
;
Diagnostics\FieldCouldBeReadOnlyAnalyzer.cs (1)
135
if (fieldReference.Instance != null && fieldReference.Instance.
Type
.IsValueType)
Diagnostics\LocalCouldBeConstAnalyzer.cs (1)
126
if (fieldReference.Instance != null && fieldReference.Instance.
Type
.IsValueType)
Diagnostics\OperationTestAnalyzer.cs (13)
57
if (invalidOperation.
Type
== null)
159
conditionRight.
Type
.SpecialType == SpecialType.System_Int32 &&
176
setupAssignment.Value.
Type
.SpecialType == SpecialType.System_Int32)
241
advanceAssignment.Value.
Type
.SpecialType == SpecialType.System_Int32)
250
advanceOperation.RightOperand.
Type
.SpecialType == SpecialType.System_Int32)
265
advanceAssignment.Value.
Type
.SpecialType == SpecialType.System_Int32)
357
singleValueExpression.
Type
.SpecialType == SpecialType.System_Int32)
377
rangeMinExpression.
Type
.SpecialType == SpecialType.System_Int32 &&
380
rangeMaxExpression.
Type
.SpecialType == SpecialType.System_Int32)
400
relationalValueExpression.
Type
.SpecialType == SpecialType.System_Int32)
587
if (argumentValue.HasValue && argument.
Type
.SpecialType == SpecialType.System_Int32)
631
if (literal.
Type
.SpecialType == SpecialType.System_Int32 &&
1521
if (binary.OperatorKind == BinaryOperatorKind.Multiply && binary.
Type
.SpecialType == SpecialType.System_Double)
Microsoft.CodeAnalysis.VisualBasic (3)
Compilation\VisualBasicCompilation.vb (1)
1897
Dim sourceType As ITypeSymbol = source.
Type
Operations\VisualBasicOperationFactory_Methods.vb (2)
349
Dim type As ITypeSymbol = target.
Type
521
adjustedInfo.Operation.
Type
,
Microsoft.CodeAnalysis.Workspaces (6)
OperationExtensions.cs (2)
369
=> operation.Kind == OperationKind.Literal && operation.
Type
.IsNumericType();
448
notImplementedExceptionType.Equals(objectCreation.
Type
);
SymbolUsageAnalysis.Walker.cs (2)
336
operation.Value.
Type
.IsDelegateType())
472
Debug.Assert(operation.
Type
.IsDelegateType());
SyntaxGeneratorExtensions_Negate.cs (2)
248
var valueType = (operation as IIsPatternOperation)?.Value.
Type
?.SpecialType;
429
var type = variableExpression.
Type
;
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (2)
IOperation\IOperationTests_IConversionExpression.vb (2)
3376
Assert.Equal(conversion.
Type
, typeInfo.ConvertedType)
3377
Assert.Equal(_operationChildSelector(conversion).
Type
, typeInfo.Type)