105 references to Statics
mscorlib (105)
System\Diagnostics\Eventing\TraceLogging\EnumHelper.cs (2)
22
Statics
.GetDeclaredStaticMethod(typeof(EnumHelper<UnderlyingType>), "Identity");
37
(Transformer<ValueType>)
Statics
.CreateDelegate(
System\Diagnostics\Eventing\TraceLogging\FieldMetadata.cs (16)
51
variableCount ?
Statics
.InTypeVariableCountFlag : (byte)0,
70
Statics
.InTypeFixedCountFlag,
89
Statics
.InTypeCustomCountFlag,
113
Statics
.CheckName(name);
114
var coreType = (int)dataType &
Statics
.InTypeMask;
118
this.outType = (byte)(((int)dataType >> 8) &
Statics
.OutTypeMask);
144
this.outType |=
Statics
.OutTypeChainFlag;
149
this.inType |=
Statics
.InTypeChainFlag;
155
this.inType |=
Statics
.InTypeChainFlag;
157
if ((this.outType &
Statics
.OutTypeMask) == 0)
189
if (0 != (this.inType &
Statics
.InTypeChainFlag))
198
if (0 != (this.outType &
Statics
.OutTypeChainFlag))
200
Statics
.EncodeTags((int)this.tags, ref pos, metadata);
205
if (0 != (this.inType &
Statics
.InTypeFixedCountFlag))
215
if (
Statics
.InTypeCustomCountFlag == (this.inType &
Statics
.InTypeCountMask) &&
System\Diagnostics\Eventing\TraceLogging\NameInfo.cs (6)
34
private static int lastIdentity =
Statics
.TraceLoggingChannel << 24;
43
this.tags = tags &
Statics
.EventTagsMask;
47
Statics
.EncodeTags((int)this.tags, ref tagsPos, null);
49
this.nameMetadata =
Statics
.MetadataForString(name, tagsPos, 0, typeMetadataSize);
52
Statics
.EncodeTags((int)this.tags, ref tagsPos, this.nameMetadata);
62
return this.Compare(key.Key, key.Value &
Statics
.EventTagsMask);
System\Diagnostics\Eventing\TraceLogging\PropertyAccessor.cs (3)
30
if (!
Statics
.IsValueType(typeof(ContainerType)))
97
this.getter = (Getter)
Statics
.CreateDelegate(
134
this.getter = (Getter)
Statics
.CreateDelegate(
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (47)
53
collector.AddScalar(name,
Statics
.Format8(format, TraceLoggingDataType.Boolean8));
73
collector.AddScalar(name,
Statics
.Format8(format, TraceLoggingDataType.UInt8));
93
collector.AddScalar(name,
Statics
.Format8(format, TraceLoggingDataType.Int8));
113
collector.AddScalar(name,
Statics
.Format16(format, TraceLoggingDataType.Int16));
133
collector.AddScalar(name,
Statics
.Format16(format, TraceLoggingDataType.UInt16));
153
collector.AddScalar(name,
Statics
.Format32(format, TraceLoggingDataType.Int32));
173
collector.AddScalar(name,
Statics
.Format32(format, TraceLoggingDataType.UInt32));
193
collector.AddScalar(name,
Statics
.Format64(format, TraceLoggingDataType.Int64));
213
collector.AddScalar(name,
Statics
.Format64(format, TraceLoggingDataType.UInt64));
233
collector.AddScalar(name,
Statics
.FormatPtr(format,
Statics
.IntPtrType));
253
collector.AddScalar(name,
Statics
.FormatPtr(format,
Statics
.UIntPtrType));
273
collector.AddScalar(name,
Statics
.Format64(format, TraceLoggingDataType.Double));
293
collector.AddScalar(name,
Statics
.Format32(format, TraceLoggingDataType.Float));
313
collector.AddScalar(name,
Statics
.Format16(format, TraceLoggingDataType.Char16));
337
collector.AddArray(name,
Statics
.Format8(format, TraceLoggingDataType.Boolean8));
360
collector.AddBinary(name,
Statics
.MakeDataType(TraceLoggingDataType.Binary, format));
405
collector.AddArray(name,
Statics
.Format8(format, TraceLoggingDataType.Int8));
425
collector.AddArray(name,
Statics
.Format16(format, TraceLoggingDataType.Int16));
445
collector.AddArray(name,
Statics
.Format16(format, TraceLoggingDataType.UInt16));
465
collector.AddArray(name,
Statics
.Format32(format, TraceLoggingDataType.Int32));
485
collector.AddArray(name,
Statics
.Format32(format, TraceLoggingDataType.UInt32));
505
collector.AddArray(name,
Statics
.Format64(format, TraceLoggingDataType.Int64));
525
collector.AddArray(name,
Statics
.Format64(format, TraceLoggingDataType.UInt64));
545
collector.AddArray(name,
Statics
.FormatPtr(format,
Statics
.IntPtrType));
565
collector.AddArray(name,
Statics
.FormatPtr(format,
Statics
.UIntPtrType));
585
collector.AddArray(name,
Statics
.Format16(format, TraceLoggingDataType.Char16));
605
collector.AddArray(name,
Statics
.Format64(format, TraceLoggingDataType.Double));
625
collector.AddArray(name,
Statics
.Format32(format, TraceLoggingDataType.Float));
646
collector.AddScalar(name,
Statics
.Format8(format, TraceLoggingDataType.UInt8));
668
collector.AddScalar(name,
Statics
.Format8(format, TraceLoggingDataType.Int8));
690
collector.AddScalar(name,
Statics
.Format16(format, TraceLoggingDataType.Int16));
712
collector.AddScalar(name,
Statics
.Format16(format, TraceLoggingDataType.UInt16));
734
collector.AddScalar(name,
Statics
.Format32(format, TraceLoggingDataType.Int32));
756
collector.AddScalar(name,
Statics
.Format32(format, TraceLoggingDataType.UInt32));
778
collector.AddScalar(name,
Statics
.Format64(format, TraceLoggingDataType.Int64));
800
collector.AddScalar(name,
Statics
.Format64(format, TraceLoggingDataType.UInt64));
829
collector.AddBinary(name,
Statics
.MakeDataType(TraceLoggingDataType.CountedUtf16String, format));
858
collector.AddScalar(name,
Statics
.MakeDataType(TraceLoggingDataType.Guid, format));
878
collector.AddArray(name,
Statics
.MakeDataType(TraceLoggingDataType.Guid, format));
898
collector.AddScalar(name,
Statics
.MakeDataType(TraceLoggingDataType.FileTime, format));
917
group.AddScalar("Ticks",
Statics
.MakeDataType(TraceLoggingDataType.FileTime, format));
940
collector.AddScalar(name,
Statics
.MakeDataType(TraceLoggingDataType.Int64, format));
960
collector.AddScalar(name,
Statics
.MakeDataType(TraceLoggingDataType.Double, format));
System\Diagnostics\Eventing\TraceLogging\Statics.cs (5)
88
Statics
.CheckName(name);
568
var getInstanceInfo =
Statics
.GetDeclaredStaticMethod(
591
var eventAttrib =
Statics
.GetCustomAttribute<EventDataAttribute>(dataType);
593
Statics
.GetCustomAttribute<CompilerGeneratedAttribute>(dataType) != null)
668
else if (
Statics
.IsEnum(dataType))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (2)
763
providerMetadata =
Statics
.MetadataForString(this.Name, 0, traitMetaData.Count, 0);
769
providerMetadata =
Statics
.MetadataForString(this.Name, 0, 0, 0);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (9)
101
this.level =
Statics
.DefaultLevel;
107
this.level =
Statics
.Combine((int)typeInfo.Level, this.level);
108
this.opcode =
Statics
.Combine((int)typeInfo.Opcode, this.opcode);
111
if (
Statics
.ShouldOverrideFieldName(paramName))
139
this.level =
Statics
.DefaultLevel;
144
this.level =
Statics
.Combine((int)typeInfo.Level, this.level);
145
this.opcode =
Statics
.Combine((int)typeInfo.Opcode, this.opcode);
220
result[i] =
Statics
.GetTypeInfoInstance(paramInfos[i].ParameterType, recursionCheck);
239
result[i] =
Statics
.GetTypeInfoInstance(types[i], recursionCheck);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingMetadataCollector.cs (3)
124
switch ((TraceLoggingDataType)((int)type &
Statics
.InTypeMask))
175
switch ((TraceLoggingDataType)((int)type &
Statics
.InTypeMask))
203
switch ((TraceLoggingDataType)((int)type &
Statics
.InTypeMask))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo.cs (1)
62
Statics
.CheckName(name);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo_T.cs (1)
145
var newInstance =
Statics
.CreateDefaultTypeInfo<DataType>(recursionCheck);
System\Diagnostics\Eventing\TraceLogging\TypeAnalysis.cs (10)
29
var propertyInfos =
Statics
.GetProperties(dataType);
34
if (
Statics
.HasCustomAttribute(propertyInfo, typeof(EventIgnoreAttribute)))
45
MethodInfo getterInfo =
Statics
.GetGetMethod(propertyInfo);
57
var propertyTypeInfo =
Statics
.GetTypeInfoInstance(propertyType, recursionCheck);
58
var fieldAttribute =
Statics
.GetCustomAttribute<EventFieldAttribute>(propertyInfo);
63
:
Statics
.ShouldOverrideFieldName(propertyInfo.Name)
78
this.level = (EventLevel)
Statics
.Combine((int)typeInfo.Level, (int)this.level);
79
this.opcode = (EventOpcode)
Statics
.Combine((int)typeInfo.Opcode, (int)this.opcode);
86
this.level = (EventLevel)
Statics
.Combine((int)eventAttrib.Level, (int)this.level);
87
this.opcode = (EventOpcode)
Statics
.Combine((int)eventAttrib.Opcode, (int)this.opcode);