247 references to System_UInt16
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
281case SpecialType.System_UInt16:
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
452 case SpecialType.System_UInt16 when constantValue is ushort uint16ConstantValue:
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)
618(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16, 649(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt16,
SpecialTypeExtensions.cs (11)
25case SpecialType.System_UInt16: 50case SpecialType.System_UInt16: 73case SpecialType.System_UInt16: 107case SpecialType.System_UInt16: 151case SpecialType.System_UInt16: 171case SpecialType.System_UInt16: 189case SpecialType.System_UInt16: 213case SpecialType.System_UInt16: 229case SpecialType.System_UInt16: 338return SpecialType.System_UInt16; 386SpecialType.System_UInt16 => (ushort)value,
SpecialTypes.cs (2)
116s_typeIdToTypeCodeMap[(int)SpecialType.System_UInt16] = Microsoft.Cci.PrimitiveTypeCode.UInt16; 140s_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.CodeStyle (18)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
25case SpecialType.System_UInt16: 50case SpecialType.System_UInt16: 73case SpecialType.System_UInt16: 107case SpecialType.System_UInt16: 151case SpecialType.System_UInt16: 171case SpecialType.System_UInt16: 189case SpecialType.System_UInt16: 213case SpecialType.System_UInt16: 229case SpecialType.System_UInt16: 338return SpecialType.System_UInt16; 386SpecialType.System_UInt16 => (ushort)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
293case SpecialType.System_UInt16: 391case SpecialType.System_UInt16: 661case SpecialType.System_UInt16:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
21PredefinedType.UInt16 => SpecialType.System_UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
21SpecialType.System_UInt16 => PredefinedType.UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
63SpecialType.System_UInt16 => (ushort)1,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
421case SpecialType.System_UInt16:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
461case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder_Expressions.cs (2)
7270case SpecialType.System_UInt16: 7326specialType != SpecialType.System_UInt16);
Binder\Binder_Operators.cs (1)
1692case SpecialType.System_UInt16:
Binder\Binder_Patterns.cs (1)
1702SpecialType.System_UInt16 => BinaryOperatorKind.Int, // operands are converted to int
Binder\DecisionDagBuilder.cs (2)
1566case (SpecialType.System_Int16, SpecialType.System_UInt16): 1567case (SpecialType.System_UInt16, SpecialType.System_Int16):
Binder\PatternExplainer.cs (1)
724case SpecialType.System_UInt16:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1384case SpecialType.System_UInt16: 2107case SpecialType.System_UInt16: 2191case SpecialType.System_UInt16: 3929case SpecialType.System_UInt16:
Binder\Semantics\Operators\OperatorFacts.cs (1)
52case SpecialType.System_UInt16:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3763case SpecialType.System_UInt16:
CodeGen\EmitArrayInitializer.cs (1)
802SpecialType.System_Int16 or SpecialType.System_UInt16 or SpecialType.System_Char or
CodeGen\EmitExpression.cs (1)
1350case 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;
Compilation\CSharpCompilation.cs (1)
1725case SpecialType.System_UInt16:
Compiler\ClsComplianceChecker.cs (1)
1025case SpecialType.System_UInt16:
FlowAnalysis\AbstractFlowPass.cs (1)
1465case SpecialType.System_UInt16:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
219SpecialType.System_Int16 or SpecialType.System_UInt16 or SpecialType.System_Char
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
420SpecialType.System_UInt16 => true,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
1558case SpecialType.System_UInt16: 1581case SpecialType.System_UInt16: 1608case SpecialType.System_UInt16: 1634case SpecialType.System_UInt16: 1662case SpecialType.System_UInt16: return SpecialMember.System_Decimal__op_Explicit_ToUInt16; 1682case SpecialType.System_UInt16: return SpecialMember.System_Decimal__op_Implicit_FromUInt16;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
926specialType = SpecialType.System_UInt16; 1039case SpecialType.System_UInt16:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
655case SpecialType.System_UInt16:
Symbols\Attributes\SourceAttributeData.cs (1)
366if (specType != SpecialType.System_UInt16)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1920case SpecialType.System_UInt16:
Symbols\Source\SourceAssemblySymbol.cs (1)
2796case SpecialType.System_UInt16:
Symbols\SpecialTypeExtensions.cs (2)
22case SpecialType.System_UInt16: 42case SpecialType.System_UInt16:
Symbols\TypeSymbolExtensions.cs (5)
649case SpecialType.System_UInt16: 1348case SpecialType.System_UInt16: 1458case SpecialType.System_UInt16: 2222case SpecialType.System_UInt16: return 9; 2245case SpecialType.System_UInt16: return 24;
Syntax\SyntaxKindExtensions.cs (1)
26return SpecialType.System_UInt16;
Utilities\ValueSetFactory.cs (1)
40SpecialType.System_UInt16 => ForUShort,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
26case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
465Assert.Same(module.GetCorLibType(SpecialType.System_UInt16), method4ParamTypes[9]);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\RecordTests.cs (2)
12482CSharpCustomModifier.CreateOptional(comp.GetSpecialType(SpecialType.System_UInt16))); 12487CSharpCustomModifier.CreateOptional(comp.GetSpecialType(SpecialType.System_UInt16)));
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\UShortKeywordRecommender.cs (1)
62protected override SpecialType SpecialType => SpecialType.System_UInt16;
Completion\Providers\DefaultArgumentProvider.cs (1)
44SpecialType.System_UInt16 => "(ushort)0",
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
98SpecialType.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.Semantic.UnitTests (2)
Semantics\UnsafeTests.cs (1)
10584{ SpecialType.System_UInt16, 2 },
Utilities\ValueSetTests.cs (1)
495Assert.Same(ForUShort, ForSpecialType(SpecialType.System_UInt16));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\ClsComplianceTests.cs (1)
3184case SpecialType.System_UInt16:
Symbols\TypeTests.cs (1)
1545Assert.Same(comp.GetSpecialType(SpecialType.System_UInt16), memType.GetNullableUnderlyingType());
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3264case SpecialType.System_UInt16: 3459SpecialType.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\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
26case SpecialType.System_UInt16:
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
294VerifySyntax<TypeSyntax>(Generator.TypeExpression(SpecialType.System_UInt16), "ushort");
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
94(SpecialType.System_UInt16, ushort ushortVal) => ConstantValue.Create(ushortVal),
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
100case SpecialType.System_UInt16:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
342return SpecialType.System_UInt16;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
56Assert.Equal(SpecialType.System_UInt16, SpecialTypes.GetTypeFromMetadataName(Cci.PrimitiveTypeCode.UInt16));
Microsoft.CodeAnalysis.VisualBasic (49)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
340SpecialType.System_UInt16,
Binding\Binder_Conversions.vb (1)
294Case SyntaxKind.CUShortKeyword : targetType = SpecialType.System_UInt16
Binding\Binder_Lookup.vb (1)
455Return SpecialType.System_UInt16
Binding\Binder_SelectCase.vb (1)
696SpecialType.System_UInt16,
Binding\Binder_Symbols.vb (1)
784type = SpecialType.System_UInt16
Binding\Binder_Utils.vb (2)
746specialType = SpecialType.System_UInt16 1378SpecialType.System_UInt16,
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
370type = SpecialType.System_UInt16
Compilation\ClsComplianceChecker.vb (1)
632Case SpecialType.System_SByte, SpecialType.System_UInt16, SpecialType.System_UInt32, SpecialType.System_UInt64
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
485SpecialType.System_UInt16,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (5)
313Case SpecialType.System_UInt16 458Case SpecialType.System_UInt16 : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanInt32 497Case SpecialType.System_UInt16 547Case SpecialType.System_UInt16 : specialHelper = SpecialMember.System_Decimal__op_Implicit_FromInt32 588Case SpecialType.System_UInt16,
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
843Case SpecialType.System_UInt16 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToUShortObject 936Case SpecialType.System_UInt16, 1008Case SpecialType.System_UInt16 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToUShortString 1076SpecialType.System_UInt16, 1148Case SpecialType.System_UInt16 : member = WellKnownMember.System_Convert__ToUInt16Decimal
Preprocessor\CConst.vb (2)
65Case SpecialType.System_UInt16 101Return New CConst(Of UShort)(value, SpecialType.System_UInt16)
Preprocessor\ExpressionEvaluator.vb (6)
28Const ___UInt16 = CType(SpecialType.System_UInt16, Byte) 81Case SpecialType.System_UInt16 357Return SpecialType.System_UInt16 508specialType = SpecialType.System_UInt16 887Case SpecialType.System_UInt16 926Case SpecialType.System_UInt16
Preprocessor\OperatorResolution.vb (2)
40Case SpecialType.System_UInt16 89Const t_ui2 As Byte = CType(SpecialType.System_UInt16, Byte)
Semantics\Conversions.vb (1)
3342Case SpecialType.System_Int16, SpecialType.System_UInt16
Semantics\Operators.vb (4)
593SpecialType.System_UInt16, 626SpecialType.System_UInt16, 668Case SpecialType.System_UInt16 1732Const tUSh As SByte = SpecialType.System_UInt16
Symbols\Attributes\SourceAttributeData.vb (1)
217foundMatch = specType = SpecialType.System_UInt16
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1147SpecialType.System_UInt16,
Symbols\SpecialTypeExtensions.vb (10)
32SpecialType.System_UInt16, 58SpecialType.System_UInt16, 102SpecialType.System_UInt16, 124SpecialType.System_UInt16, 161Case SpecialType.System_UInt16 198Case SpecialType.System_UInt16 247Case SpecialType.System_UInt16 285Case SpecialType.System_UInt16 320Case SpecialType.System_Int16, SpecialType.System_UInt16 347Case SpecialType.System_UInt16
Symbols\TypeSymbolExtensions.vb (1)
438Case SpecialType.System_UInt16
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
197Case SpecialType.System_UInt16
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
81Return GenerateNonNegativeIntegralLiteralExpression(type, SpecialType.System_UInt16, DirectCast(value, UShort), canUseFieldReference, LiteralSpecialValues.UInt16SpecialValues) 249ElseIf TypeOf value Is UShort AndAlso Not IsSpecialType(type, SpecialType.System_UInt16) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
51Case specialType.System_UInt16 93specialType = specialType.System_UInt16 108SpecialType.System_UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
101SpecialType.System_UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
108Case SpecialType.System_UInt16
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EmitMetadata.vb (1)
528Assert.Same([Module].GetCorLibType(SpecialType.System_UInt16), method4ParamTypes(9))
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
101SpecialType.System_UInt16}
Completion\Providers\DefaultArgumentProvider.vb (1)
36Case SpecialType.System_UInt16
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
42Case SpecialType.System_UInt16
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Semantics\Conversions.vb (10)
236Dim uint16Type = c1.GetSpecialType(System_UInt16) 1088Dim uint16Type = c1.GetSpecialType(System_UInt16) 1352Case System_UInt16 : Return c.ToUInt16(Nothing) 1377Case System_UInt16 : Return UncheckedCUShort(UncheckedCLng(val)) 1393Case System_UInt16 : Return UncheckedCUShort(val) 1409Case System_UInt16 : Return UncheckedCUShort(UncheckedCLng(val)) 1426Case System_UInt16 : Return CUShort(value) 2047c1.GetSpecialType(System_UInt16), 2063nullable.Construct(c1.GetSpecialType(System_UInt16)), 2187Private Const s_UShort = System_UInt16
Semantics\OverloadResolution.vb (2)
205Dim ushortVal As BoundExpression = New BoundRValuePlaceholder(_syntaxNode, c1.GetSpecialType(System_UInt16)) 2509Dim numericTypesPrecedence = {System_SByte, System_Byte, System_Int16, System_UInt16,
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
DocumentationComments\DocCommentTests.vb (2)
4898TestSymbolAndTypeInfoForType(model, names(0), compilation.GetSpecialType(SpecialType.System_UInt16)) 4899TestSymbolAndTypeInfoForType(model, names(1), compilation.GetSpecialType(SpecialType.System_UInt16))
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)
15Assert.Equal(ConstantValueTypeDiscriminator.UInt16, SpecialType.System_UInt16.ToConstantValueDiscriminator())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
417Case SpecialType.System_UInt16
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
35Case SpecialType.System_UInt16
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
81Return GenerateNonNegativeIntegralLiteralExpression(type, SpecialType.System_UInt16, DirectCast(value, UShort), canUseFieldReference, LiteralSpecialValues.UInt16SpecialValues) 249ElseIf TypeOf value Is UShort AndAlso Not IsSpecialType(type, SpecialType.System_UInt16) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
51Case specialType.System_UInt16 93specialType = specialType.System_UInt16 108SpecialType.System_UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
101SpecialType.System_UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
108Case SpecialType.System_UInt16
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
270VerifySyntax(Of TypeSyntax)(Generator.TypeExpression(SpecialType.System_UInt16), "UShort")
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
309AddSpecialTypeSymbolAndItsAliases(nameof(UInt16), SpecialType.System_UInt16);
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
25case SpecialType.System_UInt16: 50case SpecialType.System_UInt16: 73case SpecialType.System_UInt16: 107case SpecialType.System_UInt16: 151case SpecialType.System_UInt16: 171case SpecialType.System_UInt16: 189case SpecialType.System_UInt16: 213case SpecialType.System_UInt16: 229case SpecialType.System_UInt16: 338return SpecialType.System_UInt16; 386SpecialType.System_UInt16 => (ushort)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
293case SpecialType.System_UInt16: 391case SpecialType.System_UInt16: 661case SpecialType.System_UInt16:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
21PredefinedType.UInt16 => SpecialType.System_UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
21SpecialType.System_UInt16 => PredefinedType.UInt16,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
63SpecialType.System_UInt16 => (ushort)1,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
66SpecialType.System_UInt16 => unchecked((ushort)v),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
139SpecialType.System_UInt16 => value is ushort,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
22case SpecialType.System_UInt16:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
421case SpecialType.System_UInt16:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
461case SpecialType.System_UInt16:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
60SpecialType.System_UInt16 => true,
Microsoft.Interop.SourceGeneration (4)
ManagedTypeInfo.cs (1)
85public 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)
180or SpecialType.System_UInt16 195or SpecialType.System_UInt16
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.cs (1)
737case SpecialType.System_UInt16:
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
308GenerateNumber((ushort)ch, SpecialType.System_UInt16);
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
783Case SpecialType.System_UInt16
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
194SpecialType.System_Byte or SpecialType.System_UInt16 or SpecialType.System_UInt32 or SpecialType.System_UInt64 or