3 types derived from BlobBuilder
Microsoft.CodeAnalysis (1)
System.Reflection.Metadata (2)
72 instantiations of BlobBuilder
Microsoft.CodeAnalysis (20)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (13)
System.Reflection.Emit (15)
System.Reflection.Metadata (8)
404 references to BlobBuilder
Microsoft.CodeAnalysis (79)
PEWriter\MetadataWriter.cs (16)
1695var ilBuilder = new BlobBuilder(1024);
1696var metadataBuilder = new BlobBuilder(4 * 1024);
1760var portablePdbBlob = new BlobBuilder();
1776BlobBuilder ilBuilder,
1911private void PopulateTypeSystemTables(int[] methodBodyOffsets, out PooledBlobBuilder? mappedFieldDataWriter, out PooledBlobBuilder? resourceWriter, BlobBuilder? dynamicAnalysisData, out Blob mvidFixup)
2510private void PopulateManifestResourceTableRows(out PooledBlobBuilder? resourceDataWriter, BlobBuilder? dynamicAnalysisData)
2562static uint writeBuilderResourceAndGetOffset(BlobBuilder resource, BlobBuilder resourceWriter)
2904private int[] SerializeThrowNullMethodBodies(BlobBuilder ilBuilder)
2933private int[] SerializeMethodBodies(BlobBuilder ilBuilder, PdbWriter nativePdbWriterOpt, out Blob mvidStringFixup)
3423private void SerializeFieldSignature(IFieldReference fieldReference, BlobBuilder builder)
3438private void SerializeMethodSpecificationSignature(BlobBuilder builder, IGenericMethodInstanceReference genericMethodInstanceReference)
3463private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3593private void SerializeMarshallingDescriptor(IMarshallingInformation marshallingInformation, BlobBuilder writer)
3687private void SerializeTypeName(ITypeReference typeReference, BlobBuilder writer)
3742private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
PEWriter\NativeResourceWriter.cs (5)
171public static void SerializeWin32Resources(BlobBuilder builder, IEnumerable<IWin32Resource> theResources, int resourcesRva)
230var dataWriter = new BlobBuilder();
239private static void WriteDirectory(Directory directory, BlobBuilder writer, uint offset, uint level, uint sizeOfDirectoryTree, int virtualAddressBase, BlobBuilder dataWriter)
353public static void SerializeWin32Resources(BlobBuilder builder, ResourceSection resourceSections, int resourcesRva)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.Debugging.Package (3)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.UnitTests (13)
Microsoft.CodeAnalysis.VisualBasic (3)
System.Reflection.Emit (49)
System\Reflection\Emit\ModuleBuilderImpl.cs (16)
117internal void AppendMetadata(MethodBodyStreamEncoder methodBodyEncoder, BlobBuilder fieldDataBuilder, out MetadataBuilder pdbBuilder)
433BlobBuilder spBlobBuilder = new BlobBuilder();
448BlobBuilder spBlobBuilder = new BlobBuilder();
472private static void PopulateSequencePointsBlob(BlobBuilder spBlobBuilder, List<SequencePoint> sequencePoints, ref int previousNonHiddenStartLine, ref int previousNonHiddenStartColumn)
559BlobBuilder importBlob = new BlobBuilder();
570private static void SerializeDeltaLinesAndColumns(BlobBuilder spBuilder, SequencePoint sequencePoint)
633private void WriteFields(TypeBuilderImpl typeBuilder, BlobBuilder fieldDataBuilder)
781BlobBuilder signature = GetMethodSignature(method, optionalParameterTypes);
782KeyValuePair<MethodInfo, BlobBuilder> pair = new(method, signature);
793private BlobBuilder GetMethodSignature(MethodInfo method, Type[]? optionalParameterTypes) =>
797private BlobBuilder GetMethodArrayMethodSignature(ArrayMethod method) => MetadataSignatureHelper.GetMethodSignature(
905private PropertyDefinitionHandle AddPropertyDefinition(PropertyBuilderImpl property, BlobBuilder signature) =>
927private FieldDefinitionHandle AddFieldDefinition(FieldBuilderImpl field, BlobBuilder fieldSignature) =>
942private MethodDefinitionHandle AddMethodDefinition(MethodBuilderImpl method, BlobBuilder methodSignature, int offset, int parameterToken) =>
957private MemberReferenceHandle AddMemberReference(string memberName, EntityHandle parent, BlobBuilder signature) =>
977private void AddMarshalling(EntityHandle parent, BlobBuilder builder) =>
System\Reflection\Emit\SignatureHelper.cs (14)
13internal static BlobBuilder GetLocalSignature(List<LocalBuilder> locals, ModuleBuilderImpl module)
15BlobBuilder localSignature = new();
27internal static BlobBuilder GetFieldSignature(Type fieldType, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers, ModuleBuilderImpl module)
29BlobBuilder fieldSignature = new();
37internal static BlobBuilder GetConstructorSignature(ParameterInfo[]? parameters, ModuleBuilderImpl module)
39BlobBuilder constructorSignature = new();
54internal static BlobBuilder GetTypeSpecificationSignature(Type type, ModuleBuilderImpl module)
56BlobBuilder typeSpecSignature = new();
62internal static BlobBuilder GetMethodSpecificationSignature(Type[] genericArguments, ModuleBuilderImpl module)
64BlobBuilder methodSpecSignature = new();
75internal static BlobBuilder GetMethodSignature(ModuleBuilderImpl module, Type[]? parameters, Type? returnType, SignatureCallingConvention convention,
79BlobBuilder methodSignature = new();
153internal static BlobBuilder GetPropertySignature(PropertyBuilderImpl property, ModuleBuilderImpl module)
155BlobBuilder propertySignature = new();
System.Reflection.Metadata (227)