45 references to CustomTypeInfo
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (33)
DynamicFlagsCustomTypeInfoTests.cs (33)
62var encoded = CustomTypeInfo.Encode(null, null); 70encoded = CustomTypeInfo.Encode(bytes, null); 75encoded = CustomTypeInfo.Encode(bytes, null); 80CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 88encoded = CustomTypeInfo.Encode(bytes, names); 89CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 93encoded = CustomTypeInfo.Encode(bytes, null); 94CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 102encoded = CustomTypeInfo.Encode(bytes, names); 103CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 107encoded = CustomTypeInfo.Encode(null, names); 108CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 116encoded = CustomTypeInfo.Encode(bytes, names); 118CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 122encoded = CustomTypeInfo.Encode(null, names); 123CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 131encoded = CustomTypeInfo.Encode(bytes, names); 133CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 137encoded = CustomTypeInfo.Encode(null, names); 138CustomTypeInfo.Decode(CustomTypeInfo.PayloadTypeId, encoded, out dynamicFlags, out tupleElementNames); 173CustomTypeInfo.Decode( 240var dkmClrCustomTypeInfo = CustomTypeInfo.Create(new ReadOnlyCollection<byte>(payload), null); 241Assert.Equal(CustomTypeInfo.PayloadTypeId, dkmClrCustomTypeInfo.PayloadTypeId); 246CustomTypeInfo.Decode(
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (12)
AttributeHelpers.cs (1)
32return CustomTypeInfo.Create(dynamicFlags, tupleElementNames);
CustomTypeInfoTypeArgumentMap.cs (5)
71CustomTypeInfo.Decode(typeInfo.PayloadTypeId, typeInfo.Payload, out dynamicFlags, out tupleElementNames); 104CustomTypeInfo.Decode( 113return CustomTypeInfo.Create(substitutedFlags, substitutedNames); 158CustomTypeInfo.GetTupleElementNameIfAny, 164AppendRange(tupleElementNamesOpt, i, i + n, CustomTypeInfo.GetTupleElementNameIfAny, builder);
Formatter.TypeNames.cs (2)
34CustomTypeInfo.Decode(typeInfo.PayloadTypeId, typeInfo.Payload, out dynamicFlags, out tupleElementNames); 412var name = CustomTypeInfo.GetTupleElementNameIfAny(tupleElementNames, nameIndex);
ResultProvider.cs (2)
960elementTypeInfo = CustomTypeInfo.SkipOne(declaredTypeAndInfo.Info); 985Debug.Assert(declaredTypeAndInfo.Info?.PayloadTypeId != CustomTypeInfo.PayloadTypeId);
ResultProviderTestBase.cs (1)
42var result = CustomTypeInfo.Create(DynamicFlagsCustomTypeInfo.ToBytes(builder), tupleElementNames: null);
TupleExpansion.cs (1)
297var name = CustomTypeInfo.GetTupleElementNameIfAny(tupleElementNames, offset + index);