4 instantiations of UncommonData
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\BoundBinaryOperator.UncommonData.cs (4)
16new UncommonData( 25=> new UncommonData( 37return new UncommonData(constantValue, method, constrainedToType, originalUserDefinedOperatorsOpt, isUnconvertedInterpolatedStringAddition: false, interpolatedStringHandlerData: null); 72return new UncommonData(ConstantValue, method, ConstrainedToType, OriginalUserDefinedOperatorsOpt, IsUnconvertedInterpolatedStringAddition, InterpolatedStringHandlerData);
14 references to UncommonData
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_InterpolatedString.cs (1)
526return rewritten.Update(BoundBinaryOperator.UncommonData.InterpolatedStringHandlerAddition(data));
Binder\Binder_Operators.cs (1)
559return new BoundBinaryOperator(node, BinaryOperatorKind.StringConcatenation, BoundBinaryOperator.UncommonData.UnconvertedInterpolatedStringAddition(stringConstant), LookupResultKind.Empty, left, right, right.Type);
BoundTree\BoundBinaryOperator.UncommonData.cs (4)
15public static UncommonData UnconvertedInterpolatedStringAddition(ConstantValue? constantValue) => 24public static UncommonData InterpolatedStringHandlerAddition(InterpolatedStringHandlerData data) 33public static UncommonData? CreateIfNeeded(ConstantValue? constantValue, MethodSymbol? method, TypeSymbol? constrainedToType, ImmutableArray<MethodSymbol> originalUserDefinedOperatorsOpt) 65public UncommonData WithUpdatedMethod(MethodSymbol? method)
BoundTree\Constructors.cs (5)
442UncommonData.CreateIfNeeded(constantValueOpt, methodOpt, constrainedToTypeOpt, originalUserDefinedOperatorsOpt), 461this(syntax, operatorKind, UncommonData.CreateIfNeeded(constantValueOpt, methodOpt, constrainedToTypeOpt, originalUserDefinedOperatorsOpt: default), resultKind, left, right, type, hasErrors) 474var uncommonData = UncommonData.CreateIfNeeded(constantValueOpt, methodOpt, constrainedToTypeOpt, OriginalUserDefinedOperatorsOpt); 478public BoundBinaryOperator Update(UncommonData uncommonData)
Generated\BoundNodes.xml.Generated.cs (3)
1660public BoundBinaryOperator(SyntaxNode syntax, BinaryOperatorKind operatorKind, BoundBinaryOperator.UncommonData? data, LookupResultKind resultKind, BoundExpression left, BoundExpression right, TypeSymbol type, bool hasErrors = false) 1674public BoundBinaryOperator.UncommonData? Data { get; } 1680public BoundBinaryOperator Update(BinaryOperatorKind operatorKind, BoundBinaryOperator.UncommonData? data, LookupResultKind resultKind, BoundExpression left, BoundExpression right, TypeSymbol type)