2 instantiations of MyCustomStruct
Microsoft.Gen.Logging.Generated.Tests (2)
LogPropertiesTests.cs (2)
384var structToLog = new MyCustomStruct { LongProperty = 1L, NullableTransitiveStructProperty2 = transitiveStruct }; 414MyCustomStruct? structToLog = new MyCustomStruct { LongProperty = 1L, NullableTransitiveStructProperty = transitiveStruct };
8 references to MyCustomStruct
Microsoft.Gen.Logging.Generated.Tests (8)
LogPropertiesTests.cs (2)
384var structToLog = new MyCustomStruct { LongProperty = 1L, NullableTransitiveStructProperty2 = transitiveStruct }; 414MyCustomStruct? structToLog = new MyCustomStruct { LongProperty = 1L, NullableTransitiveStructProperty = transitiveStruct };
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesExtensions.cs (6)
179public MyCustomStruct CustomStructProperty { get; set; } 182public MyCustomStruct? CustomStructNullableProperty { get; set; } 189public Nullable<MyCustomStruct> CustomStructNullableProperty2 { get; set; } 232public static partial void LogMethodStruct(ILogger logger, [LogProperties] MyCustomStruct structParam); 235public static partial void LogMethodNullableStruct(ILogger logger, [LogProperties] in MyCustomStruct? structParam); 238public static partial void LogMethodExplicitNullableStruct(ILogger logger, [LogProperties] Nullable<MyCustomStruct> structParam);