257 references to System_SByte
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
280case SpecialType.System_SByte:
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
443 case SpecialType.System_SByte when constantValue is sbyte sbyteConstantValue:
Microsoft.Analyzers.Extra (1)
CallAnalysis\Arrays.cs (1)
110|| keyType.SpecialType == SpecialType.System_SByte)
Microsoft.CodeAnalysis (29)
Compilation\Expression.cs (1)
25case SpecialType.System_SByte:
ConstantValue.cs (2)
440case SpecialType.System_SByte: return ConstantValueTypeDiscriminator.SByte; 492case ConstantValueTypeDiscriminator.SByte: return SpecialType.System_SByte;
MetadataReader\MetadataTypeCodeExtensions.cs (3)
28return SpecialType.System_SByte; 111case SpecialType.System_SByte: 148case SpecialType.System_SByte:
SpecialMembers.cs (2)
610(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, 657(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte,
SpecialTypeExtensions.cs (12)
23case SpecialType.System_SByte: 48case SpecialType.System_SByte: 71case SpecialType.System_SByte: 101case SpecialType.System_SByte: 156case SpecialType.System_SByte: 169case SpecialType.System_SByte: 187case SpecialType.System_SByte: 211case SpecialType.System_SByte: 242case SpecialType.System_SByte: 261case SpecialType.System_SByte: 353return SpecialType.System_SByte; 381SpecialType.System_SByte => (ulong)(sbyte)value,
SpecialTypes.cs (2)
113s_typeIdToTypeCodeMap[(int)SpecialType.System_SByte] = Microsoft.Cci.PrimitiveTypeCode.Int8; 137s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.Int8] = SpecialType.System_SByte;
Symbols\INamedTypeSymbolInternal.cs (1)
48case SpecialType.System_SByte:
Symbols\TypedConstant.cs (1)
165case SpecialType.System_SByte:
WellKnownMembers.cs (5)
98(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, // Return Type 106(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, // Return Type 114(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, // Return Type 1354(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, // Return Type 1570(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, // Return Type
Microsoft.CodeAnalysis.CodeStyle (19)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
23case SpecialType.System_SByte: 48case SpecialType.System_SByte: 71case SpecialType.System_SByte: 101case SpecialType.System_SByte: 156case SpecialType.System_SByte: 169case SpecialType.System_SByte: 187case SpecialType.System_SByte: 211case SpecialType.System_SByte: 242case SpecialType.System_SByte: 261case SpecialType.System_SByte: 353return SpecialType.System_SByte; 381SpecialType.System_SByte => (ulong)(sbyte)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
291case SpecialType.System_SByte: 381case SpecialType.System_SByte: 658case SpecialType.System_SByte:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
18PredefinedType.SByte => SpecialType.System_SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
18SpecialType.System_SByte => PredefinedType.SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
60SpecialType.System_SByte => (sbyte)1,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
418case SpecialType.System_SByte:
Microsoft.CodeAnalysis.CSharp (43)
Binder\Binder_Expressions.cs (2)
7263case SpecialType.System_SByte: 7322specialType != SpecialType.System_SByte &&
Binder\Binder_Operators.cs (1)
1695case SpecialType.System_SByte:
Binder\Binder_Patterns.cs (1)
1700SpecialType.System_SByte => BinaryOperatorKind.Int, // operands are converted to int
Binder\DecisionDagBuilder.cs (2)
1564case (SpecialType.System_SByte, SpecialType.System_Byte): 1565case (SpecialType.System_Byte, SpecialType.System_SByte):
Binder\PatternExplainer.cs (1)
723case SpecialType.System_SByte:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1373case SpecialType.System_SByte: 2104case SpecialType.System_SByte: 2188case SpecialType.System_SByte: 3926case SpecialType.System_SByte:
Binder\Semantics\Operators\OperatorFacts.cs (1)
49case SpecialType.System_SByte:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3741case SpecialType.System_SByte:
CodeGen\EmitArrayInitializer.cs (1)
796SpecialType.System_SByte or SpecialType.System_Byte or SpecialType.System_Boolean or
CodeGen\EmitExpression.cs (1)
1348case SpecialType.System_SByte:
CodeGen\EmitOperators.cs (1)
684case SpecialType.System_SByte:
Compilation\BuiltInOperators.cs (1)
264case UnaryOperatorKind.SByte: opType = _compilation.GetSpecialType(SpecialType.System_SByte); break;
Compilation\CSharpCompilation.cs (1)
1722case SpecialType.System_SByte:
Compiler\ClsComplianceChecker.cs (1)
1024case SpecialType.System_SByte: // sic
FlowAnalysis\AbstractFlowPass.cs (1)
1462case SpecialType.System_SByte:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
217SpecialType.System_SByte or SpecialType.System_Byte
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
418SpecialType.System_SByte => true,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
1556case SpecialType.System_SByte: 1585case SpecialType.System_SByte: 1606case SpecialType.System_SByte: 1630case SpecialType.System_SByte: 1659case SpecialType.System_SByte: return SpecialMember.System_Decimal__op_Explicit_ToSByte; 1679case SpecialType.System_SByte: return SpecialMember.System_Decimal__op_Implicit_FromSByte;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
917specialType = SpecialType.System_SByte; 1033case SpecialType.System_SByte:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
641case SpecialType.System_SByte:
Symbols\Attributes\SourceAttributeData.cs (1)
342if (specType != SpecialType.System_SByte)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1919case SpecialType.System_SByte:
Symbols\Source\SourceAssemblySymbol.cs (1)
2794case SpecialType.System_SByte:
Symbols\SpecialTypeExtensions.cs (2)
17case SpecialType.System_SByte: 40case SpecialType.System_SByte:
Symbols\TypeSymbolExtensions.cs (5)
646case SpecialType.System_SByte: 1345case SpecialType.System_SByte: 1453case SpecialType.System_SByte: 2217case SpecialType.System_SByte: return 4; 2240case SpecialType.System_SByte: return 19;
Syntax\SyntaxKindExtensions.cs (1)
22return SpecialType.System_SByte;
Utilities\ValueSetFactory.cs (1)
37SpecialType.System_SByte => ForSByte,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
21case SpecialType.System_SByte:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
456Assert.Same(module.GetCorLibType(SpecialType.System_SByte), method4ParamTypes[0]);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\SByteKeywordRecommender.cs (1)
55protected override SpecialType SpecialType => SpecialType.System_SByte;
Completion\Providers\DefaultArgumentProvider.cs (1)
42SpecialType.System_SByte => "(sbyte)0",
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (4)
EditAndContinue\TopLevelEditingTests.cs (4)
20675SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_SByte }])), 20677SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_SByte }]).GetMethod), 20678SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_SByte }]).SetMethod), 20712SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_SByte }])),
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
39case SpecialType.System_SByte: return "sbyte";
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\OperatorTests.cs (2)
7871types[types.Length - 1] = compilation.CreatePointerTypeSymbol(compilation.GetSpecialType(SpecialType.System_SByte)); 8031types[types.Length - 1] = compilation.CreatePointerTypeSymbol(compilation.GetSpecialType(SpecialType.System_SByte));
Semantics\UnsafeTests.cs (1)
10581{ SpecialType.System_SByte, 1 },
Utilities\ValueSetTests.cs (1)
493Assert.Same(ForSByte, ForSpecialType(SpecialType.System_SByte));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Symbols\Source\ClsComplianceTests.cs (1)
3183case SpecialType.System_SByte:
Symbols\Source\CustomModifierCopyTests.cs (4)
1781var int8Type = comp.GetSpecialType(SpecialType.System_SByte); 1898var int8Type = comp.GetSpecialType(SpecialType.System_SByte); 1995var int8Type = comp.GetSpecialType(SpecialType.System_SByte); 2097var int8Type = comp.GetSpecialType(SpecialType.System_SByte);
Symbols\TypeTests.cs (1)
1513Assert.Same(comp.GetSpecialType(SpecialType.System_SByte), underType);
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3242case SpecialType.System_SByte: 3437SpecialType.System_SByte => SByteKeyword,
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (12)
29SpecialType.System_SByte, 45private static readonly ImmutableArray<SpecialType> s_byteConversions = [SpecialType.System_Char, SpecialType.System_SByte]; 54SpecialType.System_SByte, 57private static readonly ImmutableArray<SpecialType> s_uint16Conversions = [SpecialType.System_Byte, SpecialType.System_Char, SpecialType.System_SByte, SpecialType.System_Int16]; 63SpecialType.System_SByte, 75SpecialType.System_SByte, 88SpecialType.System_SByte, 100SpecialType.System_SByte, 104private static readonly ImmutableArray<SpecialType> s_charConversions = [SpecialType.System_Byte, SpecialType.System_SByte, SpecialType.System_Int16]; 116SpecialType.System_SByte, 131SpecialType.System_SByte, 213SpecialType.System_SByte => s_sbyteConversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
43SpecialType.System_SByte => SyntaxKind.SByteKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
21case SpecialType.System_SByte:
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
291VerifySyntax<TypeSyntax>(Generator.TypeExpression(SpecialType.System_SByte), "sbyte");
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
91(SpecialType.System_SByte, short shortVal) when unchecked((sbyte)shortVal) == shortVal => ConstantValue.Create((sbyte)shortVal),
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\TypeImportCompletionCacheEntry.cs (1)
194var isEnumBaseType = symbol.SpecialType is >= SpecialType.System_SByte and <= SpecialType.System_UInt64;
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
106case SpecialType.System_SByte:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
352return SpecialType.System_SByte;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
53Assert.Equal(SpecialType.System_SByte, SpecialTypes.GetTypeFromMetadataName(Cci.PrimitiveTypeCode.Int8));
Microsoft.CodeAnalysis.VisualBasic (54)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
337SpecialType.System_SByte,
Binding\Binder_Conversions.vb (1)
288Case SyntaxKind.CSByteKeyword : targetType = SpecialType.System_SByte
Binding\Binder_Expressions.vb (1)
4466specialType <> specialType.System_SByte)
Binding\Binder_SelectCase.vb (1)
701Case SpecialType.System_SByte,
Binding\Binder_Symbols.vb (1)
782type = SpecialType.System_SByte
Binding\Binder_Utils.vb (1)
1376SpecialType.System_SByte,
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
368type = SpecialType.System_SByte
Compilation\ClsComplianceChecker.vb (1)
632Case SpecialType.System_SByte, SpecialType.System_UInt16, SpecialType.System_UInt32, SpecialType.System_UInt64
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
482SpecialType.System_SByte,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (2)
433resultUnderlyingSpecialType = SpecialType.System_SByte 458Debug.Assert(resultUnderlyingSpecialType = SpecialType.System_Byte OrElse resultUnderlyingSpecialType = SpecialType.System_SByte)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (6)
273Dim typeBeforeNegationIsByte As Boolean = typeBeforeNegation.SpecialType = SpecialType.System_SByte 312Return Me._factory.SpecialType(SpecialType.System_SByte) 455Case SpecialType.System_SByte : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanInt32 479Case SpecialType.System_SByte 544Case SpecialType.System_SByte : specialHelper = SpecialMember.System_Decimal__op_Implicit_FromInt32 582Case SpecialType.System_SByte,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (1)
87origArgUnderlyingSpecialType = SpecialType.System_SByte
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
840Case SpecialType.System_SByte : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToSByteObject 930Case SpecialType.System_SByte, 1005Case SpecialType.System_SByte : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToSByteString 1073Case SpecialType.System_SByte, 1145Case SpecialType.System_SByte : member = WellKnownMember.System_Convert__ToSByteDecimal
Preprocessor\CConst.vb (2)
59Case SpecialType.System_SByte 89Return New CConst(Of SByte)(value, SpecialType.System_SByte)
Preprocessor\ExpressionEvaluator.vb (6)
26Const ____SByte = CType(SpecialType.System_SByte, Byte) 77Case SpecialType.System_SByte 381Return SpecialType.System_SByte 496specialType = SpecialType.System_SByte 883Case SpecialType.System_SByte 922Case SpecialType.System_SByte
Preprocessor\OperatorResolution.vb (2)
34Case SpecialType.System_SByte 84Const t_i1 As Byte = CType(SpecialType.System_SByte, Byte)
Semantics\Conversions.vb (1)
3340Case SpecialType.System_Byte, SpecialType.System_SByte, SpecialType.System_Boolean
Semantics\Operators.vb (4)
590SpecialType.System_SByte, 623Case SpecialType.System_SByte, 657Case SpecialType.System_SByte, 1725Const tSBy As SByte = SpecialType.System_SByte
Semantics\OverloadResolution.vb (2)
2457If leftSpecialType = SpecialType.System_Byte AndAlso rightSpecialType = SpecialType.System_SByte Then 2461If leftSpecialType = SpecialType.System_SByte AndAlso rightSpecialType = SpecialType.System_Byte Then
Symbols\Attributes\SourceAttributeData.vb (1)
205foundMatch = specType = SpecialType.System_SByte
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1145SpecialType.System_SByte,
Symbols\SpecialTypeExtensions.vb (10)
30SpecialType.System_SByte, 63SpecialType.System_SByte, 100SpecialType.System_SByte, 122SpecialType.System_SByte, 151Case SpecialType.System_SByte 192Case SpecialType.System_SByte 237Case SpecialType.System_SByte 279Case SpecialType.System_SByte 317Case SpecialType.System_SByte, SpecialType.System_Byte 337Case SpecialType.System_SByte
Symbols\TypeSymbolExtensions.vb (1)
434Case SpecialType.System_SByte
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
194Case SpecialType.System_SByte
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
71Return GenerateIntegralLiteralExpression(type, SpecialType.System_SByte, DirectCast(value, SByte), canUseFieldReference, LiteralSpecialValues.SByteSpecialValues, Function(x) x < 0, Function(x) -x, "128") 218ElseIf TypeOf value Is SByte AndAlso Not IsSpecialType(type, SpecialType.System_SByte) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
39Case specialType.System_SByte 81specialType = specialType.System_SByte 106SpecialType.System_SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
99SpecialType.System_SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
102Case SpecialType.System_SByte
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EmitMetadata.vb (1)
519Assert.Same([Module].GetCorLibType(SpecialType.System_SByte), method4ParamTypes(0))
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
95SpecialType.System_SByte,
Completion\Providers\DefaultArgumentProvider.vb (1)
32Case SpecialType.System_SByte
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
36Case SpecialType.System_SByte
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
Semantics\Conversions.vb (10)
234Dim sbyteType = c1.GetSpecialType(System_SByte) 1086Dim sbyteType = c1.GetSpecialType(System_SByte) 1350Case System_SByte : Return c.ToSByte(Nothing) 1375Case System_SByte : Return UncheckedCSByte(UncheckedCLng(val)) 1391Case System_SByte : Return UncheckedCSByte(val) 1407Case System_SByte : Return UncheckedCSByte(UncheckedCLng(val)) 1424Case System_SByte : Return CSByte(value) 2046c1.GetSpecialType(System_SByte), 2062nullable.Construct(c1.GetSpecialType(System_SByte)), 2186Private Const s_SByte = System_SByte
Semantics\OverloadResolution.vb (1)
2509Dim numericTypesPrecedence = {System_SByte, System_Byte, System_Int16, System_UInt16,
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Source\ClsComplianceTests.vb (1)
2578Case SpecialType.System_SByte, SpecialType.System_UInt16, SpecialType.System_UInt32, SpecialType.System_UInt64, SpecialType.System_UIntPtr, SpecialType.System_TypedReference
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\ConstantExpressionEvaluatorTests.vb (1)
12Assert.Equal(ConstantValueTypeDiscriminator.SByte, SpecialType.System_SByte.ToConstantValueDiscriminator())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
411Case SpecialType.System_SByte
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
27Case SpecialType.System_SByte
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
71Return GenerateIntegralLiteralExpression(type, SpecialType.System_SByte, DirectCast(value, SByte), canUseFieldReference, LiteralSpecialValues.SByteSpecialValues, Function(x) x < 0, Function(x) -x, "128") 218ElseIf TypeOf value Is SByte AndAlso Not IsSpecialType(type, SpecialType.System_SByte) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
39Case specialType.System_SByte 81specialType = specialType.System_SByte 106SpecialType.System_SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
99SpecialType.System_SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
102Case SpecialType.System_SByte
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
267VerifySyntax(Of TypeSyntax)(Generator.TypeExpression(SpecialType.System_SByte), "SByte")
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
307AddSpecialTypeSymbolAndItsAliases(nameof(SByte), SpecialType.System_SByte);
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
23case SpecialType.System_SByte: 48case SpecialType.System_SByte: 71case SpecialType.System_SByte: 101case SpecialType.System_SByte: 156case SpecialType.System_SByte: 169case SpecialType.System_SByte: 187case SpecialType.System_SByte: 211case SpecialType.System_SByte: 242case SpecialType.System_SByte: 261case SpecialType.System_SByte: 353return SpecialType.System_SByte; 381SpecialType.System_SByte => (ulong)(sbyte)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
291case SpecialType.System_SByte: 381case SpecialType.System_SByte: 658case SpecialType.System_SByte:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
18PredefinedType.SByte => SpecialType.System_SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
18SpecialType.System_SByte => PredefinedType.SByte,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
60SpecialType.System_SByte => (sbyte)1,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
418case SpecialType.System_SByte:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
58SpecialType.System_SByte => true,
Microsoft.Interop.SourceGeneration (4)
ManagedTypeInfo.cs (1)
83public static readonly SpecialTypeInfo SByte = new("sbyte", "sbyte", SpecialType.System_SByte);
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
41case { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_SByte }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.I1, _) }
TypeSymbolExtensions.cs (2)
177return type is SpecialType.System_SByte 192or SpecialType.System_SByte
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
743case SpecialType.System_SByte:
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
777Case SpecialType.System_SByte
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
193SpecialType.System_SByte or SpecialType.System_Int16 or SpecialType.System_Int32 or SpecialType.System_Int64 or