158 references to SizeOf
GenerateDocumentationAndConfigFiles (8)
Metrics (5)
Metrics.Legacy (5)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.Collections.Package (8)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (10)
Emit\LocalStateTracing\LocalStateTracingTests.cs (10)
1324yield return new object[] { "", "nint", "IntPtr", Unsafe.SizeOf<nint>() };
1325yield return new object[] { "", "nuint", "UIntPtr", Unsafe.SizeOf<nuint>() };
1326yield return new object[] { "", "System.Int128", "'[System.Runtime]System.Int128'", Unsafe.SizeOf<Int128>() };
1327yield return new object[] { "", "System.Guid", "'[System.Runtime]System.Guid'", Unsafe.SizeOf<Guid>() };
1328yield return new object[] { "", "System.ValueTuple<int, bool>", "'[System.Runtime]System.ValueTuple`2<int32,bool>'", Unsafe.SizeOf<(int, bool)>() };
1329yield return new object[] { "struct S { }", "S", "'S'", Unsafe.SizeOf<S1>() };
1330yield return new object[] { "struct S<T> where T : struct { T t; }", "S<int>", "'S`1<int32>'", Unsafe.SizeOf<S2<int>>() };
1331yield return new object[] { "struct S { System.DateTime X; System.Guid Y; decimal Z; unsafe void* P; }", "S", "'S'", Unsafe.SizeOf<S3>() };
1332yield return new object[] { "", "System.ValueTuple<int?, bool?>", "'[System.Runtime]System.ValueTuple`2<System.Nullable`1<int32>,System.Nullable`1<bool>>'", Unsafe.SizeOf<(int?, bool?)>() };
1333yield return new object[] { "", "int?", "'[System.Runtime]System.Nullable`1<int32>'", Unsafe.SizeOf<int?>() };
Microsoft.CodeAnalysis.Extensions.Package (5)
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Threading.Package (8)
Microsoft.CodeAnalysis.Workspaces (8)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
Microsoft.Data.Analysis (3)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.Extensions.Compliance.Abstractions (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Telemetry (2)
PresentationCore (2)
PresentationUI (1)
Roslyn.Diagnostics.Analyzers (5)
Shared (2)
System.Formats.Nrbf (1)
System.Private.CoreLib (6)
System.Private.Windows.Core (2)
System.Text.Json (1)
Test.Utilities (8)
Text.Analyzers (5)