389 references to System_SByte
Aspire.Hosting.Integration.Analyzers (1)
AspireExportAnalyzer.cs (1)
985SpecialType.System_SByte => true,
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
280case SpecialType.System_SByte:
GenerateDocumentationAndConfigFiles (24)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
47case SpecialType.System_SByte:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
32or SpecialType.System_SByte
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
438case SpecialType.System_SByte:
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
538case 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)
618(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte, 665(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_SByte,
SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
SpecialTypes.cs (2)
121s_typeIdToTypeCodeMap[(int)SpecialType.System_SByte] = Microsoft.Cci.PrimitiveTypeCode.Int8; 145s_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.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
385or SpecialType.System_SByte
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
47case SpecialType.System_SByte:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
32or SpecialType.System_SByte
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
438case SpecialType.System_SByte:
Microsoft.CodeAnalysis.AnalyzerUtilities (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
385or SpecialType.System_SByte
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
47case SpecialType.System_SByte:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
32or SpecialType.System_SByte
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (3)
55case SpecialType.System_SByte: 320case SpecialType.System_SByte: 328case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
Microsoft.CodeAnalysis.CodeStyle (19)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
438case SpecialType.System_SByte:
Microsoft.CodeAnalysis.CSharp (58)
Binder\Binder_Conversions.cs (15)
4021case SpecialType.System_SByte: return (sbyte)byteValue; 4041case SpecialType.System_SByte: return (sbyte)charValue; 4061case SpecialType.System_SByte: return (sbyte)uint16Value; 4081case SpecialType.System_SByte: return (sbyte)uint32Value; 4101case SpecialType.System_SByte: return (sbyte)uint64Value; 4121case SpecialType.System_SByte: return (sbyte)nuintValue; 4140case SpecialType.System_SByte: return (sbyte)sbyteValue; 4160case SpecialType.System_SByte: return (sbyte)int16Value; 4180case SpecialType.System_SByte: return (sbyte)int32Value; 4200case SpecialType.System_SByte: return (sbyte)int64Value; 4220case SpecialType.System_SByte: return (sbyte)nintValue; 4244case SpecialType.System_SByte: return (sbyte)doubleValue; 4264case SpecialType.System_SByte: return (sbyte)decimalValue; 4315case SpecialType.System_SByte: return (sbyte.MinValue - 1D) < value && value < (sbyte.MaxValue + 1D); 4345case SpecialType.System_SByte: return (sbyte.MinValue - 1M) < value && value < (sbyte.MaxValue + 1M);
Binder\Binder_Expressions.cs (2)
7504case SpecialType.System_SByte: 7563specialType != SpecialType.System_SByte &&
Binder\Binder_Operators.cs (1)
2661case SpecialType.System_SByte:
Binder\Binder_Patterns.cs (1)
2385SpecialType.System_SByte => BinaryOperatorKind.Int, // operands are converted to int
Binder\DecisionDagBuilder.cs (2)
2700case (SpecialType.System_SByte, SpecialType.System_Byte): 2701case (SpecialType.System_Byte, SpecialType.System_SByte):
Binder\PatternExplainer.cs (1)
862case SpecialType.System_SByte:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1388case SpecialType.System_SByte: 2118case SpecialType.System_SByte: 2202case SpecialType.System_SByte: 3946case SpecialType.System_SByte:
Binder\Semantics\Operators\OperatorFacts.cs (1)
49case SpecialType.System_SByte:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3819case SpecialType.System_SByte:
CodeGen\EmitArrayInitializer.cs (1)
794SpecialType.System_SByte or SpecialType.System_Byte or SpecialType.System_Boolean or
CodeGen\EmitExpression.cs (1)
1359case 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)
1805case SpecialType.System_SByte:
Compiler\ClsComplianceChecker.cs (1)
1024case SpecialType.System_SByte: // sic
FlowAnalysis\AbstractFlowPass.cs (1)
1511case SpecialType.System_SByte:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
217SpecialType.System_SByte or SpecialType.System_Byte
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
447SpecialType.System_SByte => true,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
1670case SpecialType.System_SByte: 1699case SpecialType.System_SByte: 1720case SpecialType.System_SByte: 1744case SpecialType.System_SByte: 1773case SpecialType.System_SByte: return SpecialMember.System_Decimal__op_Explicit_ToSByte; 1793case SpecialType.System_SByte: return SpecialMember.System_Decimal__op_Implicit_FromSByte;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
1076specialType = SpecialType.System_SByte; 1192case SpecialType.System_SByte:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
686case SpecialType.System_SByte:
Symbols\Attributes\SourceAttributeData.cs (1)
342if (specType != SpecialType.System_SByte)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2505case SpecialType.System_SByte:
Symbols\Source\SourceAssemblySymbol.cs (1)
2816case SpecialType.System_SByte:
Symbols\SpecialTypeExtensions.cs (2)
17case SpecialType.System_SByte: 40case SpecialType.System_SByte:
Symbols\TypeSymbolExtensions.cs (5)
687case SpecialType.System_SByte: 1430case SpecialType.System_SByte: 1538case SpecialType.System_SByte: 2312case SpecialType.System_SByte: return 4; 2335case SpecialType.System_SByte: return 19;
Syntax\SyntaxKindExtensions.cs (1)
22return SpecialType.System_SByte;
Utilities\ValueSetFactory.cs (1)
38SpecialType.System_SByte => ForSByte,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
21case SpecialType.System_SByte:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
277case SpecialType.System_SByte:
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\SByteKeywordRecommender.cs (1)
50protected override SpecialType SpecialType => SpecialType.System_SByte;
Completion\Providers\DefaultArgumentProvider.cs (1)
42SpecialType.System_SByte => "(sbyte)0",
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
39case SpecialType.System_SByte: return "sbyte";
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3511SpecialType.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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
21case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
277case SpecialType.System_SByte:
Microsoft.CodeAnalysis.Extensions.Package (17)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\TypeImportCompletionCacheEntry.cs (1)
209var isEnumBaseType = symbol.SpecialType is >= SpecialType.System_SByte and <= SpecialType.System_UInt64;
Microsoft.CodeAnalysis.ResxSourceGenerator (22)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
385or SpecialType.System_SByte
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
47case SpecialType.System_SByte:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
32or SpecialType.System_SByte
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
105case SpecialType.System_SByte:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
351return SpecialType.System_SByte;
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)
4470specialType <> 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)
2458If leftSpecialType = SpecialType.System_Byte AndAlso rightSpecialType = SpecialType.System_SByte Then 2462If 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)
1160SpecialType.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\roslyn\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
39Case specialType.System_SByte 81specialType = specialType.System_SByte 106SpecialType.System_SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
99SpecialType.System_SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
102Case SpecialType.System_SByte
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.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\BasicForwardCancellationTokenToInvocationsFixer.TypeNameVisitor.vb (2)
138Case SpecialType.System_SByte 244SpecialType.System_SByte,
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
36Case SpecialType.System_SByte
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
366Case SpecialType.System_SByte
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
26Case SpecialType.System_SByte
src\roslyn\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
39Case specialType.System_SByte 81specialType = specialType.System_SByte 106SpecialType.System_SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
99SpecialType.System_SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
102Case SpecialType.System_SByte
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
306AddSpecialTypeSymbolAndItsAliases(nameof(SByte), SpecialType.System_SByte);
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
438case 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
Roslyn.Diagnostics.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
24case SpecialType.System_SByte: 49case SpecialType.System_SByte: 72case SpecialType.System_SByte: 102case SpecialType.System_SByte: 157case SpecialType.System_SByte: 170case SpecialType.System_SByte: 188case SpecialType.System_SByte: 212case SpecialType.System_SByte: 243case SpecialType.System_SByte: 262case SpecialType.System_SByte: 352return SpecialType.System_SByte; 379SpecialType.System_SByte => (ulong)(sbyte)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
385or SpecialType.System_SByte
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
47case SpecialType.System_SByte:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
32or SpecialType.System_SByte
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
61SpecialType.System_SByte => (sbyte)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
63SpecialType.System_SByte => unchecked((sbyte)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
288case SpecialType.System_SByte: 384case SpecialType.System_SByte: 660case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
20PredefinedType.SByte => SpecialType.System_SByte, 45SpecialType.System_SByte => PredefinedType.SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
136SpecialType.System_SByte => value is sbyte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
20case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
438case SpecialType.System_SByte:
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
21case SpecialType.System_SByte:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
277case SpecialType.System_SByte:
Roslyn.Diagnostics.VisualBasic.Analyzers (7)
src\roslyn\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
39Case specialType.System_SByte 81specialType = specialType.System_SByte 106SpecialType.System_SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
99SpecialType.System_SByte,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
102Case SpecialType.System_SByte
System.Text.Json.SourceGeneration (2)
Helpers\RoslynExtensions.cs (1)
193SpecialType.System_SByte or SpecialType.System_Int16 or SpecialType.System_Int32 or SpecialType.System_Int64 or
JsonSourceGenerator.Parser.cs (1)
1363type.SpecialType is SpecialType.System_Byte or SpecialType.System_SByte or