43 references to GetInt32
Aspire.Hosting.PostgreSQL.Tests (2)
AddPostgresTests.cs (2)
479Assert.Equal(5432, servers.GetProperty("1").GetProperty("Port").GetInt32()); 489Assert.Equal(5432, servers.GetProperty("2").GetProperty("Port").GetInt32());
dotnet-user-jwts (1)
Helpers\DevJwtCliHelpers.cs (1)
96iisUrls.Add($"https://localhost:{sslPort.GetInt32()}");
Microsoft.AspNetCore.Components.Web (3)
WebEventData\ErrorEventArgsReader.cs (2)
29eventArgs.Colno = property.Value.GetInt32(); 37eventArgs.Lineno = property.Value.GetInt32();
WebEventData\WebEventDescriptorReader.cs (1)
57eventFieldInfo.ComponentId = property.Value.GetInt32();
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
183tabToRedirect = hasBrowserId ? browserIdInTab.GetInt32() : -1;
Microsoft.AspNetCore.Components.WebView (2)
IpcReceiver.cs (2)
58ReceiveByteArrayFromJS(pageContext, args[0].GetInt32(), args[1].GetBytesFromBase64()); 67OnLocationChanging(pageContext, args[0].GetInt32(), args[1].GetString(), args[2].GetString(), args[3].GetBoolean());
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\AssertHelpers.cs (1)
23Assert.Equal(componentId, args[0].GetInt32());
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (14)
ServerStreamingServerCallHandlerTests.cs (3)
117Assert.Equal(2, responseJson2.RootElement.GetProperty("code").GetInt32()); 159Assert.Equal((int)StatusCode.Aborted, responseJson2.RootElement.GetProperty("code").GetInt32()); 196Assert.Equal(2, responseJson.RootElement.GetProperty("code").GetInt32());
UnaryServerCallHandlerTests.cs (11)
750Assert.Equal((int)StatusCode.InvalidArgument, responseJson.RootElement.GetProperty("code").GetInt32()); 788Assert.Equal((int)StatusCode.InvalidArgument, responseJson.RootElement.GetProperty("code").GetInt32()); 818Assert.Equal((int)StatusCode.InvalidArgument, responseJson.RootElement.GetProperty("code").GetInt32()); 842Assert.Equal((int)StatusCode.Unauthenticated, responseJson.RootElement.GetProperty("code").GetInt32()); 867Assert.Equal((int)StatusCode.Unauthenticated, responseJson.RootElement.GetProperty("code").GetInt32()); 933Assert.Equal(123, responseJson.RootElement.GetProperty("code").GetInt32()); 1011Assert.Equal(123, responseJson.RootElement.GetProperty("code").GetInt32()); 1054Assert.Equal((int)StatusCode.Unknown, responseJson.RootElement.GetProperty("code").GetInt32()); 1084Assert.Equal((int)StatusCode.Unknown, responseJson.RootElement.GetProperty("code").GetInt32()); 1113Assert.Equal((int)StatusCode.Unauthenticated, responseJson.RootElement.GetProperty("code").GetInt32()); 1476Assert.Equal((int)StatusCode.Unknown, responseJson.RootElement.GetProperty("code").GetInt32());
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HttpValidationProblemDetailsJsonConverterTest.cs (1)
37Assert.Equal(problemDetails.Status, document.RootElement.GetProperty("status").GetInt32());
Microsoft.AspNetCore.Identity.FunctionalTests (3)
MapIdentityApiTests.cs (3)
845Assert.Equal(10, enable2faContent.GetProperty("recoveryCodesLeft").GetInt32()); 867Assert.Equal(8, updated2faContent.GetProperty("recoveryCodesLeft").GetInt32()); 876Assert.Equal(10, resetRecoveryContent.GetProperty("recoveryCodesLeft").GetInt32());
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Infrastructure\DefaultTempDataSerializer.cs (2)
40deserializedValue = item.Value.GetInt32(); 108array.Add(item.GetInt32());
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (7)
HttpsTests.cs (7)
164var protocol = (SslProtocols)result.GetProperty("protocol").GetInt32(); 169var cipherAlgorithm = (CipherAlgorithmType)result.GetProperty("cipherAlgorithm").GetInt32(); 173var cipherStrength = result.GetProperty("cipherStrength").GetInt32(); 177var hashAlgorithm = (HashAlgorithmType)result.GetProperty("hashAlgorithm").GetInt32(); 181var hashStrength = result.GetProperty("hashStrength").GetInt32(); 185var keyExchangeAlgorithm = (ExchangeAlgorithmType)result.GetProperty("keyExchangeAlgorithm").GetInt32(); 189var keyExchangeStrength = result.GetProperty("keyExchangeStrength").GetInt32();
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
315result.Append(item.GetInt32());
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Converters\ParameterInformationConverter.cs (2)
27parameter.Label = new Tuple<int, int>(labelElement[0].GetInt32(), labelElement[1].GetInt32());
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (1)
28var style = (ClassifiedTextRunStyle)(data.GetProperty(nameof(ClassifiedTextRun.Style)).GetInt32());
Protocol\Internal\Converters\ImageIdConverter.cs (1)
27var id = root.GetProperty(nameof(ImageId.Id)).GetInt32();
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAISerializationTests.cs (1)
426Assert.Equal(42, Assert.IsType<JsonElement>(frc.Result).GetInt32());