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)
178public MyCustomStruct CustomStructProperty { get; set; } 181public MyCustomStruct? CustomStructNullableProperty { get; set; } 188public Nullable<MyCustomStruct> CustomStructNullableProperty2 { get; set; } 231public static partial void LogMethodStruct(ILogger logger, [LogProperties] MyCustomStruct structParam); 234public static partial void LogMethodNullableStruct(ILogger logger, [LogProperties] in MyCustomStruct? structParam); 237public static partial void LogMethodExplicitNullableStruct(ILogger logger, [LogProperties] Nullable<MyCustomStruct> structParam);