371 references to System_UInt32
Aspire.Hosting.Azure.Provisioning.Generators (1)
AspireProvisioningProxyGenerator.cs (1)
2679SpecialType.System_UInt32 or
Aspire.Hosting.Integration.Analyzers (1)
AspireExportAnalyzer.cs (1)
2293SpecialType.System_UInt32 => true,
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
282case SpecialType.System_UInt32:
GenerateDocumentationAndConfigFiles (24)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
35case SpecialType.System_UInt32:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
30or SpecialType.System_UInt32
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
443case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
458case SpecialType.System_UInt32:
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
564case SpecialType.System_UInt32 when constantValue is uint uint32ConstantValue:
Microsoft.Build.TaskAuthoring.Analyzer (2)
SupportedTaskItemTypes.cs (2)
33new SupportedSpecialType(SpecialType.System_UInt32, "uint"), 69SpecialType.System_UInt32 or
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)
332(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 634(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 721(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 1022(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32, 1047(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_UInt32,
SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
SpecialTypes.cs (2)
123s_typeIdToTypeCodeMap[(int)SpecialType.System_UInt32] = Microsoft.Cci.PrimitiveTypeCode.UInt32; 147s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.UInt32] = SpecialType.System_UInt32;
Symbols\Attributes\CommonAttributeData.cs (6)
227Debug.Assert(parameters[2].Type.SpecialType == SpecialType.System_UInt32); 228Debug.Assert(parameters[3].Type.SpecialType == SpecialType.System_UInt32); 229Debug.Assert(parameters[4].Type.SpecialType == SpecialType.System_UInt32); 231high = unchecked((int)args[2].DecodeValue<uint>(SpecialType.System_UInt32)); 232mid = unchecked((int)args[3].DecodeValue<uint>(SpecialType.System_UInt32)); 233low = 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.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
381or SpecialType.System_UInt32
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
35case SpecialType.System_UInt32:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
30or SpecialType.System_UInt32
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
443case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
458case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.AnalyzerUtilities (24)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
381or SpecialType.System_UInt32
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
35case SpecialType.System_UInt32:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
30or SpecialType.System_UInt32
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (3)
53case SpecialType.System_UInt32: 319case SpecialType.System_UInt32: 352case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
Microsoft.CodeAnalysis.CodeStyle (18)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
443case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
458case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.CSharp (86)
Binder\Binder_Conversions.cs (15)
4012case SpecialType.System_UInt32: return (uint)byteValue; 4032case SpecialType.System_UInt32: return (uint)charValue; 4052case SpecialType.System_UInt32: return (uint)uint16Value; 4072case SpecialType.System_UInt32: return (uint)uint32Value; 4092case SpecialType.System_UInt32: return (uint)uint64Value; 4112case SpecialType.System_UInt32: return (uint)nuintValue; 4131case SpecialType.System_UInt32: return (uint)sbyteValue; 4151case SpecialType.System_UInt32: return (uint)int16Value; 4171case SpecialType.System_UInt32: return (uint)int32Value; 4191case SpecialType.System_UInt32: return (uint)int64Value; 4211case SpecialType.System_UInt32: return (uint)nintValue; 4235case SpecialType.System_UInt32: return (uint)doubleValue; 4255case SpecialType.System_UInt32: return (uint)decimalValue; 4306case SpecialType.System_UInt32: return (uint.MinValue - 1D) < value && value < (uint.MaxValue + 1D); 4336case SpecialType.System_UInt32: return (uint.MinValue - 1M) < value && value < (uint.MaxValue + 1M);
Binder\Binder_Expressions.cs (3)
4859Debug.Assert(type == SpecialType.System_UInt32 || type == SpecialType.System_UInt64); 7526case SpecialType.System_UInt32: 10740TryImplicitConversionToArrayIndex(index, SpecialType.System_UInt32, node, diagnostics) ??
Binder\Binder_Operators.cs (1)
2667case SpecialType.System_UInt32:
Binder\Binder_Patterns.cs (1)
2060SpecialType.System_UInt32 => BinaryOperatorKind.UInt,
Binder\DecisionDagBuilder.cs (6)
2733case (SpecialType.System_Int32, SpecialType.System_UInt32): 2734case (SpecialType.System_UInt32, SpecialType.System_Int32): 2745case (SpecialType.System_UInt32, SpecialType.System_IntPtr): 2746case (SpecialType.System_UInt32, SpecialType.System_UIntPtr): 2748case (SpecialType.System_IntPtr, SpecialType.System_UInt32): 2750case (SpecialType.System_UIntPtr, SpecialType.System_UInt32):
Binder\PatternExplainer.cs (2)
866SpecialType.System_UInt32 => true, 891case SpecialType.System_UInt32:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1394case SpecialType.System_UInt32: 2123case SpecialType.System_UInt32: 2208case SpecialType.System_UInt32: 3951case SpecialType.System_UInt32:
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (3)
565operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndUIntAddition, pointerType, Compilation.GetSpecialType(SpecialType.System_UInt32), pointerType)); 569operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.UIntAndPointerAddition, Compilation.GetSpecialType(SpecialType.System_UInt32), pointerType, pointerType)); 575operators.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)
3842case SpecialType.System_UInt32:
CodeGen\EmitArrayInitializer.cs (1)
803SpecialType.System_Int32 or SpecialType.System_UInt32 or SpecialType.System_Single or
CodeGen\EmitExpression.cs (1)
1357case SpecialType.System_UInt32:
CodeGen\EmitOperators.cs (1)
769case SpecialType.System_UInt32:
CodeGen\EmitStatement.cs (1)
1551var 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 (1)
4656=> 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)
1468case SpecialType.System_UInt32:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
221SpecialType.System_Int32 or SpecialType.System_UInt32
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
2366case SpecialType.System_UInt32: 2412case SpecialType.System_UInt32:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
1676case SpecialType.System_UInt32: 1697case SpecialType.System_UInt32: 1724case SpecialType.System_UInt32: 1750case SpecialType.System_UInt32: 1778case SpecialType.System_UInt32: return SpecialMember.System_Decimal__op_Explicit_ToUInt32; 1798case 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)
1093specialType = SpecialType.System_UInt32; 1201case SpecialType.System_UInt32:
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
956TypeSymbol returnType = _factory.SpecialType(SpecialType.System_UInt32);
Lowering\SyntheticBoundNodeFactory.cs (1)
778return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_UInt32)) { WasCompilerGenerated = true };
Parser\Lexer.cs (3)
352case SpecialType.System_UInt32: 1079info.ValueKind = SpecialType.System_UInt32; 1104info.ValueKind = SpecialType.System_UInt32;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
702case SpecialType.System_UInt32:
Symbols\Attributes\SourceAttributeData.cs (1)
382if (specType != SpecialType.System_UInt32)
Symbols\Compilation_WellKnownMembers.cs (1)
471var systemUnit32 = GetSpecialType(SpecialType.System_UInt32);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2509case SpecialType.System_UInt32:
Symbols\Source\SourceAssemblySymbol.cs (1)
2819case SpecialType.System_UInt32:
Symbols\SpecialTypeExtensions.cs (2)
23case SpecialType.System_UInt32: 44case SpecialType.System_UInt32:
Symbols\TypeSymbolExtensions.cs (5)
692case SpecialType.System_UInt32: 1435case SpecialType.System_UInt32: 1544case SpecialType.System_UInt32: 2318case SpecialType.System_UInt32: return 10; 2341case SpecialType.System_UInt32: return 25;
Syntax\SyntaxKindExtensions.cs (1)
30return SpecialType.System_UInt32;
Utilities\ValueSetFactory.cs (1)
43SpecialType.System_UInt32 => ForUInt,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
27case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
148if (value is uint && !IsSpecialType(type, SpecialType.System_UInt32))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
282case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\UIntKeywordRecommender.cs (1)
50protected override SpecialType SpecialType => SpecialType.System_UInt32;
Completion\Providers\DefaultArgumentProvider.cs (1)
46SpecialType.System_UInt32 => "0U",
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
98SpecialType.System_UInt32 => IsUnsignedBoundary(startValue, endValue, uint.MaxValue),
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
43case SpecialType.System_UInt32: return "uint";
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3523SpecialType.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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
27case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
148if (value is uint && !IsSpecialType(type, SpecialType.System_UInt32))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
282case SpecialType.System_UInt32:
Microsoft.CodeAnalysis.Extensions.Package (16)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
Microsoft.CodeAnalysis.NetAnalyzers (17)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\Helpers\EnumHelpers.cs (1)
36case SpecialType.System_UInt32:
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UseIntegralOrStringArgumentForIndexers.cs (1)
45SpecialType.System_UInt32,
Microsoft.CodeQuality.Analyzers\Maintainability\DoNotIgnoreMethodResults.cs (1)
346method.ReturnType.SpecialType == SpecialType.System_UInt32);
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (3)
266SpecialType.System_UInt32 => true, 306case SpecialType.System_UInt32: 358case SpecialType.System_UInt32:
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAnyAnalyzer.cs (2)
153.Any(property => property.Type.SpecialType is SpecialType.System_Int32 or SpecialType.System_UInt32); 162.Any(property => property.Type.SpecialType is SpecialType.System_Int32 or SpecialType.System_UInt32);
Microsoft.NetCore.Analyzers\Performance\UseCountProperly.cs (1)
730case SpecialType.System_UInt32:
Microsoft.NetCore.Analyzers\Runtime\DoNotLockOnObjectsWithWeakIdentity.cs (1)
137or SpecialType.System_UInt32
Microsoft.NetCore.Analyzers\Runtime\PreventNumericIntPtrUIntPtrBehavioralChanges.cs (1)
184convertingType?.SpecialType == SpecialType.System_UInt32 &&
src\440320f3f10733a8\ValueContentAbstractValue.cs (3)
52case SpecialType.System_UInt32: 318case SpecialType.System_UInt32: 351case SpecialType.System_UInt32:
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
380or SpecialType.System_UInt32
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\DiagnosticHelpers.cs (1)
34case SpecialType.System_UInt32:
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
36or SpecialType.System_UInt32
Microsoft.CodeAnalysis.ResxSourceGenerator (21)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
381or SpecialType.System_UInt32
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
35case SpecialType.System_UInt32:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
30or SpecialType.System_UInt32
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
87case SpecialType.System_UInt32:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
321return SpecialType.System_UInt32;
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\BasicForwardCancellationTokenToInvocationsFixer.TypeNameVisitor.vb (2)
150Case SpecialType.System_UInt32 248SpecialType.System_UInt32,
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
310AddSpecialTypeSymbolAndItsAliases(nameof(UInt32), SpecialType.System_UInt32);
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
443case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
458case SpecialType.System_UInt32:
Microsoft.Diagnostics.DataContractReader.DataGenerator (1)
Parser.cs (1)
482SpecialType.System_UInt32 => "uint32",
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
ConfigurationBindingGenerator.Parser.cs (1)
286case SpecialType.System_UInt32:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
61SpecialType.System_UInt32 => true,
Microsoft.Interop.SourceGeneration (5)
ManagedTypeInfo.cs (1)
78public 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)
175SpecialType.System_UInt32 => CreateWellKnownComExceptionMarshallingData($"{TypeNames.ExceptionAsHResultMarshaller}<uint>", unmanagedReturnType),
TypeSymbolExtensions.cs (2)
175or SpecialType.System_UInt32 190or SpecialType.System_UInt32
Roslyn.Diagnostics.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\SpecialTypeExtensions.cs (11)
28case SpecialType.System_UInt32: 53case SpecialType.System_UInt32: 76case SpecialType.System_UInt32: 112case SpecialType.System_UInt32: 153case SpecialType.System_UInt32: 174case SpecialType.System_UInt32: 192case SpecialType.System_UInt32: 216case SpecialType.System_UInt32: 231case SpecialType.System_UInt32: 312return SpecialType.System_UInt32; 385SpecialType.System_UInt32 => (uint)value,
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
381or SpecialType.System_UInt32
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DiagnosticHelpers.cs (1)
35case SpecialType.System_UInt32:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (1)
30or SpecialType.System_UInt32
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_UInt32 => (uint)1,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IntegerUtilities.cs (1)
68SpecialType.System_UInt32 => unchecked((uint)v),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
292case SpecialType.System_UInt32: 395case SpecialType.System_UInt32: 665case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\PredefinedTypeExtensions.cs (2)
25PredefinedType.UInt32 => SpecialType.System_UInt32, 50SpecialType.System_UInt32 => PredefinedType.UInt32,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
141SpecialType.System_UInt32 => value is uint,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
24case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
443case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
458case SpecialType.System_UInt32:
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
27case SpecialType.System_UInt32:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
148if (value is uint && !IsSpecialType(type, SpecialType.System_UInt32))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
282case SpecialType.System_UInt32:
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)
1937SpecialType.System_Int32 or SpecialType.System_UInt32 or