1 write to _compilation
Microsoft.CodeAnalysis.CSharp (1)
Compilation\BuiltInOperators.cs (1)
34
_compilation
= compilation;
67 references to _compilation
Microsoft.CodeAnalysis.CSharp (67)
Compilation\BuiltInOperators.cs (67)
264
case UnaryOperatorKind.SByte: opType =
_compilation
.GetSpecialType(SpecialType.System_SByte); break;
265
case UnaryOperatorKind.Byte: opType =
_compilation
.GetSpecialType(SpecialType.System_Byte); break;
266
case UnaryOperatorKind.Short: opType =
_compilation
.GetSpecialType(SpecialType.System_Int16); break;
267
case UnaryOperatorKind.UShort: opType =
_compilation
.GetSpecialType(SpecialType.System_UInt16); break;
268
case UnaryOperatorKind.Int: opType =
_compilation
.GetSpecialType(SpecialType.System_Int32); break;
269
case UnaryOperatorKind.UInt: opType =
_compilation
.GetSpecialType(SpecialType.System_UInt32); break;
270
case UnaryOperatorKind.Long: opType =
_compilation
.GetSpecialType(SpecialType.System_Int64); break;
271
case UnaryOperatorKind.ULong: opType =
_compilation
.GetSpecialType(SpecialType.System_UInt64); break;
272
case UnaryOperatorKind.NInt: opType =
_compilation
.CreateNativeIntegerTypeSymbol(signed: true); break;
273
case UnaryOperatorKind.NUInt: opType =
_compilation
.CreateNativeIntegerTypeSymbol(signed: false); break;
274
case UnaryOperatorKind.Char: opType =
_compilation
.GetSpecialType(SpecialType.System_Char); break;
275
case UnaryOperatorKind.Float: opType =
_compilation
.GetSpecialType(SpecialType.System_Single); break;
276
case UnaryOperatorKind.Double: opType =
_compilation
.GetSpecialType(SpecialType.System_Double); break;
277
case UnaryOperatorKind.Decimal: opType =
_compilation
.GetSpecialType(SpecialType.System_Decimal); break;
278
case UnaryOperatorKind.Bool: opType =
_compilation
.GetSpecialType(SpecialType.System_Boolean); break;
284
opType =
_compilation
.GetSpecialType(SpecialType.System_Nullable_T).Construct(opType);
692
Debug.Assert(
_compilation
.IsReadOnlySpanType(readonlySpanOfByte));
723
TypeSymbol rightType =
_compilation
.GetSpecialType(SpecialType.System_Int32);
726
rightType =
_compilation
.GetSpecialType(SpecialType.System_Nullable_T).Construct(rightType);
736
return new BinaryOperatorSignature(kind, left, left,
_compilation
.GetSpecialType(SpecialType.System_Boolean));
751
case BinaryOperatorKind.Int: return
_compilation
.GetSpecialType(SpecialType.System_Int32);
752
case BinaryOperatorKind.UInt: return
_compilation
.GetSpecialType(SpecialType.System_UInt32);
753
case BinaryOperatorKind.Long: return
_compilation
.GetSpecialType(SpecialType.System_Int64);
754
case BinaryOperatorKind.ULong: return
_compilation
.GetSpecialType(SpecialType.System_UInt64);
755
case BinaryOperatorKind.NInt: return
_compilation
.CreateNativeIntegerTypeSymbol(signed: true);
756
case BinaryOperatorKind.NUInt: return
_compilation
.CreateNativeIntegerTypeSymbol(signed: false);
757
case BinaryOperatorKind.Float: return
_compilation
.GetSpecialType(SpecialType.System_Single);
758
case BinaryOperatorKind.Double: return
_compilation
.GetSpecialType(SpecialType.System_Double);
759
case BinaryOperatorKind.Decimal: return
_compilation
.GetSpecialType(SpecialType.System_Decimal);
760
case BinaryOperatorKind.Bool: return
_compilation
.GetSpecialType(SpecialType.System_Boolean);
763
return
_compilation
.GetSpecialType(SpecialType.System_Object);
766
return
_compilation
.GetSpecialType(SpecialType.System_String);
783
case BinaryOperatorKind.Int: return
_compilation
.GetSpecialType(SpecialType.System_Int32);
784
case BinaryOperatorKind.UInt: return
_compilation
.GetSpecialType(SpecialType.System_UInt32);
785
case BinaryOperatorKind.Long: return
_compilation
.GetSpecialType(SpecialType.System_Int64);
786
case BinaryOperatorKind.ULong: return
_compilation
.GetSpecialType(SpecialType.System_UInt64);
787
case BinaryOperatorKind.NInt: return
_compilation
.CreateNativeIntegerTypeSymbol(signed: true);
788
case BinaryOperatorKind.NUInt: return
_compilation
.CreateNativeIntegerTypeSymbol(signed: false);
789
case BinaryOperatorKind.Float: return
_compilation
.GetSpecialType(SpecialType.System_Single);
790
case BinaryOperatorKind.Double: return
_compilation
.GetSpecialType(SpecialType.System_Double);
791
case BinaryOperatorKind.Decimal: return
_compilation
.GetSpecialType(SpecialType.System_Decimal);
792
case BinaryOperatorKind.Bool: return
_compilation
.GetSpecialType(SpecialType.System_Boolean);
795
return
_compilation
.GetSpecialType(SpecialType.System_String);
798
return
_compilation
.GetSpecialType(SpecialType.System_Object);
815
case BinaryOperatorKind.Int: return
_compilation
.GetSpecialType(SpecialType.System_Int32);
816
case BinaryOperatorKind.UInt: return
_compilation
.GetSpecialType(SpecialType.System_UInt32);
817
case BinaryOperatorKind.Long: return
_compilation
.GetSpecialType(SpecialType.System_Int64);
818
case BinaryOperatorKind.ULong: return
_compilation
.GetSpecialType(SpecialType.System_UInt64);
819
case BinaryOperatorKind.NInt: return
_compilation
.CreateNativeIntegerTypeSymbol(signed: true);
820
case BinaryOperatorKind.NUInt: return
_compilation
.CreateNativeIntegerTypeSymbol(signed: false);
821
case BinaryOperatorKind.Float: return
_compilation
.GetSpecialType(SpecialType.System_Single);
822
case BinaryOperatorKind.Double: return
_compilation
.GetSpecialType(SpecialType.System_Double);
823
case BinaryOperatorKind.Decimal: return
_compilation
.GetSpecialType(SpecialType.System_Decimal);
824
case BinaryOperatorKind.Bool: return
_compilation
.GetSpecialType(SpecialType.System_Boolean);
825
case BinaryOperatorKind.Object: return
_compilation
.GetSpecialType(SpecialType.System_Object);
829
return
_compilation
.GetSpecialType(SpecialType.System_String);
840
var nullable =
_compilation
.GetSpecialType(SpecialType.System_Nullable_T);
844
case BinaryOperatorKind.Int: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_Int32));
845
case BinaryOperatorKind.UInt: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_UInt32));
846
case BinaryOperatorKind.Long: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_Int64));
847
case BinaryOperatorKind.ULong: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_UInt64));
848
case BinaryOperatorKind.NInt: return nullable.Construct(
_compilation
.CreateNativeIntegerTypeSymbol(signed: true));
849
case BinaryOperatorKind.NUInt: return nullable.Construct(
_compilation
.CreateNativeIntegerTypeSymbol(signed: false));
850
case BinaryOperatorKind.Float: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_Single));
851
case BinaryOperatorKind.Double: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_Double));
852
case BinaryOperatorKind.Decimal: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_Decimal));
853
case BinaryOperatorKind.Bool: return nullable.Construct(
_compilation
.GetSpecialType(SpecialType.System_Boolean));