302 references to System_UInt32
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
282case SpecialType.System_UInt32:
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
458 case SpecialType.System_UInt32 when constantValue is uint uint32ConstantValue:
Microsoft.CodeAnalysis (44)
Compilation\Expression.cs (1)
17case SpecialType.System_UInt32:
ConstantValue.cs (2)
445case SpecialType.System_UInt32: return ConstantValueTypeDiscriminator.UInt32; 497case ConstantValueTypeDiscriminator.UInt32: return SpecialType.System_UInt32;
MetadataReader\MetadataTypeCodeExtensions.cs (3)
43return SpecialType.System_UInt32; 115case SpecialType.System_UInt32: 166case SpecialType.System_UInt32:
SpecialMembers.cs (5)
324(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 626(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 713(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 1014(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 1039(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32,
SpecialTypeExtensions.cs (11)
27case SpecialType.System_UInt32: 52case SpecialType.System_UInt32: 75case SpecialType.System_UInt32: 111case SpecialType.System_UInt32: 152case SpecialType.System_UInt32: 173case SpecialType.System_UInt32: 191case SpecialType.System_UInt32: 215case SpecialType.System_UInt32: 230case SpecialType.System_UInt32: 313return SpecialType.System_UInt32; 387SpecialType.System_UInt32 => (uint)value,
SpecialTypes.cs (2)
115s_typeIdToTypeCodeMap[(int)SpecialType.System_UInt32] = Microsoft.Cci.PrimitiveTypeCode.UInt32; 139s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.UInt32] = SpecialType.System_UInt32;
Symbols\Attributes\CommonAttributeData.cs (6)
228Debug.Assert(parameters[2].Type.SpecialType == SpecialType.System_UInt32); 229Debug.Assert(parameters[3].Type.SpecialType == SpecialType.System_UInt32); 230Debug.Assert(parameters[4].Type.SpecialType == SpecialType.System_UInt32); 232high = unchecked((int)args[2].DecodeValue<uint>(SpecialType.System_UInt32)); 233mid = unchecked((int)args[3].DecodeValue<uint>(SpecialType.System_UInt32)); 234low = unchecked((int)args[4].DecodeValue<uint>(SpecialType.System_UInt32));
Symbols\INamedTypeSymbolInternal.cs (1)
53case SpecialType.System_UInt32:
Symbols\TypedConstant.cs (1)
171case SpecialType.System_UInt32:
WellKnownMembers.cs (12)
59(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 218(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Return Type 226(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Return Type 234(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Return Type 877(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 878(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 879(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 1394(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Return Type 1491(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 1610(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Return Type 3038(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Value 3156(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, // Value
Microsoft.CodeAnalysis.CodeStyle (18)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
27case SpecialType.System_UInt32: 52case SpecialType.System_UInt32: 75case SpecialType.System_UInt32: 111case SpecialType.System_UInt32: 152case SpecialType.System_UInt32: 173case SpecialType.System_UInt32: 191case SpecialType.System_UInt32: 215case SpecialType.System_UInt32: 230case SpecialType.System_UInt32: 313return SpecialType.System_UInt32; 387SpecialType.System_UInt32 => (uint)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
295case SpecialType.System_UInt32: 392case SpecialType.System_UInt32: 663case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
23PredefinedType.UInt32 => SpecialType.System_UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
23SpecialType.System_UInt32 => PredefinedType.UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
65SpecialType.System_UInt32 => (uint)1,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
423case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
462case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.CSharp (72)
Binder\Binder_Expressions.cs (3)
4704Debug.Assert(type == SpecialType.System_UInt32 || type == SpecialType.System_UInt64); 7269case SpecialType.System_UInt32: 9407TryImplicitConversionToArrayIndex(index, SpecialType.System_UInt32, node, diagnostics) ??
Binder\Binder_Operators.cs (1)
1701case SpecialType.System_UInt32:
Binder\Binder_Patterns.cs (1)
1705SpecialType.System_UInt32 => BinaryOperatorKind.UInt,
Binder\DecisionDagBuilder.cs (6)
1568case (SpecialType.System_Int32, SpecialType.System_UInt32): 1569case (SpecialType.System_UInt32, SpecialType.System_Int32): 1580case (SpecialType.System_UInt32, SpecialType.System_IntPtr): 1581case (SpecialType.System_UInt32, SpecialType.System_UIntPtr): 1583case (SpecialType.System_IntPtr, SpecialType.System_UInt32): 1585case (SpecialType.System_UIntPtr, SpecialType.System_UInt32):
Binder\PatternExplainer.cs (2)
702SpecialType.System_UInt32 => true, 727case SpecialType.System_UInt32:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1379case SpecialType.System_UInt32: 2109case SpecialType.System_UInt32: 2194case SpecialType.System_UInt32: 3931case SpecialType.System_UInt32:
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (3)
552operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndUIntAddition, pointerType, Compilation.GetSpecialType(SpecialType.System_UInt32), pointerType)); 556operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.UIntAndPointerAddition, Compilation.GetSpecialType(SpecialType.System_UInt32), pointerType, pointerType)); 562operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndUIntSubtraction, pointerType, Compilation.GetSpecialType(SpecialType.System_UInt32), pointerType));
Binder\Semantics\Operators\OperatorFacts.cs (1)
53case SpecialType.System_UInt32:
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
154case SpecialType.System_UInt32: 172case SpecialType.System_UInt32:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3764case SpecialType.System_UInt32:
CodeGen\EmitArrayInitializer.cs (1)
805SpecialType.System_Int32 or SpecialType.System_UInt32 or SpecialType.System_Single or
CodeGen\EmitExpression.cs (1)
1352case SpecialType.System_UInt32:
CodeGen\EmitOperators.cs (1)
769case SpecialType.System_UInt32:
CodeGen\EmitStatement.cs (1)
1518var UInt32Type = Binder.GetSpecialType(_module.Compilation, SpecialType.System_UInt32, syntaxNode, _diagnostics);
Compilation\BuiltInOperators.cs (5)
269case UnaryOperatorKind.UInt: opType = _compilation.GetSpecialType(SpecialType.System_UInt32); break; 749case BinaryOperatorKind.UInt: return _compilation.GetSpecialType(SpecialType.System_UInt32); 781case BinaryOperatorKind.UInt: return _compilation.GetSpecialType(SpecialType.System_UInt32); 813case BinaryOperatorKind.UInt: return _compilation.GetSpecialType(SpecialType.System_UInt32); 840BinaryOperatorKind.UInt => _compilation.GetSpecialType(SpecialType.System_UInt32),
Compilation\CSharpCompilation.cs (2)
1727case SpecialType.System_UInt32: 4444=> type.SpecialType is SpecialType.System_Int32 or SpecialType.System_UInt32 or SpecialType.System_Int64 or SpecialType.System_UInt64;
Compiler\ClsComplianceChecker.cs (1)
1026case SpecialType.System_UInt32:
Compiler\MethodBodySynthesizer.Lowered.cs (2)
56LocalSymbol hashCode = F.SynthesizedLocal(F.SpecialType(SpecialType.System_UInt32)); 154LocalSymbol hashCode = F.SynthesizedLocal(F.SpecialType(SpecialType.System_UInt32));
FlowAnalysis\AbstractFlowPass.cs (1)
1467case SpecialType.System_UInt32:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
221SpecialType.System_Int32 or SpecialType.System_UInt32
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
948TypeSymbol returnType = _factory.SpecialType(SpecialType.System_UInt32);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
2347case SpecialType.System_UInt32: 2393case SpecialType.System_UInt32:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
1562case SpecialType.System_UInt32: 1583case SpecialType.System_UInt32: 1610case SpecialType.System_UInt32: 1636case SpecialType.System_UInt32: 1664case SpecialType.System_UInt32: return SpecialMember.System_Decimal__op_Explicit_ToUInt32; 1684case SpecialType.System_UInt32: return SpecialMember.System_Decimal__op_Implicit_FromUInt32;
Lowering\LocalRewriter\LocalRewriter_Literal.cs (1)
106arguments.Add(new BoundLiteral(syntax, ConstantValue.Create((uint)value), _compilation.GetSpecialType(SpecialType.System_UInt32)));
Lowering\LocalRewriter\LocalRewriter_PointerElementAccess.cs (1)
53case SpecialType.System_UInt32:
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
109TypeSymbol uintType = _factory.SpecialType(SpecialType.System_UInt32);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
932specialType = SpecialType.System_UInt32; 1040case SpecialType.System_UInt32:
Lowering\SyntheticBoundNodeFactory.cs (1)
723return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_UInt32)) { WasCompilerGenerated = true };
Parser\Lexer.cs (3)
363case SpecialType.System_UInt32: 1095info.ValueKind = SpecialType.System_UInt32; 1120info.ValueKind = SpecialType.System_UInt32;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
657case SpecialType.System_UInt32:
Symbols\Attributes\SourceAttributeData.cs (1)
382if (specType != SpecialType.System_UInt32)
Symbols\Compilation_WellKnownMembers.cs (1)
465var systemUnit32 = GetSpecialType(SpecialType.System_UInt32);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1923case SpecialType.System_UInt32:
Symbols\Source\SourceAssemblySymbol.cs (1)
2797case SpecialType.System_UInt32:
Symbols\SpecialTypeExtensions.cs (2)
23case SpecialType.System_UInt32: 44case SpecialType.System_UInt32:
Symbols\TypeSymbolExtensions.cs (5)
651case SpecialType.System_UInt32: 1350case SpecialType.System_UInt32: 1459case SpecialType.System_UInt32: 2223case SpecialType.System_UInt32: return 10; 2246case SpecialType.System_UInt32: return 25;
Syntax\SyntaxKindExtensions.cs (1)
30return SpecialType.System_UInt32;
Utilities\ValueSetFactory.cs (1)
42SpecialType.System_UInt32 => ForUInt,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
27case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
142if (value is uint && !IsSpecialType(type, SpecialType.System_UInt32))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
466Assert.Same(module.GetCorLibType(SpecialType.System_UInt32), method4ParamTypes[10]);
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\UIntKeywordRecommender.cs (1)
55protected override SpecialType SpecialType => SpecialType.System_UInt32;
Completion\Providers\DefaultArgumentProvider.cs (1)
46SpecialType.System_UInt32 => "0U",
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
99SpecialType.System_UInt32 => IsUnsignedBoundary(startValue, endValue, uint.MaxValue),
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
EditAndContinue\TopLevelEditingTests.cs (3)
20679SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_UInt32 }]).GetMethod), 20681SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_UInt32 }]).SetMethod)); 20709SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_UInt32 }]).GetMethod),
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
43case SpecialType.System_UInt32: return "uint";
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\UnsafeTests.cs (1)
10586{ SpecialType.System_UInt32, 4 },
Utilities\ValueSetTests.cs (1)
497Assert.Same(ForUInt, ForSpecialType(SpecialType.System_UInt32));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\GetSemanticInfoTests.cs (1)
381ConversionTestHelper(model, (v1 as CastExpressionSyntax).Expression, comp.GetSpecialType(SpecialType.System_UInt32), ConversionKind.ExplicitNumeric);
Symbols\Source\ClsComplianceTests.cs (1)
3185case SpecialType.System_UInt32:
Symbols\Source\EnumTests.cs (1)
694VerifyEnumsValue(comp, "c1.COLORS", SpecialType.System_UInt32, 0u, 1u, 2u);
Symbols\TypeTests.cs (1)
1547Assert.Same(comp.GetSpecialType(SpecialType.System_UInt32), memType.GetNullableUnderlyingType());
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3247case SpecialType.System_UInt32: 3441SpecialType.System_UInt32 => UIntKeyword,
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (9)
31SpecialType.System_UInt32, 40SpecialType.System_UInt32, 51SpecialType.System_UInt32, 65SpecialType.System_UInt32, 85SpecialType.System_UInt32, 98SpecialType.System_UInt32, 113SpecialType.System_UInt32, 128SpecialType.System_UInt32, 218SpecialType.System_UInt32 => s_uint32Conversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
45SpecialType.System_UInt32 => SyntaxKind.UIntKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
27case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
142if (value is uint && !IsSpecialType(type, SpecialType.System_UInt32))
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.cs (2)
297VerifySyntax<TypeSyntax>(Generator.TypeExpression(SpecialType.System_UInt32), "uint"); 2571var field = _emptyCompilation.GetSpecialType(SpecialType.System_UInt32).GetMembers(nameof(UInt32.MaxValue)).Single();
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
96(SpecialType.System_UInt32, uint uintVal) => ConstantValue.Create(uintVal),
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
88case SpecialType.System_UInt32:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
322return SpecialType.System_UInt32;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
55Assert.Equal(SpecialType.System_UInt32, SpecialTypes.GetTypeFromMetadataName(Cci.PrimitiveTypeCode.UInt32));
Microsoft.CodeAnalysis.VisualBasic (54)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
342SpecialType.System_UInt32,
Binding\Binder_Conversions.vb (1)
292Case SyntaxKind.CUIntKeyword : targetType = SpecialType.System_UInt32
Binding\Binder_Lookup.vb (1)
459Return SpecialType.System_UInt32
Binding\Binder_SelectCase.vb (1)
697SpecialType.System_UInt32,
Binding\Binder_Symbols.vb (1)
788type = SpecialType.System_UInt32
Binding\Binder_Utils.vb (2)
740specialType = SpecialType.System_UInt32 1380SpecialType.System_UInt32,
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
374type = SpecialType.System_UInt32
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (1)
58Dim hashCode As LocalSymbol = F.SynthesizedLocal(Me.ContainingAssembly.GetSpecialType(SpecialType.System_UInt32))
CodeGen\EmitStatement.vb (1)
1104Dim UInt32Type = DirectCast(_module.GetSpecialType(SpecialType.System_UInt32, syntaxNode, _diagnostics).GetInternalSymbol(), TypeSymbol)
Compilation\ClsComplianceChecker.vb (1)
632Case SpecialType.System_SByte, SpecialType.System_UInt16, SpecialType.System_UInt32, SpecialType.System_UInt64
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
487SpecialType.System_UInt32,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (5)
315Case SpecialType.System_UInt32 460Case SpecialType.System_UInt32 : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanUInt32 515Case SpecialType.System_UInt32 549Case SpecialType.System_UInt32 : specialHelper = SpecialMember.System_Decimal__op_Implicit_FromUInt32 589SpecialType.System_UInt32 : wellKnownHelper = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringUInt32
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
845Case SpecialType.System_UInt32 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToUIntegerObject 937SpecialType.System_UInt32 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringUInt32 1010Case SpecialType.System_UInt32 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToUIntegerString 1078Case SpecialType.System_UInt32 : member = SpecialMember.System_Decimal__CtorUInt32 1150Case SpecialType.System_UInt32 : member = WellKnownMember.System_Convert__ToUInt32Decimal
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
172Me.ReportBadType(selectCaseExpr, Compilation.GetSpecialType(SpecialType.System_UInt32))
Preprocessor\CConst.vb (2)
67Case SpecialType.System_UInt32 109Return New CConst(Of UInteger)(value, SpecialType.System_UInt32)
Preprocessor\ExpressionEvaluator.vb (6)
30Const ___UInt32 = CType(SpecialType.System_UInt32, Byte) 85Case SpecialType.System_UInt32 363Return SpecialType.System_UInt32 514specialType = SpecialType.System_UInt32 889Case SpecialType.System_UInt32 928Case SpecialType.System_UInt32
Preprocessor\OperatorResolution.vb (2)
44Case SpecialType.System_UInt32 90Const t_ui4 As Byte = CType(SpecialType.System_UInt32, Byte)
Semantics\Conversions.vb (1)
3344Case SpecialType.System_Int32, SpecialType.System_UInt32
Semantics\Operators.vb (4)
595SpecialType.System_UInt32, 628SpecialType.System_UInt32, 671Case SpecialType.System_UInt32 1733Const tUIn As SByte = SpecialType.System_UInt32
Symbols\Attributes\SourceAttributeData.vb (1)
225foundMatch = specType = SpecialType.System_UInt32
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1149SpecialType.System_UInt32,
Symbols\SpecialTypeExtensions.vb (10)
34SpecialType.System_UInt32, 59SpecialType.System_UInt32, 104SpecialType.System_UInt32, 126SpecialType.System_UInt32, 163Case SpecialType.System_UInt32 202Case SpecialType.System_UInt32 249Case SpecialType.System_UInt32 289Case SpecialType.System_UInt32 323Case SpecialType.System_Int32, SpecialType.System_UInt32 349Case SpecialType.System_UInt32
Symbols\SynthesizedSymbols\SynthesizedGlobal_StringSwitchHashMethodSymbol.vb (1)
35_returnType = compilation.GetSpecialType(SpecialType.System_UInt32)
Symbols\TypeSymbolExtensions.vb (1)
442Case SpecialType.System_UInt32
Symbols\WellKnownMembers.vb (1)
239Dim specialTypeUInt32 = GetSpecialType(SpecialType.System_UInt32)
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
200Case SpecialType.System_UInt32
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
383Case SpecialType.System_UInt32, SpecialType.System_Int32,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
83Return GenerateNonNegativeIntegralLiteralExpression(type, SpecialType.System_UInt32, DirectCast(value, UInteger), canUseFieldReference, LiteralSpecialValues.UInt32SpecialValues) 252ElseIf TypeOf value Is UInteger AndAlso Not IsSpecialType(type, SpecialType.System_UInt32) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
47Case specialType.System_UInt32 89specialType = specialType.System_UInt32 110SpecialType.System_UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
103SpecialType.System_UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
114Case SpecialType.System_UInt32
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EmitMetadata.vb (1)
529Assert.Same([Module].GetCorLibType(SpecialType.System_UInt32), method4ParamTypes(10))
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
99SpecialType.System_UInt32,
Completion\Providers\DefaultArgumentProvider.vb (1)
40Case SpecialType.System_UInt32
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
44Case SpecialType.System_UInt32
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Semantics\Conversions.vb (10)
238Dim uint32Type = c1.GetSpecialType(System_UInt32) 1090Dim uint32Type = c1.GetSpecialType(System_UInt32) 1354Case System_UInt32 : Return c.ToUInt32(Nothing) 1379Case System_UInt32 : Return UncheckedCUInt(val) 1395Case System_UInt32 : Return UncheckedCUInt(val) 1411Case System_UInt32 : Return UncheckedCUInt(UncheckedCLng(val)) 1428Case System_UInt32 : Return CUInt(value) 2049c1.GetSpecialType(System_UInt32), 2065nullable.Construct(c1.GetSpecialType(System_UInt32)), 2189Private Const s_UInteger = System_UInt32
Semantics\OverloadResolution.vb (2)
196Dim unsignedOne As BoundExpression = New BoundLiteral(_syntaxNode, ConstantValue.Create(1UI), c1.GetSpecialType(System_UInt32)) 2510System_Int32, System_UInt32, System_Int64, System_UInt64,
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
SymbolsTests\Source\ClsComplianceTests.vb (1)
2578Case SpecialType.System_SByte, SpecialType.System_UInt16, SpecialType.System_UInt32, SpecialType.System_UInt64, SpecialType.System_UIntPtr, SpecialType.System_TypedReference
SymbolsTests\Source\EnumTests.vb (1)
821VerifyEnumsValue(comp, "c1.COLORS", SpecialType.System_UInt32, 0UI, 1UI, 2UI)
SymbolsTests\Source\FieldTests.vb (1)
172Assert.Same(sourceMod.GetCorLibType(SpecialType.System_UInt32), fieldL.Type)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\ConstantExpressionEvaluatorTests.vb (1)
17Assert.Equal(ConstantValueTypeDiscriminator.UInt32, SpecialType.System_UInt32.ToConstantValueDiscriminator())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
419Case SpecialType.System_UInt32
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
31Case SpecialType.System_UInt32
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
383Case SpecialType.System_UInt32, SpecialType.System_Int32,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
83Return GenerateNonNegativeIntegralLiteralExpression(type, SpecialType.System_UInt32, DirectCast(value, UInteger), canUseFieldReference, LiteralSpecialValues.UInt32SpecialValues) 252ElseIf TypeOf value Is UInteger AndAlso Not IsSpecialType(type, SpecialType.System_UInt32) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
47Case specialType.System_UInt32 89specialType = specialType.System_UInt32 110SpecialType.System_UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
103SpecialType.System_UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
114Case SpecialType.System_UInt32
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.vb (2)
273VerifySyntax(Of TypeSyntax)(Generator.TypeExpression(SpecialType.System_UInt32), "UInteger") 2472Dim field = _emptyCompilation.GetSpecialType(SpecialType.System_UInt32).GetMembers(NameOf(UInt32.MaxValue)).Single()
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
311AddSpecialTypeSymbolAndItsAliases(nameof(UInt32), SpecialType.System_UInt32);
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
27case SpecialType.System_UInt32: 52case SpecialType.System_UInt32: 75case SpecialType.System_UInt32: 111case SpecialType.System_UInt32: 152case SpecialType.System_UInt32: 173case SpecialType.System_UInt32: 191case SpecialType.System_UInt32: 215case SpecialType.System_UInt32: 230case SpecialType.System_UInt32: 313return SpecialType.System_UInt32; 387SpecialType.System_UInt32 => (uint)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
295case SpecialType.System_UInt32: 392case SpecialType.System_UInt32: 663case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
23PredefinedType.UInt32 => SpecialType.System_UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
23SpecialType.System_UInt32 => PredefinedType.UInt32,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
65SpecialType.System_UInt32 => (uint)1,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
423case SpecialType.System_UInt32:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
462case SpecialType.System_UInt32:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
61SpecialType.System_UInt32 => true,
Microsoft.Interop.SourceGeneration (5)
ManagedTypeInfo.cs (1)
87public static readonly SpecialTypeInfo UInt32 = new("uint", "uint", SpecialType.System_UInt32);
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
46or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_UInt32 }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.U4 or UnmanagedType.Error, _) }
MarshallingAttributeInfo.cs (1)
133SpecialType.System_UInt32 => CreateWellKnownComExceptionMarshallingData($"{TypeNames.ExceptionAsHResultMarshaller}<uint>", unmanagedReturnType),
TypeSymbolExtensions.cs (2)
182or SpecialType.System_UInt32 197or SpecialType.System_UInt32
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
739case SpecialType.System_UInt32:
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
787Case SpecialType.System_UInt32
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