321 references to System_UInt16
Aspire.Hosting.Azure.Provisioning.Generators (1)
AspireProvisioningProxyGenerator.cs (1)
2677SpecialType.System_UInt16 or
Aspire.Hosting.Integration.Analyzers (1)
AspireExportAnalyzer.cs (1)
2291SpecialType.System_UInt16 => true,
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
281case SpecialType.System_UInt16:
GenerateDocumentationAndConfigFiles (24)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
31case SpecialType.System_UInt16:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
29or SpecialType.System_UInt16
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
441case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
457case SpecialType.System_UInt16:
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
558case SpecialType.System_UInt16 when constantValue is ushort uint16ConstantValue:
Microsoft.Build.TaskAuthoring.Analyzer (2)
SupportedTaskItemTypes.cs (2)
31new SupportedSpecialType(SpecialType.System_UInt16, "ushort"), 67SpecialType.System_UInt16 or
Microsoft.CodeAnalysis (30)
Compilation\Expression.cs (1)
21case SpecialType.System_UInt16:
ConstantValue.cs (2)
443case SpecialType.System_UInt16: return ConstantValueTypeDiscriminator.UInt16; 495case ConstantValueTypeDiscriminator.UInt16: return SpecialType.System_UInt16;
MetadataReader\MetadataTypeCodeExtensions.cs (3)
37return SpecialType.System_UInt16; 113case SpecialType.System_UInt16: 163case SpecialType.System_UInt16:
SpecialMembers.cs (2)
626(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, 657(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16,
SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
SpecialTypes.cs (2)
124s_typeIdToTypeCodeMap[(int)SpecialType.System_UInt16] = Microsoft.Cci.PrimitiveTypeCode.UInt16; 148s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.UInt16] = SpecialType.System_UInt16;
Symbols\INamedTypeSymbolInternal.cs (1)
51case SpecialType.System_UInt16:
Symbols\TypedConstant.cs (1)
170case SpecialType.System_UInt16:
WellKnownMembers.cs (7)
170(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Return Type 178(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Return Type 186(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Return Type 1378(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Return Type 1594(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Return Type 3029(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Value 3147(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, // Value
Microsoft.CodeAnalysis.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
380or SpecialType.System_UInt16
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
31case SpecialType.System_UInt16:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
29or SpecialType.System_UInt16
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
441case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
457case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.AnalyzerUtilities (24)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
380or SpecialType.System_UInt16
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
31case SpecialType.System_UInt16:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
29or SpecialType.System_UInt16
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (3)
52case SpecialType.System_UInt16: 318case SpecialType.System_UInt16: 348case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
Microsoft.CodeAnalysis.CodeStyle (18)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
441case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
457case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.CSharp (58)
Binder\Binder_Conversions.cs (15)
4011case SpecialType.System_UInt16: return (ushort)byteValue; 4031case SpecialType.System_UInt16: return (ushort)charValue; 4051case SpecialType.System_UInt16: return (ushort)uint16Value; 4071case SpecialType.System_UInt16: return (ushort)uint32Value; 4091case SpecialType.System_UInt16: return (ushort)uint64Value; 4111case SpecialType.System_UInt16: return (ushort)nuintValue; 4130case SpecialType.System_UInt16: return (ushort)sbyteValue; 4150case SpecialType.System_UInt16: return (ushort)int16Value; 4170case SpecialType.System_UInt16: return (ushort)int32Value; 4190case SpecialType.System_UInt16: return (ushort)int64Value; 4210case SpecialType.System_UInt16: return (ushort)nintValue; 4234case SpecialType.System_UInt16: return (ushort)doubleValue; 4254case SpecialType.System_UInt16: return (ushort)decimalValue; 4305case SpecialType.System_UInt16: return (ushort.MinValue - 1D) < value && value < (ushort.MaxValue + 1D); 4335case SpecialType.System_UInt16: return (ushort.MinValue - 1M) < value && value < (ushort.MaxValue + 1M);
Binder\Binder_Expressions.cs (2)
7525case SpecialType.System_UInt16: 7581specialType != SpecialType.System_UInt16);
Binder\Binder_Operators.cs (1)
2663case SpecialType.System_UInt16:
Binder\Binder_Patterns.cs (1)
2057SpecialType.System_UInt16 => BinaryOperatorKind.Int, // operands are converted to int
Binder\DecisionDagBuilder.cs (2)
2731case (SpecialType.System_Int16, SpecialType.System_UInt16): 2732case (SpecialType.System_UInt16, SpecialType.System_Int16):
Binder\PatternExplainer.cs (1)
888case SpecialType.System_UInt16:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1399case SpecialType.System_UInt16: 2121case SpecialType.System_UInt16: 2205case SpecialType.System_UInt16: 3949case SpecialType.System_UInt16:
Binder\Semantics\Operators\OperatorFacts.cs (1)
52case SpecialType.System_UInt16:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3841case SpecialType.System_UInt16:
CodeGen\EmitArrayInitializer.cs (1)
800SpecialType.System_Int16 or SpecialType.System_UInt16 or SpecialType.System_Char or
CodeGen\EmitExpression.cs (1)
1355case SpecialType.System_UInt16:
CodeGen\EmitOperators.cs (2)
690case SpecialType.System_UInt16: 768case SpecialType.System_UInt16:
Compilation\BuiltInOperators.cs (1)
267case UnaryOperatorKind.UShort: opType = _compilation.GetSpecialType(SpecialType.System_UInt16); break;
Compiler\ClsComplianceChecker.cs (1)
1025case SpecialType.System_UInt16:
FlowAnalysis\AbstractFlowPass.cs (1)
1466case SpecialType.System_UInt16:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
219SpecialType.System_Int16 or SpecialType.System_UInt16 or SpecialType.System_Char
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
1672case SpecialType.System_UInt16: 1695case SpecialType.System_UInt16: 1722case SpecialType.System_UInt16: 1748case SpecialType.System_UInt16: 1776case SpecialType.System_UInt16: return SpecialMember.System_Decimal__op_Explicit_ToUInt16; 1796case SpecialType.System_UInt16: return SpecialMember.System_Decimal__op_Implicit_FromUInt16;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
1087specialType = SpecialType.System_UInt16; 1200case SpecialType.System_UInt16:
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
449SpecialType.System_UInt16 => true,
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
700case SpecialType.System_UInt16:
Symbols\Attributes\SourceAttributeData.cs (1)
366if (specType != SpecialType.System_UInt16)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2507case SpecialType.System_UInt16:
Symbols\Source\SourceAssemblySymbol.cs (1)
2818case SpecialType.System_UInt16:
Symbols\SpecialTypeExtensions.cs (2)
22case SpecialType.System_UInt16: 42case SpecialType.System_UInt16:
Symbols\TypeSymbolExtensions.cs (5)
690case SpecialType.System_UInt16: 1433case SpecialType.System_UInt16: 1543case SpecialType.System_UInt16: 2317case SpecialType.System_UInt16: return 9; 2340case SpecialType.System_UInt16: return 24;
Syntax\SyntaxKindExtensions.cs (1)
26return SpecialType.System_UInt16;
Utilities\ValueSetFactory.cs (1)
41SpecialType.System_UInt16 => ForUShort,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
26case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
280case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\UShortKeywordRecommender.cs (1)
57protected override SpecialType SpecialType => SpecialType.System_UInt16;
Completion\Providers\DefaultArgumentProvider.cs (1)
44SpecialType.System_UInt16 => "(ushort)0",
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
97SpecialType.System_UInt16 => IsUnsignedBoundary(startValue, endValue, ushort.MaxValue),
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
42case SpecialType.System_UInt16: return "ushort";
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3522SpecialType.System_UInt16 => UShortKeyword,
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (10)
33SpecialType.System_UInt16, 42SpecialType.System_UInt16, 53SpecialType.System_UInt16, 66SpecialType.System_UInt16, 77SpecialType.System_UInt16, 87SpecialType.System_UInt16, 99SpecialType.System_UInt16, 115SpecialType.System_UInt16, 130SpecialType.System_UInt16, 216SpecialType.System_UInt16 => s_uint16Conversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
47SpecialType.System_UInt16 => SyntaxKind.UShortKeyword,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
26case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
280case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.Extensions.Package (16)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
Microsoft.CodeAnalysis.NetAnalyzers (12)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\Helpers\EnumHelpers.cs (1)
32case SpecialType.System_UInt16:
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UseIntegralOrStringArgumentForIndexers.cs (1)
44SpecialType.System_UInt16,
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (3)
265SpecialType.System_UInt16 => true, 304case SpecialType.System_UInt16: 356case SpecialType.System_UInt16:
Microsoft.NetCore.Analyzers\Runtime\DoNotLockOnObjectsWithWeakIdentity.cs (1)
136or SpecialType.System_UInt16
src\440320f3f10733a8\ValueContentAbstractValue.cs (3)
51case SpecialType.System_UInt16: 317case SpecialType.System_UInt16: 347case SpecialType.System_UInt16:
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
379or SpecialType.System_UInt16
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\DiagnosticHelpers.cs (1)
30case SpecialType.System_UInt16:
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
35or SpecialType.System_UInt16
Microsoft.CodeAnalysis.ResxSourceGenerator (21)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
380or SpecialType.System_UInt16
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
31case SpecialType.System_UInt16:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
29or SpecialType.System_UInt16
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
99case SpecialType.System_UInt16:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
341return SpecialType.System_UInt16;
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\BasicForwardCancellationTokenToInvocationsFixer.TypeNameVisitor.vb (2)
144Case SpecialType.System_UInt16 246SpecialType.System_UInt16,
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
308AddSpecialTypeSymbolAndItsAliases(nameof(UInt16), SpecialType.System_UInt16);
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
441case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
457case SpecialType.System_UInt16:
Microsoft.Diagnostics.DataContractReader.DataGenerator (1)
Parser.cs (1)
480SpecialType.System_UInt16 => "uint16",
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
ConfigurationBindingGenerator.Parser.cs (1)
285case SpecialType.System_UInt16:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
60SpecialType.System_UInt16 => true,
Microsoft.Interop.SourceGeneration (4)
ManagedTypeInfo.cs (1)
76public static readonly SpecialTypeInfo UInt16 = new("ushort", "ushort", SpecialType.System_UInt16);
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
44or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_UInt16 }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.U2, _) }
TypeSymbolExtensions.cs (2)
173or SpecialType.System_UInt16 188or SpecialType.System_UInt16
Roslyn.Diagnostics.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
26case SpecialType.System_UInt16: 51case SpecialType.System_UInt16: 74case SpecialType.System_UInt16: 108case SpecialType.System_UInt16: 152case SpecialType.System_UInt16: 172case SpecialType.System_UInt16: 190case SpecialType.System_UInt16: 214case SpecialType.System_UInt16: 230case SpecialType.System_UInt16: 337return SpecialType.System_UInt16; 384SpecialType.System_UInt16 => (ushort)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
380or SpecialType.System_UInt16
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
31case SpecialType.System_UInt16:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
29or SpecialType.System_UInt16
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
64SpecialType.System_UInt16 => (ushort)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
290case SpecialType.System_UInt16: 394case SpecialType.System_UInt16: 663case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
23PredefinedType.UInt16 => SpecialType.System_UInt16, 48SpecialType.System_UInt16 => PredefinedType.UInt16,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
441case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
457case SpecialType.System_UInt16:
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
26case SpecialType.System_UInt16:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
280case SpecialType.System_UInt16:
System.Text.Json.SourceGeneration (2)
Helpers\RoslynExtensions.cs (1)
626SpecialType.System_Byte or SpecialType.System_UInt16 or SpecialType.System_UInt32 or SpecialType.System_UInt64 or
JsonSourceGenerator.Parser.cs (1)
1936SpecialType.System_Int16 or SpecialType.System_UInt16 or