8 instantiations of ClassToLog
Microsoft.Gen.Logging.Generated.Tests (8)
LogPropertiesTests.cs (1)
360var classToLog = new ClassToLog { MyIntProperty = 0 };
TagProviderTests.cs (7)
52var classToLog = new ClassToLog { MyIntProperty = 0 }; 77var classToLog = new ClassToLog { MyIntProperty = ushort.MaxValue }; 100var classToLog = new ClassToLog { MyIntProperty = ushort.MaxValue }; 242var classToLog = new ClassToLog { MyIntProperty = 0 }; 326var classToLog = new ClassToLog { MyIntProperty = 0 }; 352var classToLog1 = new ClassToLog { MyIntProperty = 1 }; 353var classToLog2 = new ClassToLog { MyIntProperty = -1 };
23 references to ClassToLog
Microsoft.Gen.Logging.Generated.Tests (23)
LogPropertiesTests.cs (1)
360var classToLog = new ClassToLog { MyIntProperty = 0 };
TagProviderTests.cs (7)
52var classToLog = new ClassToLog { MyIntProperty = 0 }; 77var classToLog = new ClassToLog { MyIntProperty = ushort.MaxValue }; 100var classToLog = new ClassToLog { MyIntProperty = ushort.MaxValue }; 242var classToLog = new ClassToLog { MyIntProperty = 0 }; 326var classToLog = new ClassToLog { MyIntProperty = 0 }; 352var classToLog1 = new ClassToLog { MyIntProperty = 1 }; 353var classToLog2 = new ClassToLog { MyIntProperty = -1 };
test\Generators\Microsoft.Gen.Logging\TestClasses\NonStaticTestClass.cs (3)
32internal partial void LogProperties(string p0, [LogProperties] ClassToLog p1); 37[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideTags))] ClassToLog p1); 48[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideTags))] ClassToLog p1);
test\Generators\Microsoft.Gen.Logging\TestClasses\TagProviderExtensions.cs (12)
17[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideTags))] ClassToLog param); 33[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideTags))] ClassToLog param, 34[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideOtherTags))] ClassToLog param2); 39[LogProperties] ClassToLog param1, 40[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideTags))] ClassToLog param2); 46[TagProvider(typeof(CustomProvider), nameof(CustomProvider.ProvideTags))] ClassToLog param); 63public static void ProvideTags(ITagCollector list, ClassToLog? param) 71list.Add(nameof(ClassToLog.MyIntProperty), param.MyIntProperty); 88public static void ProvideOtherTags(ITagCollector list, ClassToLog? param) 91list.Add(nameof(ClassToLog.MyIntProperty) + "_test", param?.MyIntProperty); 96list.Add(nameof(ClassToLog.MyIntProperty), param.MyIntProperty); 102list.Add(nameof(ClassToLog.MyIntProperty), param.MyIntProperty);