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