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