108 references to WriteInt32
Microsoft.CodeAnalysis (32)
CodeGen\ILBuilder.cs (2)
932writer.WriteInt32(branchBlock.Start - switchBlockEnd); 956writer.WriteInt32(offset);
CodeGen\ILBuilderEmit.cs (2)
764this.GetCurrentWriter().WriteInt32(int32); 775this.GetCurrentWriter().WriteInt32(int32);
ConstantValue.cs (1)
786writer.WriteInt32(this.Int32Value);
EmbeddedText.cs (2)
232builder.WriteInt32(0); 272builder.WriteInt32(0);
InternalUtilities\BlobBuildingStream.cs (1)
75_builder.WriteInt32(value);
PEWriter\ManagedResource.cs (1)
55resourceWriter.WriteInt32(count);
PEWriter\MetadataWriter.cs (1)
2565resourceWriter.WriteInt32(resource.Count);
PEWriter\MetadataWriter.DynamicAnalysis.cs (4)
333writer.WriteInt32(_documentTable.Count); 334writer.WriteInt32(_methodTable.Count); 337writer.WriteInt32(sizes.GuidHeapSize); 338writer.WriteInt32(sizes.BlobHeapSize);
PEWriter\MetadataWriter.PortablePdb.cs (2)
1001builder.WriteInt32(peReader.PEHeaders.CoffHeader.TimeDateStamp); 1002builder.WriteInt32(peReader.PEHeaders.PEHeader.SizeOfImage);
PEWriter\NativeResourceWriter.cs (1)
294writer.WriteInt32(id);
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (15)
74(mh, builder) => builder.WriteInt32(MetadataTokens.GetToken(mh))); 82(mh, builder) => builder.WriteInt32(MetadataTokens.GetToken(mh))); 122builder.WriteInt32(s.Length); 127builder.WriteInt32(0); 128builder.WriteInt32(0); 133builder.WriteInt32(scope.StartOffset); 134builder.WriteInt32(scope.EndOffset - 1); 152builder.WriteInt32(infos.Count); 161builder.WriteInt32(info.Count); 162builder.WriteInt32(info.SlotIndex); 180builder.WriteInt32(infos.Count); 187builder.WriteInt32(info.Names.Length); 198builder.WriteInt32(info.SlotIndex); 199builder.WriteInt32(info.ScopeStart); 200builder.WriteInt32(info.ScopeEnd);
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
102builder.WriteInt32(_position);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\CompilationEmitTests.cs (3)
598builder.WriteInt32(0x12345678); 599builder.WriteInt32(location.PointerToRawData); 600builder.WriteInt32(location.RelativeVirtualAddress);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\InterceptorsTests.cs (1)
3598builder.WriteInt32(position);
Microsoft.CodeAnalysis.Debugging.Package (15)
CustomDebugInfoEncoder.cs (15)
74(mh, builder) => builder.WriteInt32(MetadataTokens.GetToken(mh))); 82(mh, builder) => builder.WriteInt32(MetadataTokens.GetToken(mh))); 122builder.WriteInt32(s.Length); 127builder.WriteInt32(0); 128builder.WriteInt32(0); 133builder.WriteInt32(scope.StartOffset); 134builder.WriteInt32(scope.EndOffset - 1); 152builder.WriteInt32(infos.Count); 161builder.WriteInt32(info.Count); 162builder.WriteInt32(info.SlotIndex); 180builder.WriteInt32(infos.Count); 187builder.WriteInt32(info.Names.Length); 198builder.WriteInt32(info.SlotIndex); 199builder.WriteInt32(info.ScopeStart); 200builder.WriteInt32(info.ScopeEnd);
Microsoft.CodeAnalysis.Features (15)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (15)
74(mh, builder) => builder.WriteInt32(MetadataTokens.GetToken(mh))); 82(mh, builder) => builder.WriteInt32(MetadataTokens.GetToken(mh))); 122builder.WriteInt32(s.Length); 127builder.WriteInt32(0); 128builder.WriteInt32(0); 133builder.WriteInt32(scope.StartOffset); 134builder.WriteInt32(scope.EndOffset - 1); 152builder.WriteInt32(infos.Count); 161builder.WriteInt32(info.Count); 162builder.WriteInt32(info.SlotIndex); 180builder.WriteInt32(infos.Count); 187builder.WriteInt32(info.Names.Length); 198builder.WriteInt32(info.SlotIndex); 199builder.WriteInt32(info.ScopeStart); 200builder.WriteInt32(info.ScopeEnd);
System.Reflection.Emit (1)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
405_builder.WriteInt32(arg);
System.Reflection.Metadata (40)
System\Reflection\Metadata\BlobBuilder.cs (1)
950WriteInt32(reference);
System\Reflection\Metadata\BlobWriterImpl.cs (1)
241writer.WriteInt32((int)value);
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (1)
573Builder.WriteInt32(-1);
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (1)
334dstBuilder.WriteInt32(branchDistance);
System\Reflection\Metadata\Ecma335\Encoding\ExceptionRegionEncoder.cs (6)
284Builder.WriteInt32((int)kind); 285Builder.WriteInt32(tryOffset); 286Builder.WriteInt32(tryLength); 287Builder.WriteInt32(handlerOffset); 288Builder.WriteInt32(handlerLength); 291Builder.WriteInt32(catchTokenOrOffset);
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (9)
85CodeBuilder.WriteInt32(token); 177CodeBuilder.WriteInt32(value); 236CodeBuilder.WriteInt32(slotIndex); 270CodeBuilder.WriteInt32(slotIndex); 296CodeBuilder.WriteInt32(slotIndex); 327CodeBuilder.WriteInt32(argumentIndex); 353CodeBuilder.WriteInt32(argumentIndex); 376CodeBuilder.WriteInt32(argumentIndex); 407CodeBuilder.WriteInt32(-1);
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (2)
268Builder.WriteInt32(codeSize); 269Builder.WriteInt32(localVariablesSignature.IsNil ? 0 : MetadataTokens.GetToken(localVariablesSignature));
System\Reflection\Metadata\Ecma335\MetadataBuilder.cs (3)
53builder.WriteInt32(sizes.MetadataVersionPaddedLength); 104builder.WriteInt32(offsetFromStartOfMetadata); 105builder.WriteInt32(alignedStreamSize);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (8)
1939writer.WriteInt32(encLog.Token); 1948writer.WriteInt32(encMap.Token); 1995writer.WriteInt32(methodBodyStreamRva + method.BodyOffset); 2107writer.WriteInt32(fieldLayout.Offset); 2213writer.WriteInt32(mappedFieldDataStreamRva + fieldRva.Offset); 2266writer.WriteInt32(exportedType.TypeDefId); 2350writer.WriteInt32(row.StartOffset); 2351writer.WriteInt32(row.Length);
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
110builder.WriteInt32(_entryPoint.IsNil ? 0 : MetadataTokens.GetToken(_entryPoint));
System\Reflection\Metadata\Internal\MetadataWriterUtilities.cs (1)
99writer.WriteInt32(rowCount);
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (5)
155builder.WriteInt32(age); 246builder.WriteInt32((int)entry.Type); 247builder.WriteInt32(entry.DataSize); 248builder.WriteInt32(addressOfRawData); 249builder.WriteInt32(pointerToRawData);
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (1)
47builder.WriteInt32(debugMetadata.Count);